chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] INI files in Scheme? (or something similar)


From: Hans Nowak
Subject: [Chicken-users] INI files in Scheme? (or something similar)
Date: Mon, 03 Mar 2008 20:22:11 -0500
User-agent: Thunderbird 2.0.0.0 (Macintosh/20070326)


Hi,

Is there a "standard" way to do INI files (or similar kinds of initialization files, ala .bashrc etc) in Scheme? For example, something like this:

[config.ini]
--->8---
[Keys]
Developer=INSERT_DEV_ID
Application=INSERT_APP_ID
Certificate=INSERT_CERT_ID

[Server]
; This is for the development sandbox
URL=api.sandbox.foobar.com
Directory=/ws/api.dll

[Authentication]
; blah blah blah
Token=INSERT_USER_TOKEN
--->8---


I understand that this could easily be done in Scheme itself, e.g.

(define developer INSERT_DEV_ID)
(define url "api.sandbox.foobar.com")

...and all that, but is that a common way to do it? If not, what is? (I didn't see any eggs dealing with this issue.)

Thanks,

--Hans





reply via email to

[Prev in Thread] Current Thread [Next in Thread]