3 ms·
> The thing is, Closer was created for use on CodeCombat, which expects the parse tree to be in the standard Mozilla AST format. As far as I know, none of the p
by mkremins 12y ago
> The thing is, Closer was created for use on CodeCombat, which expects the parse tree to be in the standard Mozilla AST format. As far as I know, none of the projects you mention satisfy this requirement.
I don't know anything about Outlet, but the Wisp compiler actually makes use of Escodegen [1] – which expects input to be provided in the Mozilla AST format – to generate JavaScript. You can peek at writer.wisp [2] in the compiler codebase to see how it's done.
[1] https://github.com/Constellation/escodegen https://github.com/Constellation/escodegen
[2] https://github.com/Gozala/wisp/blob/master/src/backend/escodegen/writer.wisp https://github.com/Gozala/wisp/blob/master/src/backend/escod...