Reputation: 8949
I need a very simple interpreter that is written in Java. The language is going to be simple.
I just need string operators, like "contains and equals". I need logically AND, OR. Along with parenthesis.
"some string" CONTAINS "ring" AND ("some string" EQUALS "input" OR "some other string" CONTAINS "other")
This simply needs to evaluate to true or false.
Are there any open source intrepetors that would evaluate a language similar this? Would I be better off just writing my own?
Upvotes: 0
Views: 968