Simple arguments lexer for parsing a line of arguments and keyword-arguments.
The ValueLexer
evaluates strings (delimited by single or double quotes), booleans, floats, integers and also binary, octal or hexadecimal (to an integer).
The ArgumentsLexer
ensures that the input line of arguments has the form:
arg1 arg2 ... argN kw1=val1 kw2=val2 ... kwM=valM