Guest User

Untitled

a guest
Jan 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. require "compiler/crystal/syntax/*"
  2.  
  3. code = <<-CODE
  4. def hello
  5. puts "hello"
  6. end
  7. CODE
  8.  
  9. ast = Crystal::Parser.parse(code)
Add Comment
Please, Sign In to add comment