From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hamzeh Nasajpour Subject: `scm` file parsing(read/write/modify) Date: Mon, 07 Jan 2019 10:25:46 +0330 Message-ID: <1546844146.671755.1627393640.170B0FDE@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggOpl-0004wv-LX for help-guix@gnu.org; Mon, 07 Jan 2019 01:56:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggOph-0001Vj-Q7 for help-guix@gnu.org; Mon, 07 Jan 2019 01:56:25 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:60325) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggOpH-0001LQ-BH for help-guix@gnu.org; Mon, 07 Jan 2019 01:56:19 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id E4B4B1405 for ; Mon, 7 Jan 2019 01:55:46 -0500 (EST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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