News for hackers. Stuff that matters.
Re:AnyDSL: A Framework for Rapid Development of Domain-Speci... by kriro on Monday March 06, 2017 @02:18AM (#13801190)
That "Machine Expert" snipped still looks way too much like a programming language. I fail to see the advantage over rolling a DSL with ANTLR which is reasonably intuitive (I'm assuming this is meant for external DSLs) or better yet using a language workbench like Xtext (which also gives you an Eclipse-IDE for your DSL "for free").

I guess the more the merrier but the linked website doesn't really showcase the tool very well (imo). For quick prototyping I'll probably stick with Prolog DCGs :)

Re:AnyDSL: A Framework for Rapid Development of Domain-Speci... by kagebe on Monday March 06, 2017 @06:29AM (#13802009)
In AnyDSL, Impala is a host language for shallow-embedded DSLs. No parser generators/grammar required/needed as that is not the point.

From the last paragraph of the overview section: "The DSL developer just reuses Impala's infrastructure (lexer, parser, semantic analysis, and code generator). He does not need to develop his own front-end."

We should probably emphasise that and restructure the introduction text.

Re:AnyDSL: A Framework for Rapid Development of Domain-Speci... by sddfd on Monday March 06, 2017 @02:27AM (#13801221)
I think the point is that the machine expert part (which essentially implements an iteration construct) can be provided by a target architecture specific library.