Giter VIP home page Giter VIP logo

Comments (5)

milisims avatar milisims commented on September 12, 2024

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.

kristijanhusak avatar kristijanhusak commented on September 12, 2024

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.

milisims avatar milisims commented on September 12, 2024

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.

tecosaur avatar tecosaur commented on September 12, 2024

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.

milisims avatar milisims commented on September 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.