Help with semantic analyzer

John Williams <>
Wed, 11 Mar 2009 00:29:39 +0100

          From comp.compilers

Related articles
Help with semantic analyzer (John Williams) (2009-03-11)
| List of all articles for this month |

From: John Williams <>
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.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.