Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jacobm/config-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config-parser

A parser for INI files in Racket

Usage

(parse-string parse-ini/p "

; this is an important section
[section]
fisk = hest  ; here we assign a value to fisk
fisk2 = hest2
; fisk3 comment
fisk3 = hest3

[section2]
; dingo must be bingo
dingo = bingo

[sectionAtTheEnd]
")

produces

(success 
   (list 
     (section 'section '((fisk . hest) (fisk2 . hest2) (fisk3 . hest3))) 
     (section 'section2 '((dingo . bingo))) 
     (section 'sectionAtTheEnd '())))

About

A parser for INI files in Racket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages