This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| technology:dsls_in_c_cpp [2025/09/09 00:31] – removed - external edit (Unknown date) 127.0.0.1 | technology:dsls_in_c_cpp [2025/09/09 00:31] (current) – ↷ Page name changed from technology:in_c_cpp to technology:dsls_in_c_cpp Taylor Robbins | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Making DSLs in C/C++ ====== | ||
| + | |||
| + | * TODO: X-Macros | ||
| + | * TODO: Embedded programming is mostly a matter of making a DSL to talk about hardware operations (usually single write or read instructions to a particular address) | ||
| + | * TODO: '' | ||
| + | * TODO: '' | ||
| + | * TODO: Downsides: Multiple evaluation, single statement assumption, parenthesis around parameters, etc. | ||
| + | * TODO: Using macros to implement a crude form of function overloading? | ||
| + | * TODO: Using macros to pass debug information about call-site with '' | ||
| + | * TODO: Infix-like syntax with: ''# | ||
| + | * TODO: X-Macros as a form of table-based code-gen | ||
| + | * TODO: Scraping DSL's inside comments or ''# | ||
| + | * TODO: Generating code from '' | ||
| + | |||
| + | |||