clex
clex is a simple lexer generator (by jafarlihi)
libfsm
DFA regular expression library & friends (by katef)
clex | libfsm | |
---|---|---|
9 | 2 | |
87 | 913 | |
- | - | |
3.0 | 8.4 | |
about 1 year ago | 7 days ago | |
C | C | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clex
Posts with mentions or reviews of clex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-05.
- clex is now thread-safe and instance-based, a lexer generator for C
-
Show HN: Clex is now thread-safe and instance-based A lexer generator for C
https://github.com/jafarlihi/clex
I very recently updated clex to be instance-based (instead of being a single global instance) and thread-safe based on previous feedback.
clex lets you programatically generate lexers in your C program without going through extra intermediary generation/compilation step, and now you can have more than one in your application!
There’s also cparse: https://github.com/jafarlihi/cparse
It lets you generate LR(1) and LALR(1) parsers in much the same way, and it uses clex under the hood. It’s currently not updated to the latest version of instance-based clex but it is in my plans to do so soon.
Feedback and contributions are appreciated!
-
GitHub - jafarlihi/cparse: cparse is a simple LR(1) parser generator for C
As with clex, I strongly encourage you to do all your testing using -fsanitize=address,undefined since you'll catch these issues sooner. Also, as I had demonstrated on clex, a dozen-line arena allocator can solve all your memory leaks quite easily.
- GitHub - jafarlihi/clex: clex is a simple lexer generator for C
- Show HN: Clex – simple lexer generator for C
libfsm
Posts with mentions or reviews of libfsm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-18.