[antlr-interest] Mantra language overhaul / reimplementation

Terence Parr parrt at cs.usfca.edu
Sun Sep 23 12:22:05 PDT 2007


On Sep 22, 2007, at 5:12 PM, Sohail Somani wrote:

> On 22/09/07 04:58 PM, Terence Parr wrote:
>
> [snip]
>> Naturally a lint like program could give you some information like
>> what they static compiler would give you.
>>
>
> I think such a tool would be very instructive. Find those graduate
> students! :-)

Peter Burns, new grad student at U of San Francisco, has shown  
interest in playing around with runtime. :)

>> I'm adding a few more optimizations and hoping to get a graduate
>> student involved in building up  the runtime library. Usually the
>> library methods are simply things veneers over the Java libraries,
>> they'll help to clean them up quite a bit.  Soon I should be ready to
>> release something.   The translator is remarkably small.
>>
>> What you think of the syntax?
>>
>
> I'm hardly qualified to give my opinion but since you asked (!) the  
> list
> filters are pretty awesome and the pipes are a clever chaining  
> mechanism.

Yeah, i like it.  Mantra is sort of an "essay in code" explaining my  
take on languages du jour ruby/python.

> However, seeing as I am currently in Lisp mode, I must ask: Where are
> the macros? Think of the children!

the horror, the horror! ;)

Ter


More information about the antlr-interest mailing list