Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save etscrivner/5463149 to your computer and use it in GitHub Desktop.
Save etscrivner/5463149 to your computer and use it in GitHub Desktop.
EricScript Hello World!
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
@NateFerrero
Copy link

Beyond beautiful, I feel like I have seen the code of angels.

@etscrivner
Copy link
Author

"The first time I saw EricScript the beauty brought me to tears" - Donald Knuth

@ftlio
Copy link

ftlio commented Apr 26, 2013

It's great! My only gripe is the use of alphanumeric characters.

@rustyrazorblade
Copy link

Line numbers increasing by prime powers of two, but the file is executed in reverse... brilliant.

@cjcenizal
Copy link

You left out <==> (less than, equal to, or greater than operator).

@tglines
Copy link

tglines commented Sep 20, 2013

Can you add support for UTF8 characters? I really need to write my code in Mongolian

@cjcenizal
Copy link

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