miniblog.
← Back to all posts
Oct 30, 2014 at 08:55
A DOMain of Shadows
https://gbracha.blogspot.co.uk/2014/09/a-domain-of-shadows.html
Superb discussion of internal DSLs vs custom syntax.
A DOMain of Shadows
One of the advantages of an internal DSL over an external one is that you can leverage the full power of a general purpose programming lan...
Wilfred Hughes
Related Posts
May 14, 2014 at 17:33
"Because of [..] Ruby syntax, parentheses are required around a [rake] rule when the first argument is a regular expression." DSLs are hard.
Wilfred Hughes
Shared words: DSLs, syntax Score: 78.2
Jun 17, 2018 at 08:36
A thorough introduction to Rake, including a good discussion of why you might want an internal DSL on top of Ruby rather than a custom language like Make:
Using the Rake Build Language
martinfowler.com/articles/rake.html
Wilfred Hughes
Shared words: discussion, internal, custom Score: 46.1
Sep 4, 2016 at 15:08
Good error reporting in DSLs is hard: Ruby:
https://zef.me/2308/when-rails-fails
Scala:
https://zef.me/blog/2371/when-scala-dsls-fail
(2009—I imagine things are much improved)
404 — Page not found
zef.me/2308/when-rails-fails
404 — Page not found
zef.me/blog/2371/when-scala-dsls-fail
Wilfred Hughes
Shared words: DSLs Score: 35.8