With a full lexer, tokeniser and parser, Lexini is robust enough to handle any syntax errors - and provides helpful feedback on the exact nature and location of the error.
In addition to the usual integer, string and floating-point variables, Lexini supports binary (e.g. %101011) and hexadecimal (e.g. #FFF) values.
Variables are seamlessly coerced into the requested data type, e.g. a hex value of #FF will return 255 as an integer, but "#FF" as a string. A TRUE/FALSE boolean flag returns "TRUE" or "FALSE" as a string.
You can download this program for free (0.25MB zip, windows)
The download contains source code, documentation, and a ready-to-run example.
You can also contact me directly - I make an effort to reply to every e-mail.