org_mob_parser v2.0.0
- ORG MOB PARSER
OrgMobParser is a high-performance parser for [[https://orgmode.org/][Org]] files, powered by the [[https://crystal-lang.org/][Crystal]] programming language.
** Introduction OrgMobParser was developed with the primary purpose of serving as the parsing engine for a backend application known as =OrgMob= (Work in Progress). However, it is a versatile tool, and you are free to use it in any way that suits your needs!
** Features
- =Blazingly Fast=: Thanks to Crystal's efficiency, OrgMobParser offers exceptional parsing speed for Org files.
- =Easy Integration=: Seamlessly integrate OrgMobParser into your Crystal projects or any compatible application.
- =Inspired by UniOrg=: The format used by OrgMobParser closely resembles that of [[https://github.com/rasendubi/uniorg][UniOrg]]. However, please note that full compatibility with UniOrg is not a current priority.
** Installation
- Add the dependency to your =shard.yml=
#+begin_src yaml dependencies: org_mob_parser: github: roy-corentin/org_mob_parser #+end_src
- Run =shards install=
** Usage
#+begin_src crystal require "org_mob_parser" #+end_src
*** For Custom TODO Keywords #+begin_src crystal parser = OrgMob::Parser.new
parser.configure do |c| c.todo_keywords = ["TODO", "[ ]", "TODO 🚩", "DOING"] end #+end_src
*** For Custom DONE Keywords #+begin_src crystal parser = OrgMob::Parser.new
parser.configure do |c| c.done_keywords = ["DONE", "[X]", "DONE ❌"] end #+end_src
*** To Parse Your Text #+begin_src crystal parser = OrgMob::Parser.new parser.parse("* Your Org\nyes your org note") # Return a json in the OrgMob Format parser.parse("./path_to_org_file") # Return a json in the OrgMob Format #+end_src
** Development
*** Parser System
- parse emphasis
- parse top file properties
- parse block code
- parse block quote
- parse title properties
- parser table
*** Parser Lib
- accept file to parse
*** Parser Binary
- binary to parse string or file
*** Project
- Add benchmark
** Contributing
- Fork it (https://github.com/roy-corentin/org_mob_parser/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
** Contributors
- [[https://github.com/roy-corentin][Corentin Roy]] - creator and maintainer
org_mob_parser
- 0
- 0
- 0
- 0
- 0
- about 1 year ago
- March 9, 2023
MIT License
Tue, 08 Apr 2025 12:02:31 GMT