Last active
December 16, 2015 16:29
-
-
Save etscrivner/5463149 to your computer and use it in GitHub Desktop.
EricScript Hello World!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2......jump.to.line.number.2048......................................................... | |
8......print_to_console.my.var.is.prty.lngly.named.but.................................. | |
32.........return.value.of.type.(*integer*).function.main(array.of.arguments):.......... | |
128....var.this.variable.has.some.length.but.is.luckily.longer.and.different.enough.<==:.1 | |
2048...jump.to.line.number.32........................................................... | |
8192...var.my.variable.is.pretty.longly.named.but.<==:.<<Hello\\.World!\\.newline>>..... | |
131072.from.current_directory.import.C://usr/local/lib/ericscript0\\\.1/standard_library.print_to_console |
It's great! My only gripe is the use of alphanumeric characters.
Line numbers increasing by prime powers of two, but the file is executed in reverse... brilliant.
You left out <==> (less than, equal to, or greater than operator).
Can you add support for UTF8 characters? I really need to write my code in Mongolian
Or how about function call-me's, as opposed to function calls? functionName<-() results in functionName calling the function that encloses the call-me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"The first time I saw EricScript the beauty brought me to tears" - Donald Knuth