Re: How to parse a new computer language in Perl?

Re: How to parse a new computer language in Perl?

am 06.10.2006 17:17:14 von anno4000

[newsgroup perl.beginners trimmed]

Davy wrote in comp.lang.perl.misc:
> Hi all,
>
> I was told that when design a new computer language, I need something
> like yacc to define the language parser principle. And other people
> told me that XML can be used to parse the computer language.
>
> Please recommand a simple computer language parser module in Perl.

You want a parser generator. Search CPAN (http://search.cpan.org/)
for "parser". You'll find at least Parse::RecDescent, probably more.

Anno