2 ms·
An API is a list of functions you can call. An embedded language (aka DSL) is a programming language adapted for a particular domain, and a programming languag
by pg 19y ago
An API is a list of functions you can call. An embedded language (aka DSL) is a programming language adapted for a particular domain, and a programming language is more than a list of functions. It might include special types of iteration, or special syntax. It might even change the whole model of how a program is expressed, e.g. if you wrote purely declarative data-flow language for network simulations.