Hi all, I am still working on PAPAgei - the PAscal for PArrot compiler which is my final year project at I.T. Carlow.
My (tentative) approach is to use PRD for parsing and taking Dan's article on building a compiler for parrot as a guide, I wanted to build an ISO pascal compiler starting with a very basic grammar and gradually extending it until it meets the full ISO standard. However, I've been struggling with the basic task of writing a PRD grammar for quite a while and am about to turn to YAPP instead, if I can't get PRD to work for me soon, as my project deadline is soon, _very_ soon. I've come across two Perl scripts - <parrot>/languages/converter.pl and <parrot>/languages/conversion/test.pl I've tried to understand them by simply going through the Perl source, but was rather unsuccessful doing so and was hoping to get some hints from the list on how to go on about turning a (Pascal-) BNF into a PRD grammar which I could use for my compiler. Any suggestions anybody? Please? Cheers, Sven. Gesendet von Yahoo! Mail: http://mail.yahoo.de Noch schneller mailen? Yahoo! Messenger: http://de.messenger.yahoo.com