[plug] Writing a language?
Trevor Phillips
T.Phillips at murdoch.edu.au
Wed Jun 25 10:32:45 WST 2003
On Monday 16 June 2003 09:36, Simon Scott wrote:
>
> Just wondering if anyone here has any experience in writing languages?
I have, although I started with no training in compiler design, which was fun.
^_^
> The main difficulty I would have I imagine would be parsing and checking
> syntax.... Are there any examples/libraries for parsing freeform text?
My language uses an XML-style structure, so the actual text parsing of the
source can be done by third-party libraries for that sort of stuff.
Oh, and yes, I wrote my language in Perl (a scary concept to be sure), so when
I do have to parse text myself (and the original version DID parse the code
itself), you have the power of regexp's at hand.
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - T.Phillips at murdoch.edu.au :
| IT Services - Murdoch University |
>--------------------------------------------------------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
More information about the plug
mailing list