Slide 42
Slide 42 text
ydah | https://speakerdeck.com/ydah/how-does-lrama-make-the-ruby-parser-grammar-goatɹɹ
❯
r
uby
- -
dump=pa
r
set
r
ee
-
e 'p "EuRuKo"'
: (snip)
# @ NODE_SCOPE (id: 3, line: 1, location: (1,0)-(1,10))
# +- nd_tbl: (empty)
# +- nd_a
r
gs:
# | (null node)
# +- nd_body:
# @ NODE_FCALL (id: 0, line: 1, location: (1,0)-(1,10))*
# +- nd_mid: :p
# +- nd_a
r
gs:
# @ NODE_LIST (id: 2, line: 1, location: (1,2)-(1,10))
# +- nd_alen: 1
# +- nd_head:
# | @ NODE_STR (id: 1, line: 1, location: (1,2)-(1,10))
# | +- nd_lit: "EuRuKo"
# +- nd_next:
# (null node)
Parser
ydah | https://speakerdeck.com/ydah/how-does-lrama-make-the-ruby-parser-grammar-goatɹɹ