6884898cb1
Peel off assemblers into optional module.
...
Not sufficiently tested.
2023-07-05 15:00:59 -07:00
0f47287dfa
Improving path-join.
2023-05-25 19:35:13 -07:00
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
5a40463464
Implicit ls in current directory.
2023-02-06 20:34:50 -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
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
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
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
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
447c63a6f0
Adding RISC-V assembler/disassembler.
...
Probably should be conditionally added for ESP32-C3 only.
2022-11-11 23:25:34 -08:00
4751b31c40
Fixing a bug in CASE.
2022-11-08 19:42:44 -08:00
6b597aebc2
More xtensa assembler improvements.
2022-10-21 23:06:36 -07:00
32f66894c0
Fix disassembly more.
2022-10-21 21:59:25 -07:00
624dab60a9
Add byte emission.
2022-10-21 21:44:49 -07:00
742b8f9cb0
Adding address to disassembly.
2022-10-21 21:09:45 -07:00
cd1e0d9ee9
Fixing up vocabulary layering for assembler.
2022-10-21 21:05:14 -07:00
e69c1dba0c
WIP Xtensa Assembler/Disassembler.
2022-10-21 20:07:26 -07:00
e28b4f0130
Adding WIP alternate case approach.
2022-10-16 13:56:09 -07:00
30665011df
Probably better definition of CASE.
2022-09-23 22:49:37 -07:00
58f5cb249d
Simple CASE implementation.
2022-09-23 22:42:05 -07:00
234d85bf71
Add mkdir, cd, and more, refactor.
2022-09-05 21:25:46 -07:00
0dbe262abf
Refining file handling.
2022-09-05 18:31:44 -07:00
8cd205a9a5
Added mv, fixed rename of esp32, and added touch.
2022-09-05 17:29:41 -07:00
a6dddb83e1
More shell type commands.
2022-09-05 17:18:01 -07:00
3be3f23d8b
Adding cat.
2022-09-05 17:01:03 -07:00
cadc350d30
Fixing issue with opening existing file in editor.
2022-09-05 16:52:16 -07:00
109b6c064c
Fixing up code words more.
2022-09-04 23:32:34 -07:00
393b54d873
Fixup see for code words.
2022-09-04 17:05:06 -07:00
8bed92bef9
Start of adding code word support.
2022-09-04 16:58:11 -07:00
17a8dbbf59
Fixed up bterm to work on tighter devices.
...
Added way to RELINQUISH part of the forth heap.
key? for bluetooth serial.
2022-09-04 14:39:28 -07:00
b4437658bf
Improving dump.
2022-09-04 11:35:38 -07:00
1ed8d074ae
Adding visual editor.
2022-08-12 21:52:11 -07:00
243087aee1
Adding stack over/underflow check.
2022-07-31 21:53:13 -07:00
a32fce7334
Fixup decompile DO LOOP.
2022-07-30 17:01:48 -07:00
f0a1d54b35
Condense DO LOOP.
2022-07-30 16:49:11 -07:00
1e6aeacbe3
Tweaking indent.
2022-07-30 15:54:11 -07:00
a2aa0c50e2
Switch #f+s to FOR..NEXT.
2022-07-30 15:44:49 -07:00
94bb09481d
Switch dump to FOR..NEXT.
2022-07-30 15:40:58 -07:00
157b5562bc
Tab DOES> differently.
2022-07-30 15:11:28 -07:00
5f90ef3a83
Fixed up ; indent.
2022-07-30 15:08:31 -07:00