Hacker News new | ask | show | jobs
by lozzo 2446 days ago
Excellent. Your solution is a common pattern after all. It's creating a DSL domain specific language and then obviously you need to write some kind of interpreter for it.

For all it matters, I found myself in similar situations but what I decided to do is to use an existing language (in my case it was JavaScript but nothing to do with the Javascript you run on node or on the web)