question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

incremental compilation?

See original GitHub issue

A 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:closed
  • Created 9 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
puzrincommented, Jan 11, 2017

@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.

0reactions
puroceancommented, Nov 26, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found