niklasbuechner / iws

1 stars 0 forks source link

Research, was ist alles eine DSL #5

Closed niklasbuechner closed 1 year ago

baris2 commented 1 year ago

Beispiele für DSL's

Jsh250 commented 1 year ago

Was ist alles eine DSL?

Interne DSLs

“An internal DSL, sometimes called embedded DSL, is a domain-specific language that is written inside of a host language. Internal DSLs only serve as an extension of the host language because they cannot go over the boundaries of the host language in terms of syntax. “ => Generell schwierige Abgrenzung zw. "Frameworks" wie MUI und internen DSLs

o javadoc o JUnit? o Reguläre Ausdrücke in den GPLs o XSD (XML-Schema-Definition)

Externe DSLs

“An external DSL is a domain-specific language that is developed isolated of any host language. An external DSL has its own syntax, so it does not rely on the grammar foundation of any other language, but a full parser is often required as the grammar is written from scratch.”

o SQL o HTML o CSS o Bash (Skripverarbeitung, Makefiles) o LATEX o Markdown o MATLAB o Excel o Yacc oder auch ANTLR (Lexer + Parser Definitions) o UML? Oder auch z.B. PlantUML o XML o YAML o DOT (Graphen) o VHDL (Hardware Design) o Regex