[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm file parsing
From: |
John Cowan |
Subject: |
Re: scm file parsing |
Date: |
Fri, 4 Jan 2019 15:59:36 -0500 |
I don't know how well it works, but https://github.com/mjsottile/sfsexp
seems to be exactly what you want. Googling [s-expressions parser python]
will point you to a lot of Python ones.
On Fri, Jan 4, 2019 at 3:53 PM Hamzeh Nasajpour <address@hidden>
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
>
>