Re: libseed-list custom syntax for JSC?



On Tue, Jun 1, 2010 at 3:52 AM, Jonatan Liljedahl <lijon kymatica com> wrote:
> Hi everyone,
>
> this is not actually a question about seed, but since you're familiar with
> JSC's workings you might be able to answer it...
>
> how tightly couples is the syntax parser with the code generation? would it
> be possible to pass it a custom syntax tree generated with a custom parser?
> i'm looking into the possibilities to make my own language based on
> javascript but with some syntactic sugar and less typing.. :)
>
> one way would of course be to make a wrapper that outputs valid javascript
> code, but that wouldn't be as clean and nice as if it would be possible to
> use the backend directly.
>
> any thoughts on this?
>

Sounds kinda like coffe script, have you checked that out?
http://jashkenas.github.com/coffee-script/

Carlos
-- 
Linux Registered User # 386081
A menudo unas pocas horas de "Prueba y error" podrán ahorrarte minutos
de leer manuales.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]