Comments (5)
I need to introduce a conflict for matching \
, (latex fragments, I believe). This should be an easy fix, but it falls into the markdown parsing that I want to export to queries + a possible tree-sitter-org-markdown
parser that we'd discussed. I have time set aside next week to do some heavy lifting on all that.
from tree-sitter-org.
Awesome, thanks.
I'm not sure if it's possible, but it would be great to have parsing a bit more "loose". For example, an Emacs orgmode user tested some of his blog posts and got some parsing errors from random text in paragraphs. I'm not sure if this can be solved. Here's the link nvim-orgmode/orgmode#159
from tree-sitter-org.
Yeah this is exactly the kind of stuff I want to clean up, thank you for the reference. Removing the in-paragraph parsing (or exporting to a secondary parser) should solve a lot of this.
from tree-sitter-org.
I don't know if this is of any help, but I've recently (a few days ago) started writing an Org parser for Julia. It's a work in progress, but seems to be working so far using a hybrid recursive decent / linear parsing model. A few caveats do apply, for instance, I have no prior experience with writing parsers, and it's using a bunch of regex.
from tree-sitter-org.
This issue will be handled by queries in the next big update (see #13 and/or the markup-redo branch).
from tree-sitter-org.
Related Issues (20)
- Latex errors out HOT 1
- Hyperlink after headline causes error HOT 1
- Add tree-sitter-org to nvim-treesitter's list of supported languages? HOT 1
- Activity/Discussion on HackerNews posting HOT 1
- Support for markup: `*bold*`, `/italic/`, `_underlined_`, `=verbatim=`, `~code~` and `+strike-through+` HOT 1
- Hyphen in table cell and empty lines between parent/child line items causes error HOT 2
- LaTeX support HOT 3
- Links not recognized HOT 5
- Fixed width areas elements HOT 1
- Empty check boxes are treated as 3 separate expression unlike all other checkboxes HOT 9
- error when expr appears at end of dynamic_block
- Sexp diary entries support HOT 7
- Publish to crates.io HOT 5
- Not compiling via Neovim HOT 4
- Fix issue with latest tree-sitter HOT 1
- Plan not parsed when line starts with tab HOT 4
- Build fails with no such file or directory, uv_cwd
- Paragraph starting with LateX inline math causes parsing to fail
- Incomplete date range causes Error HOT 3
- Unexpected switch to drawer content
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 tree-sitter-org.