News for hackers. Stuff that matters.
Re:GNU Pascal Compiler by badsectoracula on Thursday April 27, 2023 @10:15AM (#35728416)
FWIW Free Pascal's FCL has the fcl-passrc package that provides units for scanning FPC code, building syntax trees, resolving identifier references and writing/formatting source code.

Free Pascal comes with pas2js which "transpiles" Free Pascal code to Java Script and is written using fcl-passrc so it should have enough functionality to parse most FPC code.

There are no comments on this comment yet.