bekroogle / pegedit

A browser-based tool for editing PEG.js grammars.
http://pegedit.cspotrun.org
MIT License
0 stars 1 forks source link

Auto-parse is too slow #48

Closed bekroogle closed 9 years ago

bekroogle commented 9 years ago

At a certain point, auto parsing makes typing your source string rather laggy. I don't know if it's because the exceptions are drawn on the page in a foundation alert or whether it's because of redrawing the d3 tree, but something needs to be done.

Easy method: add an option to disable auto-parse. Other: consider making parse run in the background so it doesn't block UX.

bekroogle commented 9 years ago

I've removed auto-parsing from the UI. It still has artifacts in the code-base which should be considered in any future refactoring/cleanup effort.