Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » Semantic check
Semantic check [message #571561] Tue, 24 June 2008 18:45
Eclipse UserFriend
Originally posted by:

Hi IMP forum,

We are about to create an IDE for a DSL. The requirements pretty much forces
us to implement all the front-end parts of the compiler stack.
For the lexer and parser part we are currently looking into LPG (and IMP),
but how should be handle the semantic checks? I can see
two options; The first is to add some extra validation code that gets
geneated into the genarated AST and the other one is to perform
the analysis of the AST. I really would like to get a hint on which method
to use, and also some sample code.

Any ideas or help in this question appreciated.


Previous Topic:Diagnose parser
Next Topic:Problems with lpg.runtime and Eclipse 3.4?
Goto Forum:

Current Time: Tue Nov 13 16:31:33 GMT 2018

Powered by FUDForum. Page generated in 0.01424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top