Christoffer Lerno
Christoffer Lerno
I made some further updates.
Hmm.. looks like the libc startup isn't running for some reason.
This is likely due to the incorrect libc startup files being linked. This prevents libc startup and so `@init` functions are not run.
Argh... that was a bad regression (the lack of backtrace) it's back in now @rexim.
Line numbers of sigsegv for Darwin Arm64 is added
Nothing in-depth. Style guide and then roughly the code is: `sema*.c` - semantic checking `llvm_codegen*.c` - codegen `parse*.c` parsing `$exec` happens during semantic checking. Things happen in order, so roughly...
@Himasnhu-AT are you looking at this, otherwise I'll probably fix it.
There is one unsolved question though, and that is how to fit this *nicely* into the current syntax. So currently, `$exec` is `$exec(, , , ...)`. There is no clear...
There is now `$exec("foo", { "arg1", "arg2" }, "stdin data")`, try it out and if it works well – close this.
I wanted to avoid fork, which would be the "correct" way to setting up two-way pipes. Putting it in a file could use a temp file instead though.