Related articles |
---|
Help with semantic analyzer johnwilliams40@live.com (John Williams) (2009-03-11) |
From: | John Williams <johnwilliams40@live.com> |
Newsgroups: | comp.compilers |
Date: | Wed, 11 Mar 2009 00:29:39 +0100 |
Organization: | Compilers Central |
Keywords: | question |
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
comp.compilers page.
Search the
comp.compilers archives again.