Skip to content

ixmatus/orgmode-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2cc74f5 · Jul 23, 2022
Jun 3, 2018
Jul 23, 2022
Oct 9, 2019
Jan 7, 2017
Jul 31, 2018
Nov 22, 2018
Oct 31, 2018
Apr 12, 2015
Dec 27, 2018
Apr 7, 2015
Oct 11, 2018
Feb 21, 2022
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Oct 9, 2019

Repository files navigation

Welcome!

Hackage Version Travis CI Status

orgmode-parse provides a top-level parser and collection of attoparsec parser combinators for org-mode structured text.

You can find the package on Hackage.

What's Finished

We have built attoparsec parsers for parsing org-mode document structures and meta-data. Here is a list of all the syntax features that have a complete parsing implementation and not:

  • Headlines and Sections
  • Affiliated Keywords
  • [-] Greater Elements
    • Greater Blocks
    • Drawers
    • Dynamic Blocks
    • Footnote Definitions
    • Inlinetasks
    • Plain Lists and Items
      • Unordered lists
      • Numbered lists
      • Checkbox modified lists
    • Property Drawers
    • Tables
  • Elements
    • Babel Cell
    • Blocks
    • Clock, Diary Sexp and Planning
      • Scheduled and deadline timestamps (timestamp, range, duration, periodicity)
        • Active and inactive timestamps
      • Clock timestamps
    • Comments
    • Fixed Width Areas
    • Horizontal Rules
    • Keywords
    • LaTeX Environments
    • Node Properties
    • Paragraphs
    • Table Rows
  • Objects
    • [-] Entities and LaTeX Fragments
    • Export Snippets
    • Footnote References
    • Inline Babel Calls and Source Blocks
    • Line Breaks (\)
    • Links
    • Macros
    • Targets and Radio Targets
    • Statistics Cookies
    • Table Cells
    • [-] Timestamps
    • Text Markup
      • Bold
      • Italic
      • Strikethrough
      • Underline
      • Superscript
      • Subscript
      • Code / monospaced
  • Position Annotated AST

Building

There are a few ways to build this library if you're developing a patch:

  • stack build && stack test, and
  • nix-build --no-out-link --attr orgmode-parse release.nix

You can also use the nix-shell provided cabal environment for incremental development:

$ nix-shell
$ cabal build

Projects that use this package:

https://github.com/volhovm/orgstat

License

BSD3 Open Source Software License

About

Attoparsec parser combinators for parsing org-mode structured text!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published