Just your average templating engine, absolutely nothing strange going on here.
- TypeScript 100%
| test | ||
| .gitignore | ||
| CHANGELOG.md | ||
| defaultLogger.ts | ||
| deno.json | ||
| deno.lock | ||
| evaluationTreePosition.ts | ||
| LICENSE | ||
| loggingBackend.ts | ||
| logLevelStacks.ts | ||
| macromania_deco.png | ||
| mod.ts | ||
| README.md | ||
| stack.ts | ||
Text generation made easy simple.
<Definition id="tree" title="Tree">
A <Def>tree</Def> is a connected graph on <Tex>n</Tex> vertices with{" "}
<Tex>n - 1</Tex> edges<Cite id="Diestel2016" />.
</Definition>;
Macromania is a typescript-embedded domain-specific language for creating strings, using jsx syntax. You can think of it as a highly expressive but completely unopinionated templating language. It takes inspiration from lisp-like macro expansion and TeX, but the design ensures meaningful error reporting, principled interaction between stateful macros, and static typing for the input expressions.
