May 2018
Intermediate to advanced
376 pages
9h 22m
English
In this project, you will
Before you build a DSL, let’s first define what one is. A domain-specific language uses a programming language’s features and syntax in a clever way to make solving a particular task appear as if it has first-class support by the programming language itself. For example, a common type of DSL seen in JavaScript is used by unit test libraries:
describe('push', function() {
it('should add new values to the end of an array', function() {
// perform test
});
});
This is a DSL because ...
Read now
Unlock full access