|
|
|
|
|
by sklogic
3971 days ago
|
|
API leaks abstractions and does not provide any domain-specific semantics. Imagine an API for, say, parsing. A DSL would have a nice BNF-like syntax and abstract any implementation details away. API - well, you won't ever get any further than Parsec, and Parsec is awful. |
|
Use powerful enough language.
https://en.wikibooks.org/wiki/Common_Lisp/External_libraries...
Here, you can pretty much write out your BNF directly and get a parser out of it.