klorenz / atom-regex-railroad-diagrams

display regex as railroad diagram, if cursor moves to it
MIT License
250 stars 31 forks source link

Usable outside Atom? #24

Closed julien-f closed 9 years ago

julien-f commented 9 years ago

I'm wondering if this can be used without Atom.

If not, it may be interesting to move the core code out in its own JS library which generates SVG code from a regexp.

klorenz commented 9 years ago

Hi Julien, this package is already using the railroad diagram generator https://github.com/klorenz/railroad-diagrams forked from tabatkins :)

best regards, Kiwi

julien-f commented 9 years ago

Yes I know but one would still have to transform the regex's abstract tree to railroad diagram which you already did in this package.