gcanti / parser-ts

String parser combinators for TypeScript
https://gcanti.github.io/parser-ts/
MIT License
193 stars 19 forks source link

Can @babel/code-frame be avoided? #64

Open danielo515 opened 11 months ago

danielo515 commented 11 months ago

📖 Documentation

Hello. I noticed that most of the examples uses the run function, that in turn requires babel code-frame. Can babel code frame be avoided? My parser is meant to run in the browser and this dependency is quite beefy (and I'm not even sure it can run properly)