Usage sample or tutorial for language-javascript?

I am thinking of using Haskell to write a specialized symbol renamer for JavaScript. (Side note: Not sure whether I’m far enough into my Haskell learning journey for this non-trivial task, but at least it would be a great project to get deeper into Haskell…)

I guess the parser library language-javascript is a sensible starting point for this. Does anybody know of usage samples or tutorials for the language-javascript package?

Thanks heaps for pointers!

1 Like

I know that they use it in purescript, and that it may be a bit outdated and not actively maintained (last commit dates back to 2020).

1 Like

Yes, I saw that it is probably not too well maintained.

Does anybody has another (package) suggestion to parse JavaScript for identifiers/symbols?