#parser-generator #parser #run-time #generated #grammar #parol

parol_runtime

Runtime library for parsers generated by the 'parol' parser generator

45 releases

0.20.2 Mar 21, 2024
0.20.0 Oct 22, 2023
0.17.1 Jul 12, 2023
0.15.1 Mar 21, 2023
0.2.3 Nov 30, 2021

#83 in Parser tooling

Download history 50/week @ 2024-01-01 127/week @ 2024-01-08 111/week @ 2024-01-15 29/week @ 2024-01-22 17/week @ 2024-01-29 63/week @ 2024-02-05 38/week @ 2024-02-12 183/week @ 2024-02-19 164/week @ 2024-02-26 115/week @ 2024-03-04 129/week @ 2024-03-11 218/week @ 2024-03-18 98/week @ 2024-03-25 224/week @ 2024-04-01 98/week @ 2024-04-08 162/week @ 2024-04-15

604 downloads per month
Used in 12 crates (5 directly)

MIT/Apache

120KB
2K SLoC

Rust Docs.rs Crates.io

parol_runtime

Runtime library for parsers generated by the parol parser generator.

Overview

This crate should be referenced by projects that use parsers generated by parol.


lib.rs:

This crate provides the runtime library used by parsers that have been generated by the parol parser generator.

In most cases you don't need to understand the inner details of this crate because parol generates all necessary scaffolding and plumping for the typical user automatically.

The most likely used parts are those returned to the user including the error types defined in the module [errors].

If you use parsers generated in vanilla mode you should understand the types that are handed over to your semantic actions. You will find them in the module parser::parse_tree_type.

Dependencies

~4–13MB
~128K SLoC