Tree-sitter grammar for org-mode

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • tree-sitter-org

    Org grammar for tree-sitter

  • org-parser

    org-parser is a parser for the Org mode markup language for Emacs.

  • From the readme:

    > Org grammar for tree-sitter. It is not meant to implement emacs' orgmode parser, but to implement a grammar that can usefully parse org files to be used in neovim and any library that uses tree-sitter parsers.

    This grammar is in active development and is being used by nvim-orgmode/orgmode [1], a org-mode neovim plugin.

    Some additional resources some might find useful:

    * Org Syntax - https://orgmode.org/worg/dev/org-syntax.html

    * EBNF grammar - https://github.com/200ok-ch/org-parser/blob/master/resources...

    [1] https://github.com/nvim-orgmode/orgmode

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • org-roam

    Rudimentary Roam replica with Org-mode

  • > I find being able to open + edit notes quickly helps my thought process more,

    I use org with roam in Doom Emacs. The org roam notes directory is backed by git.

    https://www.orgroam.com/

    It allows for using a Zettelkasten style approach to note taking inside of Emacs. The basic idea is small quick notes that are cross referenced, indexed, and searchable.

    Doom Emacs is like Spacemacs were access to commands are activated through hitting the space bar while in Evil's command mode.

    This way if you stumble across a link or something notable or get an idea you want to hit later it takes about 15-20 seconds to generate a new note card, link it to other ones, and then get back to whatever you were doing before you got distracted.

    And then later you can go back and refine and expand on the idea with more note cards and have something you can easily use for a future reference.

    Nvim has it's own Zettelkasten-style note taking plugins, of course. But what sets Org apart, IMO, is just how flexible and FAST it is as a text-based UI for writing documents. Makes using MarkDown seem plodding in comparison.

    My favorite is, though, reStructuredText. RST was a work of genius.

    But the clincher for Org, when compared to RST, ends up being Org-babel. The ability to embed multiple formats into a single document, be able to quickly render those other documents to separate files, and being able to execute source code and maintain state between multiple src segments is crazy effective. Completely awesome if you want to get into literate programming.

    This turns your personal text-based notebook into having capabilities akin to Wolfwam or Jupyter Notebooks. Can even turn your indexed notes into an interface for Jupyter or Wolfram Mathmatica if you really want to.

    It's pretty nuts.

    Having something like that for NeoVim would be extremely nice.

  • laundry

    Org mode for Racket

  • We're in the middle of updating the org syntax document. I've been preoccupied and haven't gotten a chance to take another pass, but there should be a new version out in the next month or so. See also [0].

    0. https://github.com/tgbugs/laundry/tree/master/laundry/gramma...

  • orgdown

  • orgajs

    parse org-mode content into AST

  • Thanks @preek. I mentioned you guys in [3] above. BTW I'm actually using this parser: https://github.com/orgapp/orgajs for my product (https://braintool.org), so there are other choices. I guess the key thing is a single well defined grammar.

    Is GDrive syncing working in Organice these days? I've wanted to demonstrate interop with BrainTool (which syncs to GDrive files) but last I checked there was some bug.

  • tft-interop

    data interoperability across tools for thought

  • I agree! I'm the creator of phonetonote [1], which tries to integrate with different tools for thought. I just started a `tft-interop` repo [2] with similar goals. We're just getting started thinking through how to make the TFT structures (edn mostly) more interoperable. I'm not personally an org-mode user, but agree it could be a good format to parse these trees in and out of. I've mostly been thinking about OPML so far. Feel free to hop into the discussions where we're sorting through these ideas — https://github.com/phonetonote/tft-interop/discussions/2

    [1] https://phonetonote.com

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • org-diary

    Easily maintain a simple work-log / journal with the use of org-mode

  • I use a single file, with standard headers, with a new entry for each day. I use `org-diary` to manage that:

    https://github.com/skx/org-diary

    Every morning I run `org-diary-new-entry` which inserts a new block. At the end of the day I commit this to a git repository and push it away for safety. I've got a work-log/journal going back a couple of years at this point.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts