Re:Abstract Syntax Tree for Patching Code and Assessing Code...
by chgibb on Monday June 07, 2021 @12:20PM
(#27424337)
What was your solution to writing out your parsed Lua AST?
[ Parent
| on HN ]
Re:Abstract Syntax Tree for Patching Code and Assessing Code...
by Aissen on Monday June 07, 2021 @01:04PM
(#27425002)
Just checked and I did not output lua code, but I used the AST to do custom static checks; only the js part did code output, and used babel-plugin-recast to get identical formatting.