Wonderful! I've been working on a project that is sort of like parenscript - but much more of a straight javascript in lisp/scheme clothes with a define-syntax macro system.
https://github.com/smtlaissezfaire/loop I've been hacking on the 1x source of uglify to translate javascript into a lispy type system (and back) - but inline comments have been a cause of concern. Where is the 2.x source at this point? Cheers, Scott On Aug 28, 2012, at 12:56 PM, Mihai Călin Bazon wrote: > On Tue, Aug 28, 2012 at 5:33 AM, Scott Taylor <[email protected]> wrote: >> Very cool. What comments in the AST are you going to preserve? > > The new AST is able to store all comments, and the compressor and code > generator will be able to keep most of them. However, I suspect that > in general people will only need to store copyright notices, and those > usually start with some special marker like "/*!". It'll be easy to > add a configuration option to keep such comments, as long as they're > not in code that's going to be dropped (for example dead code, like, > code that follows a return, throw, break or continue statement). > > Cheers, > -- > Mihai Bazon, > http://mihai.bazon.net/blog > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
