Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgm/djoths
Haskell parser for the djot light markup language
https://github.com/jgm/djoths
Last synced: 26 days ago
JSON representation
Haskell parser for the djot light markup language
- Host: GitHub
- URL: https://github.com/jgm/djoths
- Owner: jgm
- License: mit
- Created: 2024-01-12T16:46:46.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-14T16:47:36.000Z (7 months ago)
- Last Synced: 2024-05-02T06:14:55.738Z (6 months ago)
- Language: Haskell
- Size: 328 KB
- Stars: 17
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# djoths
This is a Haskell library and command-line tool for parsing
the [djot] light markup language.[djot]: https://djot.net
The parser reads a ByteString and builds an AST. An HTML
renderer and a Djot renderer are included.For an example of its use, see `app/Main.hs`.
The parser has very good performance. For example, it is
8X faster than [commonmark-hs](https://github.com/jgm/commonmark-hs)
on comparable input with comparable extensions enabled, and more than
twice as fast as [djot.js](https://github.com/jgm/djot.js).