4 ms·
These are great points. I'll try to address all of them. Multi-pass: We also do multiple passes, but thanks to comemo we can reuse most of the stuff from previ
by laurmaedje 4y ago
These are great points. I'll try to address all of them.
Multi-pass: We also do multiple passes, but thanks to comemo we can reuse most of the stuff from previous passes. The change tracking detects if a dependency on some other part of the document requires updating. This doesn't require file writing and reading; Typst has a built-in user-facing interface for these kinds of tasks.
Data structures: Typst has typical data types you'd expect from a modern programming language and also typical imperative control flow like if, for, and while. What's a bit non-standard is that Typst enforces that all user-defined functions are pure (else we'd break incremental).
Open Source: We do plan to open source the Typst compiler and CLI! Just not the collaborative web app.
- necovek 4y agoThanks, that sounds great! As long as the compiler and CLI are open source, I'd be happy to try out the web app at some point too!