Vindaar / shell

A Nim mini DSL to execute shell commands

Home Page:https://vindaar.github.io/shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make `shell` work at Nim compile time

Vindaar opened this issue · comments

Currently shell only works either at runtime or in NimScript. However, it should be possible to also have it work at CT. At the moment the decision of which code branch to run is simply done based on when defined(NimScript). This needs to be extended by a when nimvm branch, which then uses gorge to execute the commands.

Thanks @Clonkk about the reminder about gorge!