Altair Posted March 11, 2008 Share Posted March 11, 2008 Hello All, I've been developing in PHP for several years, but in other languages for several more Anyway... I have been combing the internet for a simple (I MEAN SIMPLE) custom language parser. Let me explain what I'm trying to do. I'm trying to develop a simplified macro type parse in php... Example of the custom language: cvar myVar1 = 'hello world'; cvar myVar2 = 'blah'; if (myVar1 != myVar2) { storeToDB(); } Do any of you have any idea how to do this without developing some uber complex lexer and parser situation? Or perhaps you know where I might find one that I can use in my code set? Keep in mind that my goal is that this is developed in PHP. Does that make sense? Let me know if more info is needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.