Comparison with rumdl? #216
Replies: 3 comments 2 replies
|
Thanks! Yep, looks like an interesting project, definitely. Might be good to benchmark against too. And take inspiration for lints. Hm, at a glance:
From an internals perspective, Panache is built around a custom parser based on rowan and CST trees, which is great for language server use. rumdl uses https://github.com/pulldown-cmark/pulldown-cmark, which provides, I guess, iterators over the document tree and no direct AST. My guess is that rumdl is probably going to be faster at formatting and linting from the CI, but that Panache will be smoother when it comes to language server capabilities and also probably parse large documents faster because rowan is tailored to incremental parsing. I'd be happy to hear about your experience too, if you've tried out both projects! |
|
I added some benchmarks against rumdl here: https://github.com/jolars/panache/blob/main/docs/guide/performance.qmd |
|
I've uploaded the docs with much better comparisons: https://panache.bz/guide/comparison.html and https://panache.bz/guide/performance.html (for benchmarks). I hope this makes it easier to navigate the differences. |
Uh oh!
There was an error while loading. Please reload this page.
I've been wanting a Markdown formatter for years and now there are two new tools just this year! Really exciting 😁
Just wondering what major comparisons there are to the other formatter, rumdl? https://rumdl.dev Might be a nice source of inspiration between the two projects.
All reactions