This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: VB


On 31 Jan 2001, Florian Weimer wrote:

> dewar@gnat.com writes:
> 
> > Assuming there are no IPR issues (with VB, that is not obvious), then
> > there will be a front end if someone (e.g. you :-) develops one.
> 
> Microsoft has patented a method to quote alomost arbitrary character
> sequences so that they can be used as an identifier (IIRC the '[]'
> syntax in VB).  Any VB implementation will probably have to infringe
> several OLE patents as well.
> 

I'm curious about this quoting semantics? Common Lisp has had a technique
for using ``|'' to quote identifiers pretty easily:

|foobar|   == ``foobar''
|2123|     == ``2123''
|foo\|bar| == ``foo|bar''

(intern "foobar")
(intern "2123"
(intern "foo|bar")

This, BTW, dates back to at least the early 90's, and perhaps earlier than
the late 70's. So, there may either be prior art, or maybe one can
mechanically convert programs into these quoting semantics?

Got a URL for the VB quoting semantics?

Scott


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]