bab72b79a7
Fix LOOP/+LOOP bug.
...
Forth-83 and after pick a more useful definition of how
LOOP and +LOOP should decide termination:
if the last step traversed between limit-1 and limit.
This allows for signed or unsigned loops with the same construct.
Updating to this behavior + adding test + fixing old test
that didn't match gforth.
2023-05-05 00:46:18 -07:00
705e839c62
Fix overlap of system variables for float stack.
2023-04-23 21:44:37 -07:00
c43cbfd9d9
Replumbing timers working around Arduino change.
...
Bumping version number and changing example.
Interrupt WDT now makes example flaky so changing.
2023-04-17 18:10:20 -07:00
c7dcbbef36
Fixing TIMG constant.
...
Thanks for catching mpetremann!
2023-04-08 07:22:13 -07:00
fb3db70da6
Adding text size.
2023-02-24 21:25:54 -08:00
244f16b898
Handle multiple script tags.
2023-02-24 21:04:26 -08:00
da324bdf70
Adding script load.
...
Still need to enhance to support script src.
2023-02-21 21:08:03 -08:00
d2c62a35b9
Make it possible to defer start, boost web memory.
2023-02-20 18:11:45 -08:00
5a40463464
Implicit ls in current directory.
2023-02-06 20:34:50 -08:00
44d550dab0
Simplify.
2023-02-05 12:41:27 -08:00
db72474bcb
Label exceptions.
2023-02-05 12:22:12 -08:00
2b05d7794e
Refactor inching towards risc-v fault handling.
2023-02-05 11:58:48 -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
40400b873e
Cleaning up throw values around division + faults.
2023-01-22 15:08:14 -08:00
cfd70d6712
Make thrown value match standards.
2023-01-22 12:16:57 -08:00
f82e423fb4
Add abort, abort" and start on testing throw values.
2023-01-22 12:06:58 -08:00
5c918d91f6
Bump version number.
2023-01-21 21:28:55 -08:00
fe87f1574c
Adding platform detection opcodes + fix assembler bug.
...
Adding flags to allow runtime detection of different esp32 models,
riscv vs xtensa, and psram.
Use this to conditionally compile hook for relevant assemblers.
2023-01-21 21:27:29 -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
6ed9c2141e
Use proper name.
2023-01-20 23:12:08 -08:00
b87d21e548
Fix bug in strcase=.
2023-01-16 13:21:38 -08:00
5189669562
Make key return -1 on EOF.
2023-01-15 19:26:56 -08:00
d78953151a
Tweaking include order to avoid b0, b1, etc. macro clash, bump version.
2023-01-14 23:14:01 -08:00
75d9185027
Align PARK/UNPARK with THROW/CATCH.
2023-01-14 22:53:30 -08:00
2f79192ea0
Refactor fault handling.
2023-01-14 22:28:38 -08:00
f8cfaedc84
Adding tests for faults.
2023-01-14 18:31:33 -08:00
3dcd421576
Windows Ctrl-C working.
2023-01-14 17:38:58 -08:00
fc6c771d86
Merge branch 'main' into win_break
2023-01-14 15:06:56 -08:00
3ba96a284f
Bump version.
2023-01-14 15:06:25 -08:00
106fdcb63d
Shunt out more things for camera + bluetooth when not there.
2023-01-14 15:05:44 -08:00
600e82d67e
Add fault handling for ESP32, ESP32-S2, and ESP32-S3.
...
Also bump the version.
2023-01-04 21:45:26 -08:00
b155e49a63
Intercept division by zero with a fault handler.
2023-01-04 21:17:49 -08:00
3d1cf4b93c
Making [IF] [THEN] work at console, bumping version.
2023-01-03 21:01:51 -08:00
a1a934397d
Fix branch decoding.
2023-01-02 21:08:53 -08:00
1b52ba02d1
trying to make ctrl-c work on windows.
2022-12-31 23:02:15 -08:00
b720575fb2
Adding exception handling for windows.
2022-12-31 22:13:19 -08:00
1c500c2233
Simplify terminate + bye + fix build.
2022-12-31 21:02:04 -08:00
d60606b4c8
Fix bug in signals for posix.
2022-12-31 19:26:20 -08:00
5afdbf0423
Adding posix signal handling.
2022-12-31 16:21:43 -08:00
f77a65ce3c
Add more to makefile.
2022-11-25 16:53:10 -08:00
d801d14540
Updating makefile and readme.
2022-11-25 16:52:13 -08:00
4052ebcb81
Drop flag causing compatibilities issues on raspberry pi w/ gcc.
2022-11-25 13:48:53 -08:00
595ed9e829
Ameliorate race condition with web import.
2022-11-19 22:37:29 -08:00
80fb47f87b
Fix name clash between visual vocab + name in posix grapihcs.
2022-11-19 22:05:55 -08:00
d5675806fc
More bindings.
2022-11-19 00:54:45 -08:00
7758bd3ba7
Fix picker bug.
2022-11-19 00:31:46 -08:00
e8bb29eff7
Various improvments.
2022-11-18 23:42:03 -08:00
e9181479fc
Improving mouse and tasks.
2022-11-18 22:53:09 -08:00
8ee1eafef6
Adding import + fix bug in web Find.
2022-11-18 20:11:19 -08:00
5437048f33
Change audio approach.
2022-11-17 23:20:40 -08:00