|Creating my own language firstname.lastname@example.org (2000-09-21)|
|Re: Creating my own language email@example.com (2000-09-25)|
|Re: Creating my own language firstname.lastname@example.org (Kevin Szabo) (2000-10-08)|
|From:||"Kevin Szabo" <email@example.com>|
|Date:||8 Oct 2000 22:29:41 -0400|
|Organization:||Nortel Networks (Ottawa, Ontario, Canada)|
>Want to create my own language (for learning sake) using C++ and
>assembly. any recommeded resources? is this the right place to ask such
>a question? asked in the c++ group, they said i should ask here.
>tnx in advance.
If you just want to see how compilers/interpreters work, and how
to use lex/yacc, I think the chapter on 'program development'
in 'The Unix Programming Environment' by Kernighan and Pike
is excellent. They take you step by step through the effort
of initially building a calculator, one with variables, then
one which generates code and immeidately executes it, and finally
one that generates code and is programmable. The output is
a threaded stack oriented machine (and interpreted) but it
is small enough to be understood and quite useful.
Return to the
Search the comp.compilers archives again.