|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3-RESEND 03/28] libxl: ocaml: avoid reserved words in type and field names.
Rob Hoes writes ("RE: [PATCH v3-RESEND 03/28] libxl: ocaml: avoid reserved
words in type and field names."):
> > There aren't all that many ocaml keywords, I suppose? I expect
> > many of them are unlikely field names. If we don't want to
> > enumerate them up front (which I would accept, it's a bit tedious)
> > I'd be perfectly happy to fault things in as the libxl IDL gains
> > new inconveniently named fields, it'll break the build so we
> > should notice pretty quickly!
>
> I'd be very happy with that, if it is acceptable to you and IanJ!
That would be fine by me. I would marginally prefer to simply dump a
list of the ocaml keywords into the ocaml idl generator.
(I definitely agree with Ian that the transformation should be such
that most words are unchanged. I think s/^(xl_)*(KEYWORD)$/xl_$&/
should do it.)
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |