There used to be something called DelphiWebScript, Or Delphi Script. Remote Objects (makers of Chrome aka Delphi plugin for VS ) had some components for scripting from within Delphi.
>From what you described I am not 100% sure that you are actually after a scripting solution or just want parsers/tokenizers to help you with something else. If generating code properly really matters for what you are doing then maybe you should have a look at code generation in .Net . Regards Arjang On 8/13/07, Cosmin Prund <[EMAIL PROTECTED]> wrote: > > Hello everyone. I'm about to start a new program that requires an parser > (possibly complex parser). So I'm asking this question again: What are > the options for an Delphi programmer dealing with parsers? Other then TP > yacc/lex or the Delphi variants? > > > > Different wording: > > > > (1) Is there a Delphi clone of the UNIX tools lex and yacc that > generates "modern" output? By "modern" I mean something that can handle > two parsers running simultaneously and allows reading from something > other than TEXT files. All lex/yacc clones I've seen depend on a > "lexlib" library that's full of global variables and expects > input/output to be done on TEXT files. I almost never need to parse text > files, I'm always parsing text from in-memory "strings" or TStringList > or TStream descendents. Also I expect my lexers/parsers to work in > multi-threaded environments so global variables are automatically > excluded! > > (2) Are there any other tools similar to lex/yacc, commercial or open > source that can generate Delphi code? I've been following a few other > parser projects but they don't generate Delphi code. > > > > I know I've asked those questions before, and I'll probably ask them > again until I'll find a good solution. For now I'm writing all my lexers > / parsers by hand and it works but it's a bit messy - especially when > it's time to change bits of code that have been written years before! > > > > -- > > Thanks, > > Cosmin Prund > > > > > > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

