Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace parsing with existing library #1

Open
PragTob opened this issue Nov 14, 2014 · 0 comments
Open

Replace parsing with existing library #1

PragTob opened this issue Nov 14, 2014 · 0 comments

Comments

@PragTob
Copy link
Member

PragTob commented Nov 14, 2014

Citing @jasonrclark from over at shoes/shoes4#941

While we've extracted shoes-highlighter to its own gem, which is nice, it would be awesome to replace the Ruby syntax parsing with something someone else maintains which is likely to be more complete.

Potential resources to consider in doing this:

http://whitequark.org/blog/2012/10/02/parsing-ruby/
https://github.com/coatl/rubylexer
https://github.com/jneen/rouge
https://github.com/seattlerb/oedipus_lex

(Originally discussed on shoes/shoes4#257)

It was said that it might be easy to add a formatter for rouge for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant