On 20 oct, 21:57, Willem Broekema <········@gmail.com> wrote:
> Javier schreef:
>
> > As the title says, I want to create my own language.
>
> Look at this excellent post by Scott McKay listing "some questions a
> prospective language designer should ask himself when starting the
> designing a programming language."http://article.gmane.org/gmane.comp.lang.lightweight/2552
>
> - Willem
Very interesting. I'm reading carefully.
The question is: any trick on doing this in Lisp (and we are on-topic
again :) ).
Javier wrote:
> The question is: any trick on doing this in Lisp (and we are on-topic
> again :) ).
What do you mean by "trick"?
You design the language pencil-on-paper; if it's very syntaxy, you'll
probably also write a grammar for it.
Then you implement the interpreter/compiler.
If it's a Lispy language, it's probably easier to implement (a
prototype) on top of an existing Lisp system since you can reuse a lot
of the existing language system.
P� Tue, 21 Oct 2008 00:05:39 +0200, skrev Javier <·······@gmail.com>:
> On 20 oct, 21:57, Willem Broekema <········@gmail.com> wrote:
>> Javier schreef:
>>
>> > As the title says, I want to create my own language.
>>
>> Look at this excellent post by Scott McKay listing "some questions a
>> prospective language designer should ask himself when starting the
>> designing a programming
>> language."http://article.gmane.org/gmane.comp.lang.lightweight/2552
>>
>> - Willem
>
> Very interesting. I'm reading carefully.
> The question is: any trick on doing this in Lisp (and we are on-topic
> again :) ).
PAIP (PAradigms in AI Programming) sais a bit about efficienecy issues and
writing compilers in Lisp.
--------------
John Thingstad