4 stable releases

1.1.1 Nov 18, 2023
1.1.0 Oct 14, 2022
1.0.1 May 5, 2021
1.0.0 Jan 31, 2020

#440 in Parser implementations

Download history 31/week @ 2024-01-04 34/week @ 2024-01-11 44/week @ 2024-01-18 21/week @ 2024-01-25 11/week @ 2024-02-01 26/week @ 2024-02-08 50/week @ 2024-02-15 60/week @ 2024-02-22 49/week @ 2024-02-29 53/week @ 2024-03-07 72/week @ 2024-03-14 66/week @ 2024-03-21 71/week @ 2024-03-28 136/week @ 2024-04-04 255/week @ 2024-04-11 151/week @ 2024-04-18

616 downloads per month
Used in 9 crates (3 directly)

MIT/Apache

47KB
1K SLoC

grammers-tl-parser

This library provides a public interface to parse Type Language definitions.

It exports a method to parse entire files (ignoring comments and splitting the definitions on ;) and offers ways to parse single definitions.


lib.rs:

This library provides a public interface to parse Type Language definitions.

It exports a single public method, parse_tl_file to parse entire .tl files and yield the definitions it contains. This method will yield Definitions containing all the information you would possibly need to later use somewhere else (for example, to generate code).

Dependencies

~79KB