Posted 27 November 2014 - 05:54 PM
Now, before all the haters hate on me, this is very very very simplified and not very far. I just got bored and decided to make my own little tiny itty bitty lanuage. I dubbed it 'Sammich'.
The syntax is very simple, here is an example file:
It translates it into lua, so yeah.
Could be useful for those just beginning with lua.
Notes:
Here is the compiler: pastebin get 8rLJHTcR sammc
The syntax is very simple, here is an example file:
print
"Hello there!"
print
"What's your name?"
read
name
store
startStr
"Hi "
concat
startStr
name
print
startStr
You should be able to make your own tokens fairly simply.It translates it into lua, so yeah.
Could be useful for those just beginning with lua.
Notes:
Spoiler
Nesting Functions Currently Does Not WorkHere is the compiler: pastebin get 8rLJHTcR sammc
Edited on 27 November 2014 - 05:38 PM