2024-12-12-Building A DSL - Example DSL That Generates Python Code
Towards Higher Level Syntax for Programming Languages 2024-12-12
A short intro video on generating Python from a DSL.
In this case, the DSL is meant to be a stream parser that will eventually be used to cull XML before processing it with t2t[1] and in-memory ASTs.
More Information
Code Repository[2]
More about Programming With Diagrams[3]
Related
More about the RT Transpiler[4]
Code repository[5] for the RT transpiler.
More about FDD - Failure Driven Design[6] (writing code that writes code)
Bibliography
[1] t2t from https://github.com/guitarvydas/t2t
[2] Das2json Code Repository from https://github.com/guitarvydas/das2json
[3] Building Software Using Black Boxes from https://programmingsimplicity.substack.com/p/building-software-using-black-boxes?r=1egdky
[4] RT Transpiler from https://programmingsimplicity.substack.com/p/rt-transpiler?r=1egdky
[5] RT repository from https://github.com/guitarvydas/rt
[6] Failure Driven Design from https://guitarvydas.github.io/2021/04/23/Failure-Driven-Design.html.
See Also
References: https://guitarvydas.github.io/2024/01/06/References.html
Blog: https://www.guitarvydas.github.io
Videos: https://www.youtube.com/@programmingsimplicity2980
Discord: https://discord.gg/65YZUh6Jpq
Leanpub: [WIP] https://leanpub.com/u/paul-tarvydas
Gumroad: https://tarvydas.gumroad.com
Twitter: @paul_tarvydas