.NET library for generating javascript?

Posted by Rune on Stack Overflow See other posts from Stack Overflow or by Rune
Published on 2010-04-22T20:19:38Z Indexed on 2010/04/22 20:23 UTC
Read the original article Hit count: 310

Filed under:
|
|

Do you know of a .NET library for generating javascript code?

I want to generate javascript code based on information in my .NET application. I would like to be able to create an AST-like datastructure (using C#) and have it turned into valid javascript. I need to be able to create functions, statements, expressions etc., so I need something more than a JSON serializer - but I guess you could think of this as a (very) generalized JSON serializer.

Do such libraries exist and if so, could you recommend any?

Thank you.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about JavaScript