XPML17
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
XPML17 is a programming language created by User:actuallyallama in 2017. It was designed because the creator hates XML, so he decided to make a programming language based on that.
The main implementation is available on github, and it also shows the example programs and standard functions.
<program> <main> <print literal="Hello, World!"/> </main> </program>
<program> <main arg0="int"> <while l="arg0" op=">" rlit="1"> <print var="arg0" literal=" bottles of beer on the wall, "/> <print var="arg0" literal=" bottles of beer."/> <print literal=" Take one down, pass it around, "/> <do l="arg0" op="-" rlit="1"/> <print var="arg0" literal=" bottle"/> <if l="arg0" op="!=" rlit="1"> <print literal="s"/> </if> <print literal=" of beer on the wall. "/> </while> <print literal="1 bottle of beer on the wall, 1 bottle of beer. Take one down, pass it around, We're out of beer!"/> </main> </program>