Commit Graph

145 Commits

Author SHA1 Message Date
Devine Lu Linvega 57207920c8 Added time to debug build 2024-04-08 15:47:58 -07:00
Devine Lu Linvega d6a3f2af7b Trim program end 2024-04-08 15:26:53 -07:00
Devine Lu Linvega 45ebcb6a23 Reconnected rule IDs 2024-04-08 15:19:37 -07:00
Devine Lu Linvega ad2dbb2a1f Minor changes 2024-04-08 15:14:05 -07:00
Devine Lu Linvega bdb19d5ea5 Minor change 2024-04-08 15:08:22 -07:00
Devine Lu Linvega 418bf81c5a Store rule id in struct 2024-04-08 11:46:24 -07:00
Devine Lu Linvega b0663fc236 Move rules pointer on add_rule 2024-04-08 11:24:56 -07:00
Devine Lu Linvega 3f6e2b9624 Store rules boundaries in pointer 2024-04-08 11:16:42 -07:00
Devine Lu Linvega a0e795557f Removed redundant check in spacer 2024-04-08 10:50:43 -07:00
Devine Lu Linvega 6e60bebf3d Faster rewrite 2024-04-08 10:32:06 -07:00
Devine Lu Linvega 09e9e45338 Housekeeping 2024-04-08 10:23:28 -07:00
Devine Lu Linvega c25561c650 Cache value before entering spacer macro 2024-04-08 10:10:56 -07:00
Devine Lu Linvega a512cb2888 Simplified match 2024-04-08 10:03:15 -07:00
Devine Lu Linvega fcc4076d62 Allow rules to be connected 2024-04-08 09:53:22 -07:00
Devine Lu Linvega 8e22324ce2 Use walk during parse_rule 2024-04-08 09:42:37 -07:00
Devine Lu Linvega 0dc32f04f9 Walk during commit 2024-04-08 09:28:36 -07:00
Devine Lu Linvega e87950292d Removed extra check during match 2024-04-08 09:15:51 -07:00
Devine Lu Linvega 04bf0f67d4 Merged all bind helpers 2024-04-08 08:59:41 -07:00
Devine Lu Linvega 36f9bfdaee Simplifiest compare 2024-04-08 08:44:21 -07:00
Devine Lu Linvega d73bf177d5 Catch overflow 2024-04-07 20:59:45 -07:00
Devine Lu Linvega 9952b16163 Removed debug 2024-04-07 19:05:40 -07:00
Devine Lu Linvega 7ea50f18b7 Fixed issue with empty r->b rules 2024-04-07 19:03:04 -07:00
Devine Lu Linvega 66bd58b89b Write empty register name when null 2024-04-07 16:26:53 -07:00
Devine Lu Linvega 865f040da3 Removed argument queue 2024-04-07 16:16:33 -07:00
Devine Lu Linvega c61e775241 Housekeeping 2024-04-07 15:50:27 -07:00
Devine Lu Linvega 4798fe53a5 Added basic compression on input 2024-04-07 15:32:53 -07:00
Devine Lu Linvega 6cb6c810d9 Let save handle the rest of the string 2024-04-07 14:55:55 -07:00
Devine Lu Linvega 18d1987568 Removed unused definition 2024-04-07 13:10:57 -07:00
Devine Lu Linvega 47aa06a2f3 Strip double spaces 2024-04-07 13:09:58 -07:00
Devine Lu Linvega 361577caad Trim leading whitespace 2024-04-07 12:01:06 -07:00
Devine Lu Linvega d7f41dca3b Unwrapped explode 2024-04-07 11:22:18 -07:00
Devine Lu Linvega 98748fb44d Inlined load 2024-04-07 10:58:39 -07:00
Devine Lu Linvega 2250f9231e Compress program on load 2024-04-07 10:56:43 -07:00
Devine Lu Linvega 135204131a Added implode 2024-04-07 09:13:35 -07:00
Devine Lu Linvega 2831040581 Starting plode register 2024-04-07 09:08:58 -07:00
Devine Lu Linvega 84531bcfc3 Fixed matching error 2024-04-06 21:12:30 -07:00
Devine Lu Linvega e6e2188797 Inlined addrule 2024-04-06 18:09:18 -07:00
Devine Lu Linvega 8a94adc1c3 Fixed issue with inline rule definition 2024-04-06 17:59:54 -07:00
Devine Lu Linvega 44d5893139 Added I/O 2024-04-06 15:48:17 -07:00
Devine Lu Linvega afe94cf84b Send debug to stderr 2024-04-06 15:11:38 -07:00
Devine Lu Linvega 1713409a40 Added first syscall example 2024-04-06 12:38:51 -07:00
Devine Lu Linvega 0fda93ec0e Removed preliminary pass 2024-04-06 10:59:02 -07:00
Devine Lu Linvega f2a5feddd4 Print rules after evaluation 2024-04-06 10:28:00 -07:00
Devine Lu Linvega 9201f73e2a Housekeeping 2024-04-06 09:42:55 -07:00
Devine Lu Linvega 92bc8e2f4c Fixed comparison of registers 2024-04-06 09:36:30 -07:00
Devine Lu Linvega b866ad5f67 Always catch symbol cap 2024-04-06 09:19:58 -07:00
Devine Lu Linvega 544eddef36 Catch symbol cap 2024-04-06 09:14:01 -07:00
Devine Lu Linvega bb72d27e2d Only try-match during spacers 2024-04-06 09:10:19 -07:00
Devine Lu Linvega cced3c8d26 Removed copy after rewriting 2024-04-06 08:36:10 -07:00
Devine Lu Linvega f2e1b60f99 Renamed memory banks 2024-04-06 08:21:14 -07:00
Devine Lu Linvega 0d9cd63829 Housekeeping 2024-04-06 08:17:58 -07:00
Devine Lu Linvega 2322f51749 Removed parse step 2024-04-06 08:02:54 -07:00
Devine Lu Linvega 767c7e93d5 Removed redundant parsing 2024-04-06 07:57:23 -07:00
Devine Lu Linvega 52e6c5d89a Throw warning on unassigned register 2024-04-05 21:34:17 -07:00
Devine Lu Linvega d7f19f5acf Fixed issue with clipped program 2024-04-05 13:46:38 -07:00
Devine Lu Linvega f83bb5b2c8 Use addrule function during parsing 2024-04-05 13:22:07 -07:00
Devine Lu Linvega 3c99fb47f6 Inline rule parsing 2024-04-05 13:19:34 -07:00
Devine Lu Linvega 7147e8e5ad Register reassignment 2024-04-05 10:34:46 -07:00
Devine Lu Linvega 84efce7fa6 Print rule ran 2024-04-05 09:20:18 -07:00
Devine Lu Linvega 373137a054 Unwrap rules on reading 2024-04-05 09:12:49 -07:00
Devine Lu Linvega 0557b06faf Parse lines at a time 2024-04-05 08:54:39 -07:00
Devine Lu Linvega b0499fad18 Housekeeping 2024-04-04 20:38:45 -07:00
Devine Lu Linvega 70d567011e Fixed issue with walking beyond rule 2024-04-04 20:35:31 -07:00
Devine Lu Linvega b7bdc5d8cb Trim rule 2024-04-04 20:19:57 -07:00
Devine Lu Linvega c7c5a20977 Unwrap rules storage 2024-04-04 20:13:14 -07:00
Devine Lu Linvega 8702b6472b Exit after match in rewrite 2024-04-04 19:55:05 -07:00
Devine Lu Linvega 920be34b20 Fixed issue in write reg 2024-04-04 19:48:10 -07:00
Devine Lu Linvega 70a158d3da Faster walk 2024-04-04 19:40:16 -07:00
Devine Lu Linvega 070317d22d Better walk() 2024-04-04 19:37:03 -07:00
Devine Lu Linvega 689fa77380 * 2024-04-04 18:09:23 -07:00
Devine Lu Linvega 258fd27a9c Fixed issue with wrapped cells 2024-04-04 17:26:16 -07:00
Devine Lu Linvega f51040de77 More robust walking 2024-04-04 17:15:16 -07:00
Devine Lu Linvega d0acff37be * 2024-04-04 16:52:09 -07:00
Devine Lu Linvega 6ad9490f45 Do not skip first token 2024-04-04 16:31:10 -07:00
Devine Lu Linvega 23e3fc2176 Organized things a bit 2024-04-04 15:33:22 -07:00
Devine Lu Linvega 41f7807cd6 Continuous evaluation 2024-04-04 15:10:25 -07:00
Devine Lu Linvega 81a995090f Housekeeping 2024-04-04 14:59:55 -07:00
Devine Lu Linvega c174832c8e Skip empty rules 2024-04-04 14:55:51 -07:00
Devine Lu Linvega 557dfcbecf * 2024-04-04 14:48:04 -07:00
Devine Lu Linvega 91b68104d0 Writing registers 2024-04-04 12:20:06 -07:00
Devine Lu Linvega 36cf4b295f First replacement 2024-04-04 12:09:47 -07:00
Devine Lu Linvega 921cb53e2a Starting rewrite 2024-04-04 11:54:31 -07:00
Devine Lu Linvega d80725f4c8 * 2024-04-04 11:38:39 -07:00
Devine Lu Linvega f9dbae56bb * 2024-04-04 11:35:58 -07:00
Devine Lu Linvega 511053b4ca Space as spacer 2024-04-04 11:14:32 -07:00
Devine Lu Linvega 18abf56626 * 2024-04-04 11:02:57 -07:00
Devine Lu Linvega 742cbf1298 Walk over wildcards 2024-04-04 10:59:00 -07:00
Devine Lu Linvega 1a0dcb2a5e Catching wildcards 2024-04-04 10:42:43 -07:00
Devine Lu Linvega f65e5634ff Basic match 2024-04-04 10:30:31 -07:00
Devine Lu Linvega 22229bdbb9 * 2024-04-04 10:07:49 -07:00
Devine Lu Linvega 22312cf425 * 2024-04-04 10:01:09 -07:00
Devine Lu Linvega e109696e7c Improved rule packing 2024-04-04 09:56:55 -07:00
Devine Lu Linvega 69c2d1ec67 Tokenizing rules 2024-04-04 09:50:17 -07:00
Devine Lu Linvega 4cfda08fe9 Starting tokenizer 2024-04-04 09:29:36 -07:00
Devine Lu Linvega e78bc6f54a Trying a c parser 2024-04-04 09:04:27 -07:00