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

Description

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.

Download

You can download this program for free (0.25MB zip, windows)

The download contains source code, documentation, and a ready-to-run example.

Screenshot:

Stay Subscribed

Follow me on twitter @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.


Login
v0.34.archive