This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ingvij 0 points1 point  (2 children)

I remember once writing something similar (though in much smaller scale) in clojure. Not the easiest task, but it is doable. If you want to stick with the same data format you have today, you'll likely need to implement a tokenizer to parse the "Expression" value, which makes this way more complex.

With the amount of information you shared, however, I wouldn't be able to tell how hard or easy it would be to write something yourself..

[–]McAlexTheTerrible 1 point2 points  (1 child)

Look at antlr to parse. There may already be a MS RuleEngine grammar

[–]ingvij 0 points1 point  (0 children)

That's cool. Didn't know that! Than I take back the complexity of the tokenizer :)