Skip to content

Conversation

Andrew-Dunn
Copy link

This pull request adds support for generating parsers from a grammar provided
in JSON format rather than just .jison format.

Since a .jison grammar will never be valid JSON value, the plugin now
checks if the input is JSON parseable, and if it is, treats it as JSON.
Otherwise it will revert to its previous behaviour.

I also updated the dependencies.

Andrew Dunn added 3 commits May 4, 2016 01:35
This commit added support for generating parsers from a grammar provided
in JSON format rather than just .jison format.

Since a .jison grammar will never be valid JSON value, the plugin now
checks if the input is JSON parseable, and if it is, treats it as JSON.
Otherwise it will revert to its previous behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant