Closed mschwartz closed 1 year ago
Not sure what the issue is with Makefile. I just deleted one line.
Maybe line endings or tabs/spaces?
You might want to look at the failed test. It failed on 64 bit and whatever endianness the m1 CPU uses.
We can trivially add more command line switches and options. I see in the tests how you pipe FORTH code as stdin to pforth. Neat.
https://github.com/philburk/pforth/issues/131
Added getopt to parse arguments.
Removed a compiler flag that was being flagged with a warning message on my Mac.
Not sure why this can't automatically merge. Maybe you need to fix something in your repo?
I didn't test on linux. Don't see why it wouldn't work identically. The getopt() function is in.
No change in functionality except: added -h and -? for help:
Note that make test with the main branch code reports the same one error as this PR.
Output of 'make test':