Commit Graph

12 Commits

Author SHA1 Message Date
5619997682 Fix create-file to truncate file. 2024-03-03 00:49:24 -08:00
b8f4a7b3c4 Refine. 2023-12-31 23:00:11 -08:00
74bfc5dcbc Add some process functions to posix. 2023-12-20 14:30:28 -08:00
9ef1ea9f90 Clean up include, autoboot, split windows, shorten start.
Drop startup timeout to 100ms.
Clean up exceptions in include.
Cleanup stack in autoboot.
Split out windows into a second string, to work around overflow issue.
2023-01-22 16:44:42 -08:00
adfd238ee2 Updating build to hopefully allow OSX builds.
dlsym opcode modified so that 0 for library is converted
to RTLD_DEFAULT as the two don't match on Darwin.

Made errno an opcode, as previous method depended on Linux internals.
[1] https://opensource.apple.com/source/xnu/xnu-201/osfmk/libsa/errno.h.auto.html
[2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/errno.html
Placed errno in internals and then alias inside posix vocabulary,
as it seemed a waste to have another builtin stub for one symbol.
Arguably maybe dlsym should be that way too, but leaving for now.

Added OS make variable to conditionally set flags.
Set stripping / minimization options based on it.

Based off of
https://github.com/flagxor/ueforth/pull/3
Thanks Ulrich!
2023-01-21 20:11:42 -08:00
5189669562 Make key return -1 on EOF. 2023-01-15 19:26:56 -08:00
1c500c2233 Simplify terminate + bye + fix build. 2022-12-31 21:02:04 -08:00
234d85bf71 Add mkdir, cd, and more, refactor. 2022-09-05 21:25:46 -07:00
109b6c064c Fixing up code words more. 2022-09-04 23:32:34 -07:00
8bed92bef9 Start of adding code word support. 2022-09-04 16:58:11 -07:00
12f80aec2b Allow more posix params. 2022-04-19 22:08:32 -07:00
fb47179999 Re-root site. 2022-02-27 20:59:19 -08:00