These are chat archives for opal/opal

28th
Jan 2016
Ilya Bylich
@iliabylich
Jan 28 2016 13:34
@elia Is there any documentation for nodes? Or where can I read what is @level in node and what does @level = :recv stand for? :smile:
Elia Schito
@elia
Jan 28 2016 13:48
heh :)
disclaimer: not a compilers expert
although, @level is the kind of syntax you're dealing with, :recv stands quite surely for "receiver" and I can gues it's the left hand side of an assignment, likely foo in foo = :bar
I usually experiment a lot with opal --sexp -e 'foo = :bar' to see how a piece of code is transalted into nodes
@iliabylich ^ hope it helps, also see some notes on the grammar in HACKING.md
Ilya Bylich
@iliabylich
Jan 28 2016 13:57
Yeah, already found it experimentally :smile:
Elia Schito
@elia
Jan 28 2016 13:58
@iliabylich add explanatory comments at will to help all the other uninitiated if you can :)