incremental compilation?
See original GitHub issueA lot of use case include live recompilation. Would be nice to have “incremental compilation” mode, with api like .compileIncrementally(context, patch)
. Should not be 100% accurate - for example just handling alphanum insert in paragraphs and headers would cover most of the cases, and do a full recompile fallback otherwise
Issue Analytics
- State:
- Created 9 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Incremental compiler
An incremental compiler is a kind of incremental computation applied to the field of compilation. Quite naturally, whereas ordinary compilers make a ...
Read more >Incremental Compilation
Incremental compilation is a way of exploiting the fact that little changes between compiles during the regular programming workflow: Many, ...
Read more >Incremental Compiler in Compiler Design
Incremental Compiler is a compiler that generates code for a statement, or group of statements, which is independent of the code generated ...
Read more >A New Approach to Incremental Compilation in Kotlin
Another way to make compilation faster is to recompile only affected files. This concept is known as incremental compilation. Let's say that the ......
Read more >Incremental Compilation, the Java Library Plugin, and ...
This post explains in details what we fixed, improved and added. We will in particular focus on: Extremely fast incremental builds; The end...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sidorares i don’t know is it actual for you or not, here is repo to design new lossless markdown AST with sourcemaps etc https://github.com/markdown-it/markdown-ast-spec.
If you wish - add your comments / issues, to make sure that new design will be convenient for missed use cases.
I use Vue to build vdom and parse HTML correctly most of the time. I‘m still finding a way to compile Markdown incrementally. Render big Markdown content took much time when typing on editor after all.
https://github.com/purocean/yn/blob/develop/src/renderer/plugins/markdown-render-vnode.ts https://github.com/purocean/yn/blob/develop/src/renderer/plugins/markdown-html.ts