PHP text parsing and / or make your own language?

Posted by AlexanderJohannesen on Stack Overflow See other posts from Stack Overflow or by AlexanderJohannesen
Published on 2009-04-25T12:56:25Z Indexed on 2010/05/22 20:41 UTC
Read the original article Hit count: 180

Been Googling around without finding much at all, so does anyone know of a class or library that helps you parse any sort of language, like a Domain Specific Language (I'm creating one, so I'm flexible in what the syntax and format can be) into either PHP code or some helpful struct or a class hiearchy or ... ? Anything goes at this point. :)

I want to experiment with parsing text files into tokens, building up a small grammar and syntax library to express things like Business Natural Languages.

© Stack Overflow or respective owner

Related posts about php5

Related posts about parsing