Open NTBBloodbath opened 2 months ago
NB: README will also need to be updated to reflect those changes once made.
Update: I'm currently working on a still private library called rust-norg-html
(probably gonna rename it to rust-norg-converter
) based on the rust-norg
parser. The library is currently on hold until a non-flat NorgAST
is produced in the rust-norg
library so I can e.g. make proper HTML lists with nested elements.
Update: the conversion library is currently embedded in the code and working, once it is much more complete it will be separated into a library that will be added as a dependency to the project.
This feature request proposes migrating Norgolith's Norg parsing functionality from a combination of tree-sitter and norg-pandoc to the rust-norg library.
Motivation
The current approach using
tree-sitter
offers speed benefits but might have limitations in error recovery and accuracy.rust-norg
offers several advantages:chumsky
for robust parsing, potentially leading to improved error handling and more accurate Norg content representation than usingpandoc
for converting the Norg documents.Potential Benefits