Parser for xit files in Rust (Nom) #39
sum12
started this conversation in
Show & tell
Replies: 2 comments
-
Looks like a fun exercise, thanks for sharing. Should you carry on with it at some point, please keep me posted! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, I managed to get a local wepage with https://ace.c9.io/ and browser storage. The editor flags out divergence from syntax. So that part is done 🎉 However I am not convinced that just editor with custom parser would suffice as good enough browser based todo SPA. I really like the design on the main page here xit.jotaen.net. Got any ideas about how it would/should look and behave like ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for the well documented spec and loads of examples at /syntax-guide
https://github.com/sum12/nomxit
This is (rust) library to parse xit files
The parser produces
vec
of items with checkboxes, tags, duedates and priority. The code is oragnized into modules to parse each of these with some test coverage.I wanted to build a SPA with browser storage (using rust-wasm). However that needs a lot HTML/CSS command than I currently have. So will probably stop here. Maybe someone else can pick it up.
That was fun. Thank again.
Beta Was this translation helpful? Give feedback.
All reactions