|Re: compiler designing email@example.com (toby) (2006-03-11)|
|Re: compiler designing firstname.lastname@example.org (Jatin Bhateja) (2006-03-11)|
|Re: compiler designing email@example.com (Rafael 'Dido' Sevilla) (2006-03-15)|
|compiler designing firstname.lastname@example.org (Daniele Benegiamo) (1999-04-06)|
|From:||Daniele Benegiamo <email@example.com>|
|Date:||6 Apr 1999 22:51:16 -0400|
|Keywords:||design, question, comment|
I'm developing a compiler for a language that will be expanded in
future. So I need to make the front-end (the more "language dependent"
part of compiler) very extendable. For example, next versions of the
language will introduces new basic types and new constructs.
I produce, as back-end of the compiler, an assembly code that I will
compile in a virtual machine code.
Someone can suggest me how design the compiler core? I'm developing it
using an OO approach but I have few experience in compiler design.
Daniele "kafumanto" Benegiamo | mailto:Daniele.Benegiamo@aleph.it
[The usual advice is to use front end tools like yacc or more likely one
of its more modern descendants to build the front end automatically from
a grammar description. -John]
Return to the
Search the comp.compilers archives again.