PeppaPEG
cmark
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PeppaPEG
- Show HN: Peppa PEG – Peg Parser in ANSI C (v1.15.0)
- Peppa PEG v1.10.0 released (Ultra-lightweight PEG Parser in ANSI C)
-
Peppa Peg – An Ultra Lightweight Peg Parser in ANSI C
- Having a PEG parser in ANSI C can benefit whoever is developing a parser, as adding C bindings for other programming languages are not too difficult.
And after SIX months' development, my project is now kinda feature complete. It's named Peppa PEG and you can find it here: .
I have learned quite a lot during the journey of creating it, such as gdb, valgrind, cmake, etc. And I wouldn't make it to the end without learning from some awesome projects, such as pest.rs, cJSON, etc.
To give you a glance how the library is used, here are some examples:
- Write an INI Parser using Peppa PEG: [ini.h](https://github.com/soasme/PeppaPEG/blob/main/examples/ini.h).
- Show HN: Peppa Peg – Ultra Lightweight Peg Parser in ANSI C
cmark
-
Using Rust with Elixir for code reuse and performance
I wonder if they looked into using https://github.com/asaaki/cmark.ex which is an already made Markdown Elixir NIF written in C. No glue code needed since the package already exists.
Back when I was writing Elixir, it's what I used to process Markdown and it was also substantially faster than the native Elixir Markdown library (Earmark).
What are some alternatives?
packcc - A parser generator for C
earmark - Markdown parser for Elixir
Markdown - A simple Elixir Markdown to HTML conversion library
discount
md4c - C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
Pandex - Lightweight Elixir wrapper for Pandoc. Convert Markdown, CommonMark, HTML, Latex... to HTML, HTML5, opendocument, rtf, texttile, asciidoc, markdown, json and others
cmark-gfm - Haskell bindings to libcmark-gfm GitHub Flavored Markdown parser
cmark - Haskell bindings to libcmark commonmark parser
cmark - CommonMark parsing and rendering library and program in C
pulldown-cmark - An efficient, reliable parser for CommonMark, a standard dialect of Markdown