Re: Need advices for creating a proprietary language

MC <mc@hack.org>
7 Mar 1998 22:32:25 -0500

          From comp.compilers

Related articles
Need advices for creating a proprietary language mike@heliovisionsproductions.fr (Mike) (1998-03-03)
Re: Need advices for creating a proprietary language laheadle@cs.uchicago.edu (Lyn A Headley) (1998-03-06)
Re: Need advices for creating a proprietary language sandy.harris@sympatico.ca (1998-03-06)
Re: Need advices for creating a proprietary language joachim.durchholz@munich.netsurf.de (Joachim Durchholz) (1998-03-07)
Re: Need advices for creating a proprietary language mc@hack.org (MC) (1998-03-07)
Re: Need advices for creating a proprietary language markh@usai.asiainfo.com (Mark Harrison) (1998-03-07)
Re: Need advices for creating a proprietary language nixon@softlab.se (Leif Nixon) (1998-03-12)
Re: Need advices for creating a proprietary language tucny@km1.fjfi.cvut.cz (Ondrej Tucny) (1998-03-12)
Re: Need advices for creating a proprietary language ddd@hplisolx.grenoble.hp.com (Dupont de Dinechin Christophe) (1998-03-15)
Re: Need advices for creating a proprietary language byte@lmn.pub.ro (Laurentiu Badea) (1998-03-18)
Re: Need advices for creating a proprietary language kochenbu@khe.siemens.de (Andreas Kochenburger) (1998-03-30)
| List of all articles for this month |

From: MC <mc@hack.org>
Newsgroups: comp.compilers
Date: 7 Mar 1998 22:32:25 -0500
Organization: Hacking and Computing Knowledge (HACK!)
References: 98-03-012
Keywords: interpreter, design

"Mike" <mike@heliovisionsproductions.fr> writes:


> For an internal (in the company I'm working for) project, I have to develop
> a special simple language.
> This language will be used to control the behavior of characters (ie:
> objects) in a game.


[...]


> What I need, is to create a compiler that transform simple text
> files in a kind of P-Code that will be interpreted in the game.


I suggest you use an existing language that you can extend with your
own primitives, written in a language of your choice. Systems that
come to mind are UNTIL, a Forth system built for exactly this purpose,
and a lot of Scheme systems like Aubrey Jaffer's SCM or George
Carrette's SIOD.


You can find UNTIL and a lot of other Forth systems at the Forth
Interest Group:


    <URL:http://www.forth.org/>


You can find something known as the Scheme Underground at:


    <URL:http://www.ai.mit.edu/projects/su/su.html>


They use yet another Scheme implementation, known as Scheme48.


I apologize for not having URL's handy for SCM and SIOD. Jaffer is
employed at MIT, however, so it's somewhere around there.


Other languages that is also rather easy to use as extension languages
are Python and Perl. See <URL:http://www.python.org/>.
--
Mikael "MC" Cardell <mc@hack.org>
--


Post a followup to this message

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