xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Sunder <u89012@gmail.com>, Elena Ufimtseva <ufimtseva@gmail.com>
Subject: Re: Tweaking the libxlu bison grammar to include nested lists
Date: Tue, 29 Jul 2014 12:53:07 +0200	[thread overview]
Message-ID: <1406631187.4038.40.camel@Solace> (raw)
In-Reply-To: <1406107930.1351.23.camel@kazak.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1528 bytes --]

On mer, 2014-07-23 at 10:32 +0100, Ian Campbell wrote:
> On Wed, 2014-07-23 at 02:12 -0400, Elena Ufimtseva wrote:

> You want Ian J for questions about the parser. CCd.
> 
> > Ian, this comes from conversation about configuration of vNUMA
> > distances we had some time ago.
> > In that conversation we wanted to see vNUMA distance array look
> > something like this in the config file:
> > 
> > vdistance = [[10,20,25],[20,10,20],[25, 20. 10]]
> > or a shorter version, but I would start with fully defined at first.
> 
> An alternative which would be less work right now would be:
> vdistance = [ "10,20,25", "20,10,20" ,... ]
> 
+1

> Not ideal, sure.
> 
Not even that bad, at least until lists of lists will be there.

A possible issue is that, at that point, we'll have to support the [""]
syntax indefinitely, for backward compatibility, but that does not sound
that bad either.

> > Will be that what Sunder asks a acceptable solution.
> 
> I'm not sure what Sunder is asking TBH, it looks like queries about how
> things work rather than a proposal for a change to me, but perhaps
> that's just because I'm not familiar with the existing grammar.
> 
I know next to nothing about the pareser, sorry. :-(

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2014-07-29 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 14:34 Tweaking the libxlu bison grammar to include nested lists Sunder
2014-07-23  6:12 ` Elena Ufimtseva
2014-07-23  9:32   ` Ian Campbell
2014-07-29 10:53     ` Dario Faggioli [this message]
2014-07-29 15:27       ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406631187.4038.40.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=u89012@gmail.com \
    --cc=ufimtseva@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).