From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH 1/4] kvargs: support list value Date: Wed, 10 Oct 2018 14:12:59 +0100 Message-ID: References: <20181009021858.19216-1-thomas@monjalon.net> <20181009021858.19216-2-thomas@monjalon.net> <20181009141406.rle54bpq6ictu3zd@bidouze.vm.6wind.com> <6562576.89BUxVsNiX@xps> <20181009081140.5c977ad6@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?Q?Ga=c3=abtan_Rivet?= , dev@dpdk.org, ophirmu@mellanox.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, olivier.matz@6wind.com To: Stephen Hemminger , Thomas Monjalon Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 947601B5AD for ; Wed, 10 Oct 2018 15:13:04 +0200 (CEST) In-Reply-To: <20181009081140.5c977ad6@xeon-e3> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 09/10/2018 16:11, Stephen Hemminger wrote: > On Tue, 09 Oct 2018 16:31:24 +0200 [..] > This is getting complex enough that doing a real parser maybe necessary. I thought the same thing back in April with the port representor patchsets. Quickly run out of things to use as delimiters otherwise. > Why not lex/yacc? Think Yacc/Bison are vastly overcomplex and a bit of a pain to integrate. The sort of config grammar needed here will most likely be LL(1), so fairly easy to do by hand anyway. > Or better yet go to real syntax like JSON. >