Hi, After a decode or so I've begun to program in C again. I've writing a parser, and Lemon seems like the right tool for the job. SQLite itself is an excellent read when starting with lemon. However, a few questions remain unanswered :
- How do variables get initialized ? For example : %type assigments { struct llist *} assignments(A) ::= assignments assignment(B). { /* ..... */ } assignments(A) ::= assignment(B). {/* .... */ } Can I assume that A, when the rule is executed the first time, is NULL ? - What is the meaning of @ in an assignment ? From the sqlite parse.y source : transtype(A) ::= DEFERRED(X). {A = @X;} Thanx in advance for all the hints :) Regards, Igmar _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users