|Help with semantic analyzer firstname.lastname@example.org (John Williams) (2009-03-11)|
|From:||John Williams <email@example.com>|
|Date:||Wed, 11 Mar 2009 00:29:39 +0100|
|Posted-Date:||11 Mar 2009 19:04:11 EDT|
I've written a grammar for SLK parser generator and now I need to add
some semantic checks. I know that I should add some semantic actions
to my grammar, but I don't see very clear how to implement them. Do I
need a semantic stack, or this is only needed for syntax-directed
translation and intermediate code generation?
If you have worked with SLK parser generator and have a brief example,
I would be grateful.
Return to the
Search the comp.compilers archives again.