lachs_derive

Crates.iolachs_derive
lib.rslachs_derive
version0.1.3
sourcesrc
created_at2024-10-27 23:42:35.288051
updated_at2024-11-10 21:55:56.199885
descriptionDerive macro for creating a lexer
homepage
repositoryhttps://github.com/H1ghBre4k3r/lachs
max_upload_size
id1425110
size12,412
Louis Meyer (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: 16

cargo fmt