lachs_derive

Crates.iolachs_derive
lib.rslachs_derive
version0.1.4
created_at2024-10-27 23:42:35.288051+00
updated_at2025-01-11 02:12:56.862484+00
descriptionDerive macro for creating a lexer
homepage
repositoryhttps://github.com/H1ghBre4k3r/lachs
max_upload_size
id1425110
size14,071
Louis (H1ghBre4k3r)

documentation

https://docs.rs/lachs_derive

README

Lachs Derive

IMPORTANT: You are not supposed to use this crate directly. The only way we guarantee a working usage is to directly use the lachs crate.

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.

Commit count: 25

cargo fmt