AST nodes can be pretty-printed via their Display impl and should output surface-looking javascript.
At some point string interning was introduced, which means that it now requires access to &StringInterner to be able to get a &str out of a Symbol, which effectively broke these impls (because the impls do not have access and there is no way to pass it as a parameter).
This is currently worked around by simply outputting their ID instead of the string data but this is not very useful.
function<internedid: 248>(<internedid: 249>) {return<internedid: 249>*<internedid: 249>}
AST nodes can be pretty-printed via their
Displayimpl and should output surface-looking javascript.At some point string interning was introduced, which means that it now requires access to
&StringInternerto be able to get a&strout of aSymbol, which effectively broke these impls (because the impls do not have access and there is no way to pass it as a parameter).This is currently worked around by simply outputting their ID instead of the string data but this is not very useful.