qed icon indicating copy to clipboard operation
qed copied to clipboard

QED Compiled and Quick Parser

Open trans opened this issue 15 years ago • 1 comments

A potential 3.0 feature would be a compiler and quick parser. Basically the quick parser would "compile" qed docs to plain Ruby, these could then be save in a project cache directory and only updated if the file they derive from has changed. The compiled qed docs should run a good bit faster (maybe 3x faster?). However, it will be hard to get line numbers to stay in sync with the original, but maybe we can use comments in the generated code to provide line number offsets?

trans avatar Nov 18 '11 20:11 trans

QED already runs 12 demos / 119 steps in ~0.02 seconds. Parsing is not a bottleneck, so a compilation step isn't warranted. Closing as not a priority.

trans avatar Mar 30 '26 19:03 trans