[MLton-user] Separable front end?

Stephen Weeks sweeks at sweeks.com
Sun Feb 25 16:52:03 PST 2007


> MLton certainly produces abstract syntax trees as part of compilation
> (/mlton/ast/* files in the source code distribution).  But, it isn't
> really a separate module.

I'm not sure what you mean by "not a separate module".  Ast (ast/*)
and the pass that produces it (front-end/front-end.sig) are separate
modules.  It seems like it would be easy enough to hack something in
that spits out scheme (or whatever) from the Ast, just after the front
end produces it.



More information about the MLton-user mailing list