Comments (2)
@epage what is the advantage of winnow
over nom
? I'll need to see what is breaking when it comes to updating the nom
dependency as well.
Is there a migration guide for using winnow
? I have no particular reason why I'm using one parser combinator library over another, so if either is an easier path to pursue, I'll go in that direction.
from vimwiki-rs.
what is the advantage of winnow over nom?
https://epage.github.io/blog/2023/02/winnow-toml-edit-combine-nom/#winnow discusses the differences from nom
(and the rest covers motivation). Currently, the main advantage is readability improvements but I'm working towards improving handling and performance of more complex text processing cases, like error recovery.
Is there a migration guide for using winnow? I have no particular reason why I'm using one parser combinator library over another, so if either is an easier path to pursue, I'll go in that direction.
- Upgrade to nom v7
- Switch the dependency and imports to winnow v0.3 (very few changes needed, if any)
- Resolve deprecations
- Upgrade to winnow 0.4
from vimwiki-rs.
Related Issues (20)
- "failed to write cache: key must be a string" on comments containing "::" HOT 5
- Write tests to validate that all of vimwiki elements can be converted to json
- Support nested blockquotes
- Support PDF output HOT 1
- Support epub output
- Add to_borrowed and into_owned for ParseError<'a> HOT 1
- Move majority of vimwiki-cli to lib.rs instead of main.rs
- Add prev & next sibling edges to ents
- Add root edge to ents
- Support output to vimwiki
- Support field setters on wasm
- Make table iter structs top-level exports
- Support IntoChildren for ref and mut ref HOT 1
- List items with embedded line breaks render with no space between words on either side of newline HOT 3
- Rewrite text parser HOT 1
- Write vimwiki-cli readme
- Write tests for Cells and IntoCells table iterators HOT 1
- Standalone in-page anchor links point to index.html rather than current page on conversion HOT 2
- vimwiki-server does not build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimwiki-rs.