logo       

Re: Re: SQL Integration: msg#00061

lang.boo.devel

Subject: Re: Re: SQL Integration

Thank you, Clear+Add worked fine!

While on the subject of pipelines, I read your December 10 blog entry on compiler profiles (http://blogs.codehaus.org/people/bamboo/archives/000919_compiler_pipelines_and_compiler_profiles.html). I don't know if you'd prefer a comment there, but anyway, I comment here.

What about taking an idea or two from the ASP.NET pipeline system for making compiler profiles? You could use xml config files (one master and local adaptions) with references to pipelines and pipeline steps, and have an event-driven pipeline. I don't see any major conceptual differences that would make it difficult to implement such a model in the Boo compiler pipeline. The ASP.NET model is well known, and it works fine. Adding steps to an application like boox would simply mean editing a booxw.exe.config file, just like you add local modules and http handlers in a web.config file, etc.

Hans-Christian

----- Original Message ----- From: "Rodrigo B. de Oliveira" <rodrigobamboo-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
To: <dev-lK5OYVT/OUeB6hVKlEQLGA@xxxxxxxxxxxxxxxx>
Sent: Wednesday, February 23, 2005 9:25 PM
Subject: Re: [boo-dev] Re: SQL Integration


On Wed, 23 Feb 2005 21:20:42 +0100, Hans-Christian Holm
<hchrholm-f/vm7P8qpiNhl2p70BpVqQ@xxxxxxxxxxxxxxxx> wrote:

----- Original Message -----
From: "Rodrigo B. de Oliveira"
<rodrigobamboo-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
To: <dev-lK5OYVT/OUeB6hVKlEQLGA@xxxxxxxxxxxxxxxx>
Sent: Wednesday, February 23, 2005 7:32 PM
Subject: Re: [boo-dev] Re: SQL Integration

> You could insert a new pipeline step that would run before the parser
> and preprocess the Input collection. The collection is not read-only.
> You could, for instance, preprocess each file and replace every
> FileInput with a new StringInput.

Yes, the collection is read-only, CompilerInputCollection.Item doesn't have
a setter. The same goes for CompilerParameters.Input.


I was thinking on Clear + Add. But yes, a few convenience mutating
methods would do no harm.

Rodrigo







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

News | FAQ | advertise