ajeetdsouza / loxcraft

Language tooling for the Lox programming language.
https://ajeetdsouza.github.io/loxcraft/
MIT License
274 stars 11 forks source link

Feature request: debug support #19

Open astrolemonade opened 1 year ago

astrolemonade commented 1 year ago

It would be nice to have at least basic debug support for the language. I know it's an advanced topic but I think there is so much to learn from it.

mingodad commented 1 year ago

Not exactly debug support but using the grammar from this repository I've adapted it to show a parser tree and also can be used to develop/debug/extend the grammar here https://mingodad.github.io/parsertl-playground/playground/ (select Lox parser in Examples and then click Parse).

ajeetdsouza commented 9 months ago

@astrolemonade building an implementation of the Debug Adapter Protocol on loxcraft should be quite rewarding. I'm a bit caught up with work at the moment, but if you'd like to take this up, I could help you with it.