rubyworks / qed

Quality Ensured Documentation
http://rubyworks.github.com/qed
Other
31 stars 5 forks source link

QED Compiled and Quick Parser #18

Open trans opened 13 years ago

trans commented 13 years ago

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?