Jacob Lagares Pozo
Jacob Lagares Pozo
Wouldn't calls like `popen` already work with a posix-compliant toolchain such as mingw?
I do think cygwin has though http://www.polarhome.com/service/man/?qf=popen&tf=2&of=Cygwin&sf=
Yeah well, since the STL doesn't support processes natively, I guess our only option is to abstract them away and hide the platform-dependent code inside some ifdefs. But I'm not...
We should add a flag during compilation that disables the shell feature completly. Something like `-DWPP_DISABLE_SHELL`, and wrap the shell code within `#ifdefs`.
The dev branch has since been merged with master.
Since now we have conditionals, I guess we should implement a max recursion limit. Also, I see that arg parsing is in the works, perhaps we could have a command...
I agree, but regardless of the halting problem, I don't think it would be too hard to check for a function that unconditionally calls itself and throw a warning.
If we find more complex cases such as something like ```wpp let a b let b a a ``` we might as well just give up, but for a function...
So are you actually working on a newer version?
:( The best part is that I know OpenGL but not C++.