Re: How Do I Write My Own Scripting Interpreter?

"Warwick Molloy" <>
23 Jul 2001 23:24:36 -0400

          From comp.compilers

Related articles
Re: How Do I Write My Own Scripting Interpreter? (Warwick Molloy) (2001-07-23)
Re: How Do I Write My Own Scripting Interpreter? (Alexander Baranovsky) (2001-07-27)
| List of all articles for this month |

From: "Warwick Molloy" <>
Newsgroups: comp.compilers
Date: 23 Jul 2001 23:24:36 -0400
Organization: @Home Network
References: <WUr67.5334$>
Keywords: interpreter
Posted-Date: 23 Jul 2001 23:24:36 EDT

Hi Mike,

In article <WUr67.5334$>, "Mike"
<> wrote:

> I have written a new object oriented scripting language specification.
> - How do I write my own interpreter for it?

That might depend on the tools available for your platform. For
instance you might try lex/yacc on a UNIX(like) system or some other
parser generator. I just saw an announcement for CoCo/R on this news
group. You might try that :-)

Another thought, if you need an OO scripting language, have you looked
at Python? ( You might also try prototyping your
parser in Python. Python makes many things easy and is available on
many platforms... but then you might also try Perl etc. Whatever gets
you going.

> - Is it possible to publish the specification with a public GNU license,
> and get other hobbyists to write the interpreters for it?

Yup. Of course. You need some kind of host for it. Why not have a
look at You could create a project there...
This way, you can begin a community of users for your language.

> - If I can publish it, where would you recommend I post it? The >
international ACM organization? ANSI? ECMA?

Whoa there... publish or standardise? Standardisation is probably
only worth chasing once you've built up a community of users or at
least some case studies. I recommend you implement it first before
worrying about this too much...

Good Luck!
[Similar questions have come up several times in recent months, and
people have suggested lots and lots of freely available scripting
languages including TCL, Python, Lua, and even forth. Does the world
really need yet another? -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.