Coder Social home page Coder Social logo

jgarte / orgmode-parse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ixmatus/orgmode-parse

0.0 1.0 0.0 234 KB

Attoparsec parser combinators for parsing org-mode structured text!

License: BSD 3-Clause "New" or "Revised" License

Shell 3.51% Haskell 92.34% C++ 0.92% Nix 3.23%

orgmode-parse's Introduction

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

orgmode-parse's People

Contributors

chrissound avatar imalsogreg avatar ixmatus avatar nushio3 avatar smurphy8 avatar volhovm avatar zhujinxuan avatar

Watchers

 avatar

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.