0.11.2 • Published 8 days ago

org-mode-ast v0.11.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 days ago

#+TITLE: Org mode AST.

#+html: #+html: #+html: #+html: #+html: #+html: #+html: #+html: #+html: #+html: #+html: #+html:

  • Abstract syntax tree via typescript for org mode. #+html:
  • No regexp for parsing
  • Fast
  • Minimum dependencies as possible
  • Real tree structure
  • Idempotency, which means reverse operations lead to the original state
  • Why is there another org-mode parser?

Firstly, when I started building the org roam web implementation I faced one big problem, there are no parsers that could satisfy all requirements that I need

Also, I figured out the implementation a bit and found that these very complex solutions, most of the time based on regexp, are not good for parsing and readability, and also have poor performance.

This project completely ignores implementation from the emacs data tree, cause I have been developing this code for my purposes. I wanted to control every node and property which I have in my tree. Moreover, I wanted to have idempotency with converting from AST to text and vice versa. Right now, many parsers losing some characters, like newlines or extra spaces.

Of these requirements I want the following from this parser: 1. Full testing of all possible nodes. 2. Development according to the TDD principles. 3. Easy to read. 4. There are small handlers for each node type 5. The structure of the tree is very similar to the visible result (including nested folding) 6. Each element of the tree has its own range with beginning and end positions. 7. All operations with the tree, such as formatting, auto-insert, etc. must be implemented as a separate logic with its own class.

  • Progress ** Org nodes 24/24
  • Bold/italic/crossed out text
  • Lists
  • List Progress
  • Headline tags
  • List item tags
  • Headlines
  • Inline code
  • Inline quotes
  • Links
  • Src blocs
  • Latex blocks
  • Latex environment
  • Keywords
  • Html/quotes blocks
  • Verbatim
  • Fixed width value
  • Inline HTML
  • Comments
  • Properties
  • Horizontal rule
  • Date and time
  • Tags
  • Tables
  • Float dates

    Am I missing something? Please, let me know. ** Common features 0/0

  • Metadata collecting ** Middle priority

  • Paragraph
  • Planning
  • attributes
  • Dynamic blocks
  • Filetags
  • Footnote
  • Subscripts
  • Latex fragment (partial)
  • Radioa targets ** Low-priority features
  • Results block
  • Cross-links
  • Noweb support
  • Entities
  • Inline source blocks ** Autoformatting 0/3
  • Auto-align tables
  • Calculate the progress of the list
  • Insert headline by level
  • Also see
  • Contribute

#+html: #+html: #+html: #+html: #+html: #+html:

Any help is greatly appreciated.

0.11.3-beta.0

8 days ago

0.11.2

4 months ago

0.11.1

4 months ago

0.11.0

4 months ago

0.9.0

7 months ago

0.9.1

7 months ago

0.8.22

7 months ago

0.8.24

7 months ago

0.8.21

7 months ago

0.8.20

7 months ago

0.10.1

7 months ago

0.10.2

7 months ago

0.8.14

8 months ago

0.10.0

7 months ago

0.8.19

7 months ago

0.8.16

8 months ago

0.8.15

8 months ago

0.8.17

8 months ago

0.8.13

8 months ago

0.8.9

9 months ago

0.8.8

9 months ago

0.8.5

9 months ago

0.8.4

9 months ago

0.8.7

9 months ago

0.8.6

9 months ago

0.7.8

9 months ago

0.7.15

9 months ago

0.7.14

9 months ago

0.7.17

9 months ago

0.7.16

9 months ago

0.8.12

9 months ago

0.8.11

9 months ago

0.8.10

9 months ago

0.8.1

9 months ago

0.2.7

10 months ago

0.8.0

9 months ago

0.2.6

10 months ago

0.8.3

9 months ago

0.2.9

10 months ago

0.8.2

9 months ago

0.2.8

10 months ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago