[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm file parsing
From: |
Roel Janssen |
Subject: |
Re: scm file parsing |
Date: |
Fri, 4 Jan 2019 22:06:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 04-01-19 21:53, Hamzeh Nasajpour wrote:
Hi,
I have a configuration file that written based on `scm` file like as `guixSD`
config.scm file.
https://www.gnu.org/software/guix/manual/en/html_node/User-Accounts.html#User-Accounts
I want to read/write/modify this config file in python or C/C++.
Do you know any `scm` file parsing or any other solution for my needed? In
fact I want to add/remove/modify parameters of this config file.
Regards,
Hamzeh
You could use Guile's C API. It's in Guile's reference manual.
Kind regards,
Roel Janssen