|
librdesc
|
EXtremely Basic LEXer. More...
#include <exblex.h>
EXtremely Basic LEXer.
A lightweight lexer designed for internal tests. It ignores whitespace and tokenizes the input based on three categories:
w): Matches identifiers consisting of alphanumeric characters and underscores ([a-zA-Z0-9_]).d): Matches integer literals consisting of numeric digits ([0-9]).+, *, ;).w, d). If a character does not fit into these classes, it is checked against the tokens table.