logo       

RE: Re: SQL Integration: msg#00056

lang.boo.devel

Subject: RE: Re: SQL Integration

See grammars in http://www.antlr.org/grammar/list

- Urs C. Muff
Software Architect - Research Lab, Quark EIF
Quark Inc.
UMuff-iTnpk4xzayMAvxtiuMwx3w@xxxxxxxxxxxxxxxx - X6360
+1 (303) 894 3360

CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing, distribution,
or use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone (+1.303.894.3360) or
return e-mail message (umuff-7I3u/EwdP5oAvxtiuMwx3w@xxxxxxxxxxxxxxxx) and
delete the original
transmission, its attachments, and any copies without reading or saving
in any manner. Thank you.

-----Original Message-----
From: Doug H [mailto:doug00-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx]
Sent: Tuesday, February 22, 2005 1:21 PM
To: dev-lK5OYVT/OUeB6hVKlEQLGA@xxxxxxxxxxxxxxxx
Subject: Re: [boo-dev] Re: SQL Integration

On Fri, 18 Feb 2005 18:39:54 +0100, Hans-Christian Holm
<hchrholm-f/vm7P8qpiNhl2p70BpVqQ@xxxxxxxxxxxxxxxx> wrote:
> Perhaps this wish should be expressed in a more general way: Could it
be or
> is it possible to extend and customise Boo beyond macros, like
defining new
> tokens, new syntax rules, custom IL generation etc? I'd like to see
not only
> embedded SQL and XML processing like in Comega, but even embedded IL
(like
> embedded assembly code in some languages). Could Boo eventually become
some
> kind of a meta-language, a base for special needs so that you don't
have to
> design a language and a compiler from scratch everytime you'd like a
domain
> specific language?

I think especially with the next all-boo version of the compiler,
plugging in optional services like this will be even easier.
See Rodrigo's notes on compiler profiles:
http://blogs.codehaus.org/people/bamboo/archives/000919_compiler_pipelin
es_and_compiler_profiles.html
See also http://jira.codehaus.org/browse/BOO-82

The only thing I wasn't sure about was dynamically changing parser
rules, but it looks like you can subclass ANTLR grammar files too:
http://www.antlr.org/doc/inheritance.html
Right now the ANTLR parser generates C# code, so I don't know if we
are eventually going to need to write a boo code generator for ANTLR.

Maybe if there are ANTLR grammars for SQL, XML, python, etc., we could
turn them into boo compiler plugins.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise