5 stable releases

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

#397 in Parser implementations

Download history 148/week @ 2024-08-23 86/week @ 2024-08-30 108/week @ 2024-09-06 206/week @ 2024-09-13 186/week @ 2024-09-20 157/week @ 2024-09-27 84/week @ 2024-10-04 200/week @ 2024-10-11 153/week @ 2024-10-18 168/week @ 2024-10-25 211/week @ 2024-11-01 213/week @ 2024-11-08 316/week @ 2024-11-15 209/week @ 2024-11-22 165/week @ 2024-11-29 354/week @ 2024-12-06

1,054 downloads per month
Used in 10 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

~78KB