Skip to content

Instantly share code, notes, and snippets.

@sourcevault
Created September 14, 2018 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sourcevault/141afb00ac8b0917b58d1c6550594da4 to your computer and use it in GitHub Desktop.
Save sourcevault/141afb00ac8b0917b58d1c6550594da4 to your computer and use it in GitHub Desktop.
markdown comment
@sourcevault
Copy link
Author

hello = 

  (a,b) ->
    print 'hello world'
    1 + 2

hello = \n  (a,b) ->\n    print 'hello world'\n    (1 + 2)\n

Tokens

[var hello]

[assign]

[indent 2]

[function start a b]

[indent 4]

[call print 'hello world']

[indent 4]

[call add 1 2]
 
[indent 2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment