This is the mail archive of the guile@cygnus.com mailing list for the Guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes: > Instead of writing > > ... > exp: NUM { $$ = $1; } > | exp '+' exp { $$ = $1 + $3; } > ; > ... > > you write > > ... > (exp ((NUM) (lambda (x) x)) > ((exp #\+ exp) (lambda (x y) (+ x y)))) (This should of course be (lambda (x y z) (+ x z)).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |