Re:Why Domain Specific Languages? A Collection of Anecdotes
by jolmg on Monday December 14, 2020 @07:24PM
(#25425360)
> to realize a DSL one must have an AST
Not necessarily. I think a parser combinator library counts as a DSL. Yet, the result from using that DSL is normally a function that you run to parse from sources. IOW, the DSL functions take functions and return functions built from them. You can't introspect that.
Not necessarily. I think a parser combinator library counts as a DSL. Yet, the result from using that DSL is normally a function that you run to parse from sources. IOW, the DSL functions take functions and return functions built from them. You can't introspect that.