from Hacker News

Ask HN: Domain specific language to implement a calculator

by chaoxu on 6/21/19, 7:56 PM with 0 comments

Recently I've been trying to compute some very simple stuff. For example, personal income tax, how much mortgage per month, etc.

This involves defining many variables, and simple conditionals.

Of course, one can write it in python, or in excel. I wonder if there is already a domain specific language specifically designed for such a task.