Re: VBScript::Parser

2000-07-28 Thread Ime Smits
| To a VBScript parser it should die. So you could define the concept of how | to write "$response->write( ... );" in other languages somehow, in the | actual class that implements (or calls) the parser. That way pluging in a | JScript parser becomes easier, and you could even support multiple | l

Re: VBScript::Parser

2000-07-27 Thread Matt Sergeant
On Thu, 27 Jul 2000, Joshua Chamas wrote: > Matt Sergeant wrote: > > > > On Thu, 27 Jul 2000, Ime Smits wrote: > > > > > In short, I have the following in mind and partially worked out in actual > > > code. A package VBScript::Parser which offers: > > > > > > $parser=new VBScript::Parser; >

Re: VBScript::Parser

2000-07-27 Thread Joshua Chamas
Matt Sergeant wrote: > > On Thu, 27 Jul 2000, Ime Smits wrote: > > > In short, I have the following in mind and partially worked out in actual > > code. A package VBScript::Parser which offers: > > > > $parser=new VBScript::Parser; > > $evalable_perl_code = $parser->parse($complete_asp_p

Re: VBScript::Parser

2000-07-27 Thread Matt Sergeant
On Thu, 27 Jul 2000, Ime Smits wrote: > | No. The problem is that it would be really great if this could be a > | generic VBScript parser, rather than an ASP/VB parser. > > s/(.*?)<%(.*?)%>/&parse_html($1).&parse_vb($2)/seg, so don't worry - you'll > get your generic method ;) Won't work. You n

Re: VBScript::Parser

2000-07-27 Thread Ime Smits
| No. The problem is that it would be really great if this could be a | generic VBScript parser, rather than an ASP/VB parser. s/(.*?)<%(.*?)%>/&parse_html($1).&parse_vb($2)/seg, so don't worry - you'll get your generic method ;) Ime

Re: VBScript::Parser

2000-07-27 Thread Matt Sergeant
On Thu, 27 Jul 2000, Ime Smits wrote: > | Well you still have to implement a VBScript parser (Damian, of course, > | implemented a latin parser), and the problem is that ASP is parsed by > | Apache::ASP, not by perl, so you'd have to make use of the VB parser at > | that point. > > Hi, just want

Re: VBScript parser a la Lingua::Romana::Perligata

2000-07-27 Thread Matt Sergeant
On Thu, 27 Jul 2000, darren chamberlain wrote: > [EMAIL PROTECTED] said something to this effect: > > On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: > > >Until I write a VBScript to perl parser, yes you can only > > >use perl under Apache::ASP. > > Ok, so are you actually going to write a VB

Re: VBScript parser (was Re: Apache::ASP Question)

2000-07-25 Thread Ime Smits
| so are you actually going to write a VBScript to perl parser? I was actually | thinking of undertaking this project myself, but I've never written a lexer | or a parser or anything like that. For what it's worth: Some months ago I was facing the problem of moving several ASP scripted IIS/Micro

Re: VBScript parser (was Re: Apache::ASP Question)

2000-07-25 Thread Matt Sergeant
On Tue, 25 Jul 2000, Joshua Chamas wrote: > Like Matt suggested you can start with his simple vbscript to > perlscript converter, but I would recommend to do a really > complete job that you use a full on grammar and something > like Parse::Yapp to do the parse tree. I personally would > find

Re: VBScript parser (was Re: Apache::ASP Question)

2000-07-25 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: > > -- > > On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: > >Until I write a VBScript to perl parser, yes you can only > >use perl under Apache::ASP. > > Ok, so are you actually going to write a VBScript to perl parser? I was actually >thinking of undertaking thi

Re: VBScript parser (was Re: Apache::ASP Question)

2000-07-24 Thread Matt Sergeant
On Mon, 24 Jul 2000 [EMAIL PROTECTED] wrote: > -- > > On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: > >Until I write a VBScript to perl parser, yes you can only > >use perl under Apache::ASP. > > Ok, so are you actually going to write a VBScript to perl parser? I > was actually thinking