[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-devel
Subject:    [Gambas-devel] Re: Gambas
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2004-07-11 14:26:30
Message-ID: 200407111626.30202.gambas () users ! sourceforge ! net
[Download RAW message or body]

Hi,

Sorry for my late answer!

On Thursday 24 June 2004 12:57, you wrote:
> > > I want to port ASP to the GNU/Linux (and Unix) system and I will use
> > > your Virtual Machine/Interpreter.
> >
> > Why porting ASP to GNU/Linux ? Why not making something less stupid and
> > more powerful ?
>
> Ok, I want to "port" ASP but making it more powerfull, not just port. I
> will port and I will make more efficient (and less stupid XD )
>
> > > How can I do it?
> >
> > I don't know. First, you should write an Apache module than can send a
> > dynamic page to the Gambas interpreter and get the result.
>
> First? First I need to create a simple program that can parse the ASP
> source and makes calls to the Gambas interpreter, but I need to embed
> it. How? I don't known. I found in the gambas web site a note such as :

I think this can be done this way:

Create a new type of module named "*.gsp" ;-). This kind of module will be 
processed by the compiler in a special manner so that the special character 
sequences '<%'...'%>' and '<%='...'%>' will be replaced by Gambas code that 
send the HTML in the response.

The ASP syntax must be extended. A syntax should allow automatic HTML 
encoding.

Then create an Apache module (how ??) that calls a persistant gambas 
interpreter to get the pages, and that manages (how ??) a Application and a 
Session object.

Or don't create an Apache module. Create instead a Gambas component that 
transforms the interpreter in a http server transparently, and that manages 
Application and Session objects.

>
>
> Gambas as a scripting engine
>
>
> How about integrating Gambas into other softwares, so they become
> scriptable? (Office suites, browsers, and any application that could
> require scripting)
>
>
> -- NelsonFerraz - 14 Aug 2003
>
> This is just that I want.

This is just I DON'T want, because making applications internally scriptable 
like all Microsoft things lead to the virus nightmare.

>
> > You must find how to keep
> > the gambas interpreter persistent, by not lauching it each time you
> > translate a page. I never studied the problem, and I don't know what you
> > programming skill are, It is hard for me to give you more details.
>
> Is here a class such as CInterpreter, CBasicInterpreter, CGambasParser,
> etc...?
>

No.

-- 
Benoit Minisini
mailto:gambas@users.sourceforge.net


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Gambas-devel mailing list
Gambas-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic