Skip to content

Instantly share code, notes, and snippets.

@towerofnix
Created February 21, 2016 02:38
Show Gist options
  • Save towerofnix/8070786fe42c2a45d7a8 to your computer and use it in GitHub Desktop.
Save towerofnix/8070786fe42c2a45d7a8 to your computer and use it in GitHub Desktop.
[img]http://i.cubeupload.com/yeITn7.png[/img]
[url=http://liam4.github.io/programming-language-thing/codemirror/]Use it online[/url] [b]if on Firefox Nightly[/b] (or some other great ES6+ browser)
[url=https://github.com/liam4/programming-language-thing]Learn more[/url] about [big]P[/big]rogramming [big]L[/big]anguage [big]T[/big]hing!
Please give input :P
It's really, really in-development. Expect lots to change. :)
[img]http://i.cubeupload.com/nmwRTL.gif[/img]
[code]
# This is a comment
print('Hello')
# Set a variable
my_var => 15
print(my_var) # 15
# Change a variable (doesn't break past references)
my_var -> add(my_var 12)
print(my_var) # 27
my_fn => fn() {
print('Hello world!')
}
my_fn() # Hello world!
add_three => fn(x) {
^ add(
[/code]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment