Hacker News new | ask | show | jobs
by BruceM 4493 days ago
IntelliJ is pretty nice on this point. You write a PEG-style parser and get a full AST. It is a lot of work, but the payoff is pretty nice and they have a lot of solid tooling to help you out.