| Crates.io | lachs_derive |
| lib.rs | lachs_derive |
| version | 0.1.4 |
| created_at | 2024-10-27 23:42:35.288051+00 |
| updated_at | 2025-01-11 02:12:56.862484+00 |
| description | Derive macro for creating a lexer |
| homepage | |
| repository | https://github.com/H1ghBre4k3r/lachs |
| max_upload_size | |
| id | 1425110 |
| size | 14,071 |
IMPORTANT: You are not supposed to use this crate directly. The only way we guarantee a working usage is to directly use the
lachscrate.
This crate provides the implementation of a lexer generator in the form
of the #[token] proc macro. Applying this macro to an enum will consume
this enum and generate a new enum where each variant has the fields
corresponding to the type of token this field represents.