Devine Lu Linvega
|
53ef87a4b9
|
Inlined parse_frag
|
2024-04-24 14:03:14 -07:00 |
Devine Lu Linvega
|
9d4d20e542
|
Housekeeping
|
2024-04-24 13:49:21 -07:00 |
Devine Lu Linvega
|
bcbfe02783
|
Progress in merging parsers
|
2024-04-24 13:45:08 -07:00 |
Devine Lu Linvega
|
23ec4856e0
|
Road to merging frag parsing and rule compilation
|
2024-04-24 13:41:09 -07:00 |
Devine Lu Linvega
|
76fe5830be
|
Abstracted reg lookup
|
2024-04-24 13:35:12 -07:00 |
Devine Lu Linvega
|
986a1b47dd
|
Only get reg id once
|
2024-04-24 11:20:34 -07:00 |
Devine Lu Linvega
|
3136ae834f
|
Walk over incompiled registers
|
2024-04-24 11:18:06 -07:00 |
Devine Lu Linvega
|
4535c11017
|
Limit matches queries
|
2024-04-24 11:12:57 -07:00 |
Devine Lu Linvega
|
c63021cf03
|
Houeskeeping
|
2024-04-24 10:39:14 -07:00 |
Devine Lu Linvega
|
b866c69776
|
Compile rules
|
2024-04-24 10:31:46 -07:00 |
Devine Lu Linvega
|
c73b9f0ad7
|
Housekeeping
|
2024-04-23 20:20:31 -07:00 |
Devine Lu Linvega
|
8bb661ced0
|
Converted regs array to stack
|
2024-04-23 19:36:49 -07:00 |
Devine Lu Linvega
|
3c85bbd3b8
|
Exploding empty list -> identity
|
2024-04-23 13:51:25 -07:00 |
Devine Lu Linvega
|
a111783887
|
Fixed bug with counting parens
|
2024-04-23 09:35:58 -07:00 |
Devine Lu Linvega
|
95d8bf3d8e
|
Special registers that are non-emitting should erase themselves
|
2024-04-22 21:37:40 -07:00 |
Devine Lu Linvega
|
157d1909ea
|
Added comments
|
2024-04-22 20:50:39 -07:00 |
Devine Lu Linvega
|
91150500dd
|
Removed unecessary assign
|
2024-04-22 20:32:42 -07:00 |
Devine Lu Linvega
|
b67cf12f60
|
Use switch case for special registers
|
2024-04-22 20:22:54 -07:00 |
Devine Lu Linvega
|
f7e0e74888
|
Moved lambda from rules[0] to its own memory
|
2024-04-22 20:15:33 -07:00 |
Devine Lu Linvega
|
701d2c43a5
|
Do not continue after lambda rewrite
|
2024-04-22 20:13:19 -07:00 |
Devine Lu Linvega
|
ba48cfffa6
|
Rewind
|
2024-04-22 20:08:29 -07:00 |
Devine Lu Linvega
|
9c95b4567b
|
Return lambda to its own memory
|
2024-04-22 18:02:27 -07:00 |
Devine Lu Linvega
|
7a27c2ca5b
|
Housekeeping
|
2024-04-22 17:54:17 -07:00 |
Devine Lu Linvega
|
9b034eac95
|
Merged all regs needing functions
|
2024-04-22 17:43:35 -07:00 |
Devine Lu Linvega
|
4fce0e83e5
|
Abstracted match/write rule
|
2024-04-22 17:39:39 -07:00 |
Devine Lu Linvega
|
8e7bbb51d7
|
Store lambda in rules[0]
|
2024-04-22 17:27:34 -07:00 |
Devine Lu Linvega
|
e153eb797b
|
Print unused rules
|
2024-04-22 15:29:54 -07:00 |
Devine Lu Linvega
|
6fb9f96b0c
|
Oups
|
2024-04-22 10:10:55 -07:00 |
Devine Lu Linvega
|
aa0cc80455
|
Inlined set_reg
|
2024-04-22 09:54:41 -07:00 |
Devine Lu Linvega
|
ed5c0763e2
|
Warn on imbalance
|
2024-04-21 09:46:53 -07:00 |
Devine Lu Linvega
|
05e620bac5
|
Inlined create_rule
|
2024-04-21 09:24:05 -07:00 |
Devine Lu Linvega
|
73e9ebcfdd
|
Only check for register value once
|
2024-04-21 09:13:30 -07:00 |
Devine Lu Linvega
|
7a124eb70f
|
Do not pass last to write_rule
|
2024-04-20 22:31:58 -07:00 |
Devine Lu Linvega
|
222c7f6f4c
|
Blacklist ?) register
|
2024-04-20 21:50:56 -07:00 |
Devine Lu Linvega
|
4322d96ee2
|
Improved native substring capabilities
|
2024-04-20 18:56:04 -07:00 |
Devine Lu Linvega
|
529777fcb4
|
Can merge token during reg writing
|
2024-04-20 12:06:32 -07:00 |
Devine Lu Linvega
|
9029c64c77
|
A register is surrounded by spacers
|
2024-04-20 12:00:25 -07:00 |
Devine Lu Linvega
|
b725a608da
|
Escape question marks
|
2024-04-20 11:26:57 -07:00 |
Devine Lu Linvega
|
f139f3218e
|
Do not injest register on empty put_reg
|
2024-04-20 11:09:43 -07:00 |
Devine Lu Linvega
|
6a61088a70
|
Use cached data in register
|
2024-04-20 11:01:20 -07:00 |
Devine Lu Linvega
|
0e6e963425
|
Fixed issue with matching tokens of different length
|
2024-04-19 14:08:18 -07:00 |
Devine Lu Linvega
|
f35eb2c8ec
|
Added quiet/infinite flags
|
2024-04-18 11:33:23 -07:00 |
Devine Lu Linvega
|
7a93de35ad
|
Fixes issue with trailing ws
|
2024-04-17 11:40:47 -07:00 |
Devine Lu Linvega
|
88649fce12
|
Fixes whitespace bug
|
2024-04-17 11:18:37 -07:00 |
Devine Lu Linvega
|
6e0d3bb9e0
|
New explode/join registers
|
2024-04-17 10:35:40 -07:00 |
Devine Lu Linvega
|
3bce3dab79
|
Added align register
|
2024-04-17 09:17:31 -07:00 |
Devine Lu Linvega
|
9dd3439986
|
Added unpack register
|
2024-04-17 08:47:39 -07:00 |
Devine Lu Linvega
|
2449bac4ad
|
Faster register clear
|
2024-04-16 14:45:56 -07:00 |
Devine Lu Linvega
|
8df2a496cc
|
Reduce register clearing tasks
|
2024-04-16 13:51:34 -07:00 |
Devine Lu Linvega
|
acb655ad10
|
Use character in variable
|
2024-04-16 12:24:57 -07:00 |
Devine Lu Linvega
|
1fdda010eb
|
Fixed issue with > as first character
|
2024-04-16 08:24:55 -07:00 |
Devine Lu Linvega
|
205cd340b5
|
Improved examples
|
2024-04-15 16:26:25 -07:00 |
Devine Lu Linvega
|
60325b23a3
|
Fixed issue with unwrapping rues
|
2024-04-15 15:58:38 -07:00 |
Devine Lu Linvega
|
0012004ee5
|
Fixed issue with cycles count
|
2024-04-15 12:08:27 -07:00 |
Devine Lu Linvega
|
966304f09a
|
Halt after a number of rewrites
|
2024-04-15 08:47:20 -07:00 |
Devine Lu Linvega
|
8d661163af
|
Housekeeping
|
2024-04-14 19:39:31 -07:00 |
Devine Lu Linvega
|
4205cc8792
|
Use stored pointer for src_
|
2024-04-14 19:36:16 -07:00 |
Devine Lu Linvega
|
8705ebebc6
|
Fixed issue with ?~ register
|
2024-04-14 17:41:22 -07:00 |
Devine Lu Linvega
|
b5b6472ebc
|
?~ register now takes in an argument
|
2024-04-14 17:33:42 -07:00 |
Devine Lu Linvega
|
dacb9836a0
|
Fixed issue with trailing whitespace
|
2024-04-14 16:58:26 -07:00 |
Devine Lu Linvega
|
8ccb19d897
|
Removed padding of curlies and square brackets
|
2024-04-13 19:28:39 -07:00 |
Devine Lu Linvega
|
cbfa3be00d
|
Updated date
|
2024-04-13 16:25:55 -07:00 |
Devine Lu Linvega
|
7e7e455b03
|
Attempt at spacing out special characters
|
2024-04-13 16:25:19 -07:00 |
Devine Lu Linvega
|
42fd486a41
|
Do not walk twice for explode
|
2024-04-13 16:22:37 -07:00 |
Devine Lu Linvega
|
70e96e9644
|
Added comments for special registers
|
2024-04-13 16:16:47 -07:00 |
Devine Lu Linvega
|
e897e59f7a
|
Fixed issue with empty plode register
|
2024-04-13 16:12:55 -07:00 |
Devine Lu Linvega
|
fed55d58b3
|
Added missing rune in empty register writing
|
2024-04-12 14:35:29 -07:00 |
Devine Lu Linvega
|
ea9935babb
|
Allow for empty right-hand side rules
|
2024-04-12 10:30:59 -07:00 |
Devine Lu Linvega
|
5249d7612d
|
Do not walk whitespace on create_rule
|
2024-04-12 10:07:42 -07:00 |
Devine Lu Linvega
|
8bdb791365
|
Housekeeping
|
2024-04-12 09:56:07 -07:00 |
Devine Lu Linvega
|
dfbb9c4fac
|
Only test for registers following a spacer
|
2024-04-12 09:45:53 -07:00 |
Devine Lu Linvega
|
86bc540ee2
|
Generalized space-eating writing
|
2024-04-12 09:34:55 -07:00 |
Devine Lu Linvega
|
9c9814d6f7
|
Do not pick up on varibles when part of words
|
2024-04-12 09:29:03 -07:00 |
Devine Lu Linvega
|
931d43ea9c
|
Fixed space leak
|
2024-04-12 08:54:07 -07:00 |
Devine Lu Linvega
|
e04d4fa23f
|
Added escape character for space
|
2024-04-12 07:35:46 -07:00 |
Devine Lu Linvega
|
2b7b68d713
|
Housekeeping
|
2024-04-11 13:37:23 -07:00 |
Devine Lu Linvega
|
ad4738bce1
|
Fixed issue with lambda
|
2024-04-11 13:08:08 -07:00 |
Devine Lu Linvega
|
3b415e52da
|
Fixed issue with lambdas
|
2024-04-11 12:41:05 -07:00 |
Devine Lu Linvega
|
4bedea3880
|
Housekeeping
|
2024-04-11 10:52:13 -07:00 |
Devine Lu Linvega
|
a890215143
|
Simpler plode
|
2024-04-11 10:02:53 -07:00 |
Devine Lu Linvega
|
819ea2f1fa
|
Explode terminates in an empty list
|
2024-04-11 09:54:31 -07:00 |
Devine Lu Linvega
|
30690c1d83
|
Housekeeping
|
2024-04-11 09:40:04 -07:00 |
Devine Lu Linvega
|
64e8bc30ab
|
Housekeeping
|
2024-04-11 09:26:55 -07:00 |
Devine Lu Linvega
|
50424f4d0c
|
Housekeeping
|
2024-04-11 09:08:07 -07:00 |
Devine Lu Linvega
|
5f70f09ce3
|
Abstracted create_rule
|
2024-04-11 08:53:49 -07:00 |
Devine Lu Linvega
|
528331b35a
|
put_reg should not return int
|
2024-04-11 08:21:57 -07:00 |
Devine Lu Linvega
|
79eef78cbd
|
Assign -1 id to lambdas
|
2024-04-10 13:14:51 -07:00 |
Devine Lu Linvega
|
0b2d71a4d9
|
Housekeeping
|
2024-04-10 13:08:50 -07:00 |
Devine Lu Linvega
|
a966253bd7
|
Added lambda support
|
2024-04-10 12:30:17 -07:00 |
Devine Lu Linvega
|
19b3c03a8a
|
Converging lambdas and match
|
2024-04-10 12:25:31 -07:00 |
Devine Lu Linvega
|
3c5e3de38f
|
Initial lambda support
|
2024-04-10 12:19:44 -07:00 |
Devine Lu Linvega
|
d255500447
|
Disconnected rule parsing and storage
|
2024-04-10 11:39:15 -07:00 |
Devine Lu Linvega
|
37c92c4914
|
Standardizing the add_rule funciton
|
2024-04-10 11:30:26 -07:00 |
Devine Lu Linvega
|
9f7faa41b5
|
Abstracting rule parser
|
2024-04-10 11:13:18 -07:00 |
Devine Lu Linvega
|
417ac2f2ad
|
Fixed issue in explode
|
2024-04-10 09:04:01 -07:00 |
Devine Lu Linvega
|
452b5026be
|
Started new stdin UX
|
2024-04-09 10:29:33 -07:00 |
Devine Lu Linvega
|
eee55d5c6d
|
Print rules as they happen
|
2024-04-09 08:56:25 -07:00 |
Devine Lu Linvega
|
21ec6b9e6a
|
Check for ?: register value before transform
|
2024-04-08 20:23:58 -07:00 |
Devine Lu Linvega
|
16a1617820
|
Modified stdout register
|
2024-04-08 19:57:33 -07:00 |
Devine Lu Linvega
|
accc108817
|
Added linebreak escape character
|
2024-04-08 16:13:19 -07:00 |