Commit Graph

91 Commits

Author SHA1 Message Date
StackSmith f76efb0bfb parsing environment variables 2023-10-01 22:10:04 -04:00
StackSmith 2c0fa53c08 separated endless interpret lop into INTERP; both OUTER and LOADH now use it (LOADH failed) 2023-10-01 19:17:40 -04:00
StackSmith 7b018e819f hd for hexdump (used to be dump) 2023-10-01 18:35:55 -04:00
StackSmith 81f4847e38 new {{ lambda }} support with 2-slot overhead instead of 4 2023-09-24 10:30:10 -04:00
StackSmith 6797e98570 nf.f and nforth.f now compliant with { } syntax 2023-09-22 15:12:46 -04:00
StackSmith 2e01e5e280 more or less working compile-dominant 2023-09-22 10:50:40 -04:00
StackSmith fa37aba962 fixed { and : to work in interpret-dominant mode 2023-09-22 09:52:42 -04:00
StackSmith 9492be88a6 Back to RUNPTR and pseudo-interpreter-dominant system 2023-09-21 16:02:08 -04:00
StackSmith bfe413bbf8 CREATE, streamlined defining 2023-09-20 16:47:24 -04:00
StackSmith 5b50be4ddd cr before printing error line on error to match error position 2023-09-19 11:04:42 -04:00
StackSmith 2f2a6ba393 reworked ws and reload code in forth... 2023-09-18 21:23:22 -04:00
StackSmith e7e22a3833 working 2023-09-18 12:54:39 -04:00
StackSmith 276ec2289b working on entry point 2023-09-18 09:25:17 -04:00
StackSmith be877e1f0b Fixed < to work with signed numbers; tstamp.f 2023-09-16 16:57:56 -04:00
StackSmith 39e9dc88c9 Using a single BASE instead of lispy PRINT.BASE and READ.BASE 2023-09-16 16:16:25 -04:00
StackSmith d9a3b1e978 Merge branch 'main' of tildegit.org:stack/nforth 2023-09-16 15:17:36 -04:00
StackSmith 05f5054507 vimrepl 2023-09-16 14:40:12 -04:00
StackSmith bd2bbe9c98 lit, 2023-09-15 11:53:14 -04:00
StackSmith 5840299a65 Mentioned sync and abort in README 2023-09-14 19:31:05 -04:00
StackSmith ff458effa0 Updated 'included;' to use state machinery. 2023-09-14 19:22:11 -04:00
StackSmith 87f7fbbc89 cleaning up. Loading does not work, must think about it 2023-09-13 18:53:42 -04:00
StackSmith ab3582af75 Eliminated RUNPTR, now have STATE. sync, .. executes from sync point 2023-09-13 17:26:01 -04:00
StackSmith c5cf64eed8 Always compiling; [...] blocks are executed; ( ) is grouping 2023-09-13 16:04:09 -04:00
StackSmith a8de773c38 Using () instead of [] to group compilation 2023-09-13 11:23:58 -04:00
StackSmith 683663cefb formatting cleanup 2023-09-13 11:08:27 -04:00
StackSmith eda7a33e01 ,fixup, to compile a jump and leave fixup address on stack 2023-09-12 19:34:09 -04:00
StackSmith a5b2912be3 implemented eval (asm) and lambda (nf.f) 2023-09-12 17:24:18 -04:00
StackSmith 272c5b036f cleaned up date stuff 2023-09-12 12:27:58 -04:00
StackSmith 1aed3c3828 implemented nth, neg? 2023-09-11 15:26:45 -04:00
StackSmith 77b1faa729 implemented < (unsigned for now) 2023-09-10 22:35:58 -04:00
StackSmith 5309f54519 fix: dbra left junk on dstack and popped rstack 2023-09-09 22:06:38 -04:00
StackSmith 88fd1cc1c0 fixed: crashed if parse error immediately at start of line 2023-09-09 21:17:01 -04:00
StackSmith 3e8b46aed0 2x,sp2 2023-09-09 20:54:29 -04:00
StackSmith 635b84e6e4 updated README to reflect alignment 2023-09-08 18:54:51 -04:00
StackSmith 9f4546e465 Alignment is now 2; low bit is still IMMEDIATE 2023-09-08 11:25:09 -04:00
StackSmith 4cac45c0d2 BROKEN! trying to change alignment to 2: 2023-09-08 10:16:31 -04:00
StackSmith a18f898140 cleaned up output primitieve 2023-09-08 09:29:56 -04:00
StackSmith d56f96adc7 replaced _is_ws function with a much simpler _IS_WS macro, sets C flag now on WS. 2023-09-08 09:10:02 -04:00
StackSmith 812cd8c7e9 fix: over used RSP instead of DSP 2023-09-07 18:53:45 -04:00
StackSmith c2cc5adedc fixed num reader to default to READ.BASE, but $ is hex. 2023-09-07 16:52:41 -04:00
StackSmith ec94ad8b62 fixed num reader to default to READ.BASE, but $ is hex. 2023-09-07 16:43:16 -04:00
StackSmith e8fb92fec4 README clarification re: nforth.f and nf.f 2023-09-07 16:22:06 -04:00
StackSmith 35fa381763 cleaned up xloadh to forward errors other than EOF 2023-09-07 16:09:45 -04:00
StackSmith 7a77c63d3a moved debugging out of kernel into nf.f 2023-09-07 14:34:06 -04:00
StackSmith 1acfa14dab bootstrapping via appended nforth.f. Got conditionals in nf.f 2023-09-06 21:42:11 -04:00
StackSmith 779c5af0c6 readme for new bootstrap mechanism 2023-09-06 16:07:39 -04:00
StackSmith 6f515f4193 bootstrap work 2023-09-06 16:04:04 -04:00
StackSmith 4af7de4142 bootstrapping 2023-09-06 14:08:51 -04:00
StackSmith 7e3e54e6ab bootstrapping with forth source appended to kernel 2023-09-06 13:46:15 -04:00
StackSmith 4452846b26 executing bootstrap code at end of kernel 2023-09-06 13:24:57 -04:00