hey.
i have to parse a python like language and im looking for the best language for this. my favourite is yacc but i realy do not want to use c. i also looked at javacc but, meh, i dont like it.
my favourite would be perl but i have to care for speed.
so /prog/ say me what i should use.
(ohh, btw. i do not want to compile nor to interpret that language, just parse, do some syntax-checking and translate into another language)
>>4
...
with translate i mean into another language (not c, btw.)
but i'll look at these boost::spirit, maybe its something im looking for... >>3 make me feel good :)
Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++, Objective-C, D, Java and Ruby. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language. Code embedding is done using inline operators that do not disrupt the regular language syntax.
>>21
What's the point in having Py3k when they don't even properly support it :<
Name:
Anonymous2009-08-11 9:10
>>23
the point is that everyone Should support it but that they are too busy ironing bugs out of their 2.6 code to undertake porting it to python3k code (which incidentally would fix most of the bugs)
Name:
Anonymous2009-08-11 9:58
>>24
Yeah because a rewrite to a non-backwards compatible base wouldn't introduce any bugs. Goddamn python idiots.