[EMAIL PROTECTED] wrote: >Thanks! It's basically a very python like language, but where all >indentation structures call functions that return the representative >AST, instead of being hard coded (I guess it's a bit like lisp macros, >without the separate expansion stage). This makes for a very small >grammar, and easy addition of new functionality (i.e the "with" >statement can be implemented in the language itself) > >
Sounds like something I have been thinking of (except yours is taken to the next level). I was thinking of using something like ANTLR as the parser and then doing an AST transform to generate a valid Python AST - allowing me to experiment with adding new language features as syntactic sugar. Your idea is better of course. :-) Michael http://www.manning.com/foord >Cheers, >Ben > >-----Original Message----- >From: Michael Foord [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman >Sent: 13 November 2007 14:08 >To: [EMAIL PROTECTED]; Discussion of IronPython >Subject: Re: [IronPython] FW: FW: DLR question > >IIRC Martin Maly recommended this list for DLR questions. It is >certainly populated with several of those involved in the >implementation... > >Can't help you with your specific question though (although it sounds >very interesting). > >Michael >http://www.manning.com/foord > > >[EMAIL PROTECTED] wrote: > > > >>>From the silence I'll assume it is :) >> >>I'm prototyping a new language (currently implemented in Python) and I >> >> >am looking at the DLR to see if it can help make it speedy. However my >language has the property that it can mutate it's own AST at any point, >and from reading the IronPython and ToyScript sources it looks like the >AST of the "source" program needs to be static. Is there anything I can >make use of in the DLR here, or should I be resigned to implementing >more than I'd hoped myself? > > >>Cheers, >>Ben >> >> >>________________________________________ >>From: [EMAIL PROTECTED] >> >> >[mailto:[EMAIL PROTECTED] On Behalf Of >[EMAIL PROTECTED] > > >>Sent: 13 November 2007 07:53 >>To: users@lists.ironpython.com >>Subject: [IronPython] FW: DLR question >> >>Hi there! >> >>Is this the correct forum for questions about the DLR, or is there a >> >> >separate DLR mailing list somewhere? > > >>Cheers, >>Ben >> >>Ben Young - Senior Software Engineer >>SunGard - Enterprise House, Vision Park, Histon, Cambridge, CB24 9ZR >>Tel +44 1223 266042 - Main +44 1223 266100 - http://www.sungard.com/ >> >>CONFIDENTIALITY: This email (including any attachments) may contain >> >> >confidential, proprietary and privileged information, and unauthorized >disclosure or use is prohibited. If you received this email in error, >please notify the sender and delete this email from your system. Thank >you. > > >>_______________________________________________ >>Users mailing list >>Users@lists.ironpython.com >>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> >> > > > > > > _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com