Re: Interpreter etc questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

The first thing you have to do is set down and write an exact discription
of the mimimum requirements of your language. ( SYNTAX )
Keep it SMALL to start with you can't have every feature that was in
every language that you have ever used.
Once you have your language described completely then you have to decide
how the interpeter will operate. Will it immediately excute each line
( like some basic's did ), will it convert the langaguge to an
intermediate code and then run that intermediate code or convert the
language to assembler and compile it?
If you know pascal there is a document out on the WEB by crenshaw that
is a tutorial showing how to write an interepter in pascal ( which
could easily be converted into Euphoria ) that outputs assembler code.

When you have a definition of your langauge written place it on the
listserver and I sure some will help you to go on to the next step
of building the parser, etc.
Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu