PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

Ini

Ini

Ini is a data notation created in 1987.

The INI file format is an informal standard for configuration files for some platforms or software. INI files are simple text files with a basic structure composed of sections, properties, and values. In MS-DOS and 16-bit Windows platforms up through Windows ME, the INI file served as the primary mechanism to configure operating system and installed applications features, such as device drivers, fonts, startup launchers, and things that needed to be initialized in booting Windows. Read more on Wikipedia...

#285on PLDB 35Years Old 3.0kUsers

Example code from the web:

; last modified 1 April 2001 by John Doe [owner] name = John Doe organization = Acme Widgets Inc. [database] ; use IP address in case network name resolution is not working server = 192.0.2.62 port = 143 file = "payroll.dat"

Example code from Linguist:

title=Mindstorms isbn=0465046290 author=Seymour Papert pubmonth=198001 subject=children computers powerful ideas LOGO education url=http://www.papert.org/

Example code from Wikipedia:

GetPrivateProfileString("owner", "name", ... , "c:\\programs\\oldprogram\\dbsettings.ini");

Language features

Feature Supported Example Token
Strings
Line Comments
; A comment
;
Case Sensitivity
[subsections "areCaseSensitive"]
Assignment
[branch "master"]
remote = origin
merge = refs/heads/master
Comments
# a '#' or ';' character indicates
; a comment
Booleans ϴ
Semantic Indentation ϴ

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub