Argument parser (getopt/regex).
Criteria:
- Can be algorithm based or regex.
- Language can be either Delphi/FPC or C/C++.
- No global variables.
- No classes, structs are fine.
- Thread safe.
- Cross platform.
- Single header/unit.
- Unicode support.
- High performance.
- Little or zero allocations.
Capabilities:
- It should have all the capabilities of (getopt + simpleopt).
- Parse options after non-option/positional arguments
- Keep track of an option occurring multiple times
- Keep track of the order of options
- Built-in argument type checking and parsing
- Must handle white spaces between options, delimiters and arguments.
- Must support (-opt:arg1, -o:arg1, -o : arg1, ...)
Hi, I am experienced programmer, and I can implement such argument parser as custom algorithm in C. Please contact me if you are interested in cooperation.