| View previous topic :: View next topic |
| Author |
Message |
CJ Guest
|
Posted: Thu Sep 08, 2005 10:04 pm Post subject: Parser's |
|
|
I'm trying to figure out how to create a simple scripting language.
I've created a simplistic Parser but I would really like to be able to
create a more recursive parser.
Does anyone know of any good sources of information or tutorials etc of
how to do this in Delphi?
Or if anyone has advice I'd be very interested in hearing it.
Thanks,
C. J.
|
|
| Back to top |
|
 |
Franck Pissotte Guest
|
Posted: Fri Sep 09, 2005 12:42 pm Post subject: Re: Parser's |
|
|
Le 09/09/2005 00:04, CJ a ecrit :
| Quote: | I'm trying to figure out how to create a simple scripting language.
I've created a simplistic Parser but I would really like to be able to
create a more recursive parser.
Does anyone know of any good sources of information or tutorials etc of
how to do this in Delphi?
|
there is a lot of pascal compiler sources and delphi components
listed on my site.
my site is in french but most of links are for english sites
--
http://www.pascaland.org/ compilateurs, sources et liens langage pascal, delphi
http://www.maitre-asimov.fr.st/ ma collection des oeuvres d'Isaac Asimov
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Fri Sep 09, 2005 3:25 pm Post subject: Re: Parser's |
|
|
"CJ" <CJ (AT) whits-end (DOT) co.uk> wrote
| Quote: | Does anyone know of any good sources of information or tutorials etc of
how to do this in Delphi?
Or if anyone has advice I'd be very interested in hearing it.
|
Do a google of "recursive descent parser delphi". You'll get lots of hits,
some of which may prove useful.
The Delphi language is well suited to writing recursive descent parsers. The
ability to have nested routines makes for a natural translation of the
grammar into code.
|
|
| Back to top |
|
 |
CJ Guest
|
Posted: Fri Sep 09, 2005 6:14 pm Post subject: Re: Parser's |
|
|
Thank you both,
I at least have a good starting point now and lot's to learn :)
CJ
Bruce Roberts wrote:
| Quote: | "CJ" <CJ (AT) whits-end (DOT) co.uk> wrote in message
news:dfqch0$o4b$1 (AT) nwrdmz02 (DOT) dmz.ncs.ea.ibs-infra.bt.com...
Does anyone know of any good sources of information or tutorials etc of
how to do this in Delphi?
Or if anyone has advice I'd be very interested in hearing it.
Do a google of "recursive descent parser delphi". You'll get lots of hits,
some of which may prove useful.
The Delphi language is well suited to writing recursive descent parsers. The
ability to have nested routines makes for a natural translation of the
grammar into code.
|
|
|
| Back to top |
|
 |
|