Build an interpreter, tips?

"Tony Vissoc" <[email protected]> Fri, 15 Aug 2003 14:52:21 -0400
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
I'm looking to build an interpreter for email sieve scripts.  There are quite a few sourceforge projects for sieve managers that push scripts to servers.  I want to build a win32 version that would allow syntax checking / building and execution.

The syntax is very simple and sieve allows no looping (according to the RFC).  The basic logic is "if then" and flows from top to bottom.  The script will always return a true/false against the input.

The most complex part will be the actual script execution against an email.  I'll be including regular expressions.

I'm just looking for some examples of simple interpreters written in delphi.  I found a site that build a basic interpreter in Java, but I don't know Java....

Thanks,

Tony Vissoc


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi VCL Top Sites!
http://www.sandbrooksoftware.com/TS/TS2/Components.shtml
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/