An abstraction of sources that can be processed by lexer and parser, and contained by different data structures.
Initially intended for Chearmyp lexer and parser but it can be used to other projects as well.
Add it to the dependencies:
[dependencies.abstract_chearmyp_source]
git = "https://github.com/KennethTrecy/abstract_chearmyp_source"
tag = "v1.0.0"
You may also activate all the features:
[dependencies.abstract_chearmyp_source]
git = "https://github.com/KennethTrecy/abstract_chearmyp_source"
tag = "v1.0.0"
features = ["no_std", "str_source", "slice_u8_source", "vec_source_collection", "str_comparable_to_u8", "str_comparable_to_str", "slice_u8_comparable_to_u8", "slice_u8_comparable_to_str"]
Some parts of the repository was based from filled_bare_metal
branch of Feo Template.
Run the following on the console:
cargo doc --all-features --open
If you want to contribute, this repository should be initialized to adhere in Conventional Commits specification for organize commits and automated generation of change log.
- Node.js and NPM
- pnpm (optional)
By running the command below, all your commits will be linted to follow the Conventional Commits specification.
$ npm install
Or if you have installed pnpm, run the following command:
$ pnpm install
To generate the change log automatically, run the command below:
$ npx changelogen --from=[tag name or branch name or commit itself] --to=master
The repository is licensed under MIT.
Read the contributing guide for different ways to contribute in the project.
Coded by Kenneth Trecy Tobias.