Making your JS run faster, including some interesting comments on how expensive literal parsing can be: https://v8.dev/blog/cost-of-javascript-2019
Related Posts
One interesting consequence of the rise of LLMs: there's more demand for tools that handle untrusted input.
Arbitrary HTML+JS can be safely run in a browser. Lean can check an arbitrary proof.
These work really well with an LLM that can be wrong, but sometimes gives exactly what you want. Are there other tools in this family?
ASTs typically discard comments, and that's usually what you want.
The only time (AFAICS) that preserving comments is useful is for writing a code formatter.
Could you write a formatter in terms of a list of lexemes? A CST is a non-trivial bit of code for one use case.
I've released difftastic 0.63! In this release:
* Better parsing of Elixir, LaTeX, Make, Nix, Rust and YAML
* Better detecting of text encoding, especially on Windows
* Prebuilt musl binaries, so you can run released binaries on older systems!
https://github.com/Wilfred/difftastic/releases/tag/0.63.0