Commit Graph
74 Commits
Author SHA1 Message Date
MightyPork 10dbb3b425 add overrun check to SEE 2021-11-27 17:05:14 +01:00
MightyPork 6e045af565 safely abort on exec of uninitialized mem or addr 0 2021-11-27 17:00:44 +01:00
MightyPork d163fb22c5 implement source ID, better error handling in nested input 2021-11-27 16:53:34 +01:00
MightyPork 56ab10f6c8 fix implementation of ABORT, ABORT" and QUIT 2021-11-27 15:55:12 +01:00
MightyPork 002c9cb100 add PARSE, PARSE-NAME 2021-11-27 11:00:09 +01:00
MightyPork 13a069f075 fixes for .( 2021-11-27 01:41:33 +01:00
MightyPork 8d66238f47 implement saving and restoring input, at least for string (file not tested) 2021-11-27 01:37:16 +01:00
MightyPork 877c98d262 fix bad end handling in string-input 2021-11-27 00:04:12 +01:00
MightyPork b09bbc4afa some fixes 2021-11-23 01:14:35 +01:00
MightyPork b7443ca9d4 fix fucked execptr after pushing input 2021-11-22 22:58:46 +01:00
MightyPork 7bc96a8f58 debugging 2021-11-22 11:36:54 +01:00
MightyPork 5db9ae83d3 fix >IN manipulation not taken into account at line end 2021-11-22 11:17:43 +01:00
MightyPork 042a08bcad add INCLUDE and INCLUDED 2021-11-22 10:41:55 +01:00
MightyPork d0cead3c42 evaluate implemented 2021-11-22 00:47:55 +01:00
MightyPork ab1b39598c convert input parsing to pluggable specs 2021-11-22 00:07:53 +01:00
MightyPork cab55d835b reformat code, some cleaning 2021-11-21 20:45:49 +01:00
MightyPork 8248637157 add COMPILE, ERASE, .R 2021-11-21 18:09:41 +01:00
MightyPork c0c88ebd42 implement C" 2021-11-21 17:42:50 +01:00
MightyPork 3c90303589 fix NONAME recurse 2021-11-21 17:22:09 +01:00
MightyPork e7d0053915 implemented CASE-OF 2021-11-21 17:17:20 +01:00
MightyPork f2d0d82eb3 implement BUFFER: 2021-11-21 16:27:48 +01:00
MightyPork a204966014 implement MARKER 2021-11-21 16:16:08 +01:00
MightyPork 5ddba1b4e2 implement WITHIN 2021-11-21 16:12:24 +01:00
MightyPork 94ad9986cb WIP within 2021-11-21 14:12:35 +01:00
MightyPork 71dd84efee fix word resolvable before finished 2021-11-21 14:00:16 +01:00
MightyPork bcc804289f more words implemented 2021-11-21 13:47:31 +01:00
MightyPork 37a1582801 implement >NUMBER, <# #> fixes 2021-11-21 12:51:06 +01:00
MightyPork 5600c4d106 implement pictured numbers 2021-11-21 11:20:59 +01:00
MightyPork 9b7f780d91 fix DOES> 2021-11-21 09:32:15 +01:00
MightyPork a096f55a67 more fixes in DOES>, now it's almost correct and extra weird 2021-11-21 00:32:38 +01:00
MightyPork 41f36400ed wip DOES>, maybe working? 2021-11-20 20:21:22 +01:00
MightyPork 090cbd1fc5 fix loop end checking 2021-11-20 19:48:09 +01:00
MightyPork f23c8260c9 bigger stack 2021-11-18 23:13:33 +01:00
MightyPork 7a64470851 fix postpone 2021-11-18 23:02:25 +01:00
MightyPork e67d85d64e many fixes and add some missing words 2021-11-17 23:58:01 +01:00
MightyPork dd12f8170a commas 2021-11-17 18:44:58 +01:00
MightyPork a79952531c typos 2021-11-17 18:44:14 +01:00
MightyPork add154df51 move junk to subfolder, add readme 2021-11-17 18:34:35 +01:00
MightyPork be084210f9 many new words and some fixes 2021-11-17 17:51:51 +01:00
MightyPork 5da44313c5 many fixes using prelimtest 2021-11-17 15:39:44 +01:00
MightyPork 883cc7faf1 add U.R, MOD 2021-11-17 01:43:56 +01:00
MightyPork 651fe65ae2 fixes 2021-11-17 01:10:26 +01:00
MightyPork 569536ae86 add variables, fix negative allot not working 2021-11-17 00:59:50 +01:00
MightyPork ef2e6943bd big refactor and add DO-LOOP and DO-+LOOP and LEAVE 2021-11-17 00:06:09 +01:00
MightyPork f74d157a7c refactor "next word/string" parsing to work inside the definition without substates, add char and [char], add .\" and s\" 2021-11-16 01:09:23 +01:00
MightyPork 7f08e8717f moved buffer into heap, prep to remove substates 2021-11-15 23:47:29 +01:00
MightyPork d79898fa20 remove some direct access to stack arrays 2021-11-15 23:25:56 +01:00
MightyPork c2cba4c057 merged dict with heap 2021-11-15 23:07:46 +01:00
MightyPork 964aec76c8 control stack merged into data stack 2021-11-15 22:21:26 +01:00
MightyPork 2d30f61387 use one buffer for both compiled code and data 2021-11-15 21:48:20 +01:00
MightyPork 44fd2f3dbc add [ ] and literal 2021-11-15 20:02:29 +01:00
MightyPork acfab363d3 add depth and unused 2021-11-15 00:31:07 +01:00
MightyPork c02b3599fb bitwise arith, more loops 2021-11-15 00:26:13 +01:00
MightyPork 0f5eda0def add ALIGNED 2021-11-15 00:03:10 +01:00
MightyPork 26c65655e1 demo of nested loop 2021-11-15 00:01:04 +01:00
MightyPork 5dc19b88ed begin while repeat 2021-11-14 23:58:00 +01:00
MightyPork 2f0f1877fe postpone works now 2021-11-14 23:18:35 +01:00
MightyPork 1be97e4f0e implement IF-THEN-ELSE 2021-11-14 00:36:44 +01:00
MightyPork f013e52c94 improved override 2021-11-13 22:39:09 +01:00
MightyPork 3c57373992 word overwrite, reset cmd, disassembly 2021-11-13 22:35:06 +01:00
MightyPork 3eae9abada add nip 2021-11-13 21:02:28 +01:00
MightyPork d6c30d5414 emit 2021-11-13 20:54:22 +01:00
MightyPork 8c006a0d87 implement exit 2021-11-13 20:22:24 +01:00
MightyPork bc6d7e5d25 new words 2021-11-13 20:10:05 +01:00
MightyPork e63c2287af more stack ops, fix ( in compile mode 2021-11-13 18:33:51 +01:00
MightyPork cf1a0cd99b move to folders, more cleaning and fixes 2021-11-13 17:35:20 +01:00
MightyPork 68ddeb3e17 split to files 2021-11-13 17:23:13 +01:00
MightyPork 85feba4fdf improvements, fixes 2021-11-13 16:38:20 +01:00
MightyPork 6f9ffc7d20 fixes and more comments, cleaning 2021-11-13 16:28:52 +01:00
MightyPork 15848e203b add comments 2021-11-13 15:40:09 +01:00
MightyPork c225928b54 fix strings 2021-11-13 13:57:08 +01:00
MightyPork c1714736b2 better state change logging 2021-11-13 13:45:38 +01:00
MightyPork 8e5ce50624 fixes, add infile option, add logging 2021-11-13 13:08:12 +01:00
MightyPork 72ff4b510d initial WIP 2021-11-11 00:21:26 +01:00