nopforth
nopforth copied to clipboard
A dialect of the Forth programming language
Currently the code space on x86_64 is always mapped as rwx. It would be nice to have it r-x when executing and rw- when compiling.
As a variadic argument, it should be stored in the stack, not on a register.
This fixes the failure to build src/interpreter.ns due to not finding last-signal. While here, update copyright year for recently touched files. Close #41
CI is [currently failing](https://github.com/iru-/nopforth/actions/runs/9211880069/job/25342265134) because `last-signal` is not defined for platforms that don't support signal handling. Even without signal handling nop should run just fine.
As was added in https://github.com/iru-/nopforth/pull/33 for arm64.
Based on #43. Fixes for everything other than uname/ARCH problem.
1. Output of 'uname -m' on FreeBSD 14.1 is amd64 and not x86_64. So now path in src/ is wrong. 2. C compiler could not find arch-specific files. I added...