News for hackers. Stuff that matters.

meinte37

Re:Dear sir, you have built a compiler on Thursday January 13, 2022 @10:14AM (#29921587)
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...

Re:Are language workbenches dead? on Monday July 03, 2017 @06:24AM (#14687208)
Happy to oblige, even if LWBs are meant to make things less complicated ;)
Re:Are language workbenches dead? on Monday July 03, 2017 @06:23AM (#14687204)
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).
Re:Are language workbenches dead? on Monday July 03, 2017 @06:20AM (#14687192)
Since Racket participated in the Language Workbench Challenge 2016, the answer is a resounding YES :)