|Wanted: advice on writing compiler in Perl! email@example.com (1996-05-14)|
|Re: Wanted: advice on writing compiler in Perl! firstname.lastname@example.org (1996-05-19)|
|Re: Wanted: advice on writing compiler in Perl! trulsson@Minsk.docs.uu.se (1996-05-21)|
|Re: Wanted: advice on writing compiler in Perl! email@example.com (1996-05-24)|
|From:||firstname.lastname@example.org (Andy Duncan)|
|Date:||14 May 1996 20:20:59 -0400|
I'm thinking of porting a compiler for a local scripting language.
The desire to have it run on MacOS/Unix/Win3.1/Win95/god knows what
else suggests rewriting it in Perl. It needs virtually no user
interface. I've used Perl 4.x for years and know it quite well, but
have little experience with Perl 5. Oh I've read the documentation,
but knowing what a construct _does_ isn't quite the same as knowing
what it's _good_ for!
If anybody has good design patterns to share for doing parsing and
tree-traversal in Perl I'd certainly appreciate a reference. Let me
learn from your mistakes -- or better yet, your successes. FWIW the
compiler as it stands right now is recursive-descent, and I don't
expect that to change.
Return to the
Search the comp.compilers archives again.