This content is provided AS IS for archive purposes only. Content may be out of date with no guarantee of correctness.

Lexini - ini file parser - Manuals

Main Article

Lexini - ini file parser


Lexini is an open source library that can parse .ini files for the Cobra Programming Language.

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.


Stay Subscribed

@golightlyb, subscribe to the RSS feed or get updates by e-mail.

You can also contact me directly - I make an effort to reply to every e-mail.