https://github.com/cad97/lexeme
https://github.com/cad97/lexeme
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cad97/lexeme
- Owner: CAD97
- Created: 2022-01-29T18:33:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-29T18:35:04.000Z (over 4 years ago)
- Last Synced: 2025-06-08T01:43:12.007Z (about 1 year ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE/APACHE
Awesome Lists containing this project
README
This crate provides a crate to define a simple [lexer] using [regex]. This is
similar to [Logos]; however, lexeme uses the regex crate directly, rather than
implementing its own parsing routines. This makes lexeme much simpler to
maintain than Logos, while still retaining ludicrous speed, thanks to the regex
crate's performance.
For more, see [the crate's README](crates/lexeme/README.md).
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE/APACHE](LICENSE/APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE/MIT](LICENSE/MIT) or http://opensource.org/licenses/MIT)
at your option.
If you are a highly paid worker at any company that prioritises profit over
people, you can still use this crate. I simply wish you will unionise and push
back against the obsession for growth, control, and power that is rampant in
such workplaces. Please take a stand against the horrible working conditions
they inflict on your lesser paid colleagues, and more generally their
disrespect for the very human rights they typically claim to fight for.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.