fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.14k stars 729 forks source link

[feature request] custom parser #667

Open loynoir opened 2 years ago

loynoir commented 2 years ago

Any way to use custom parser?

button.onclick = async function () {
  astExplorer.parser = (await import('https://USER/PARSER/URL')).default
}
fkling commented 1 year ago

Not yet, but it's something I working towards to.

Kreijstal commented 1 year ago

yeah, make the API open, this would be BIG! since you could make a parser generator like YACC or BISON but on javascript