Better HN
topnewbestaskshowjobs
Log inSign up

meinte37

5 karma · joined Jul 3, 2017 (9y ago) · 4 submissions

Submissions

comment 4y ago · link · parent

The article is “addressed to those who did not want to build a compiler”: what's the point of this article then? It seems to implore to not build compilers, but those who did not want to in the first place, probably actually did not build compilers.

The article does point out numerous challenges with building compilers, and, by extension, with software language engineering, which concerns itself not just with building compilers but with the design of languages, and implementation of non-compiler tools around it. It merely points out the existence, and likely occurrence, of those challenges, and it can be surmised that the author is frustrated by frequent experience in his own daily life.

A bespoke software language -or DSL, if you will- is not always the best solution. It really depends on what you carve out as the domain, how fast that domain changes, what costs and risks are associated with those changes, and with which people you have to implement those changes. No amount of tooling is going to help you out if the domain you chose to recognize as such isn't changing fast enough, isn't costly or risky enough to change (quickly), or the domain stakeholders are anyway not helping out.

But in case you do want to build a DSL, have a look at a language workbench like JetBrains' MPS, or this book I happen to be writing: https://www.manning.com/books/domain-specific-languages-made...

comment 9y ago · link · parent

Happy to oblige, even if LWBs are meant to make things less complicated ;)

comment 9y ago · link · parent

I have some (paywall) trouble accessing the article you reference, so I cannot really comment, but to me that seems to be describing an IDE, not necessarily a LWB that produces an IDE for a (set of) DSL(s).

comment 9y ago · link · parent

Since Racket participated in the Language Workbench Challenge 2016, the answer is a resounding YES :)