I have used Nim's macro system to generate Squeak source code but the easiest route might be to use the compiler as a library and adapt `compiler/renderer.nim` to produce Pascal code.
- Generating pascal interface markprocess
- Re: Generating pascal interface Stefan_Salewski
- Re: Generating pascal interface markprocess
- Re: Generating pascal interface Araq
- Re: Generating pascal interface markprocess
