waxeye-org / waxeye

Waxeye is a parser generator based on parsing expression grammars (PEGs). It supports C, Java, JavaScript, Python, Racket, and Ruby.
https://waxeye-org.github.io/waxeye/index.html
Other
235 stars 38 forks source link

Demo improvements: shareable URLs, error highlight #83

Closed glebm closed 6 years ago

glebm commented 6 years ago
  1. Highlight parse errors in the input textarea.
  2. Store the current grammar and input in the hash fragment of the URL, so that they can be shared.

Demo: https://glebm.github.io/waxeye/demo.html

waxeye-errors-and-saving-demo

/cc @jishi9 @ddrone

orlandohill commented 6 years ago

Great ideas! Looks good, thanks!