2 ms·
Are there any compilers that let you run arbitrary code (like running external processes) at compile time?
by pabs3 5y ago
Are there any compilers that let you run arbitrary code (like running external processes) at compile time?
- valcron1000 5y agoHaskell's GHC allows you to do anything at compile time. Literally anything.
- cb321 5y agoNim has staticRead and staticExec to run external processes. [1] [1] https://stackoverflow.com/questions/55891650/how-to-use-slurp-gorge-staticread-staticexec-in-the-directory-of-the-callsite https://stackoverflow.com/questions/55891650/how-to-use-slur...