This is a work-in-progress Org-Mode parser for Common Lisp. The goal is to eventually be compliant with the core markup functionality specified by Orgdown, and then also whatever additional features I personally use Org-Mode for (especially the metadata features like tags). This makes extensive use of CLOS to return the AST of an Org-Mode document as a standard object so that you can do whatever you want with it.
I don’t recommend even trying to use this right now or looking at the code for that matter.
There are two Org-Mode parsers for CL currently. Both are incomplete and for different reasons it seemed more productive to just implement one myself instead of trying to figure out how to finish the other two. This doesn’t use any fancy parsing techniques, but I don’t personally care if it’s the fastest thing ever as long as it works since GNU Emacs doesn’t set a very high bar to begin with.
- [-] Orgdown-1 [33%]
- [X] Basic headings
- [ ] Greater Elements
- [ ] Tables
- [ ] Lists
- [ ] Basic blocks
- [-] Lesser Elements
- [X] Paragraphs
- [X] Inline text markup (bold, italics, etc)
- [ ] Links
- [ ] Comments
- [-] Orgdown-?2 [33%]
- [X] Heading metadata
- [X] Todo states
- [X] Priorities
- [X] Tags
- [-] Greater Elements
- [-] Drawers
- [ ] Block metadata
- [ ] To be determined
- [X] Heading metadata
Idk Org-Mode’s mascot is a unicorn and the only sort of related thing I could
think of is the Dethklok song. Also, CL-ORG-MODE
was already taken, twice. I
make no promises of this being Lightning Fast™.
ISC. Do whatever you want with it, just make sure to credit me.