Devine Lu Linvega
e3316d6cbe
Lambda should not print when application fail
2024-05-10 09:52:03 -07:00
Devine Lu Linvega
3cbd3d196d
Faster parse frag
2024-05-10 09:45:58 -07:00
Devine Lu Linvega
318a5fddf5
Reformatted parse_frag
2024-05-10 09:36:40 -07:00
Devine Lu Linvega
f6d0cc8ece
Use copy() in parse_frag
2024-05-10 09:31:09 -07:00
Devine Lu Linvega
0de5bb473b
Improved implementation of file_import
2024-05-10 08:42:37 -07:00
Devine Lu Linvega
fec9cffcd6
Removed formatter for file input
2024-05-09 21:01:55 -07:00
Devine Lu Linvega
87cc3e816f
Abstracted copy string
2024-05-09 16:45:34 -07:00
Devine Lu Linvega
2ce9aadd56
Added file_import
2024-05-09 16:17:12 -07:00
Devine Lu Linvega
defe9ed963
Housekeeping
2024-05-09 15:15:04 -07:00
Devine Lu Linvega
002da4bcc2
Abstracted writing
2024-05-09 14:24:21 -07:00
Devine Lu Linvega
680a039cf9
Removed lambda rule memory
2024-05-07 08:20:39 -07:00
Devine Lu Linvega
09dd2a9795
Added CapitalExs mandelbrot
2024-05-07 07:55:04 -07:00
Devine Lu Linvega
0f3c1b4fb8
Print output
2024-05-04 14:47:31 -07:00
Devine Lu Linvega
7c247d7181
Smarter clean up of dirty registers
2024-05-04 12:34:38 -07:00
Devine Lu Linvega
19d03dc116
Do not consume dictionary in lambdas
2024-05-04 12:25:19 -07:00
Devine Lu Linvega
e1f4641f69
Moved print out of write_tail
2024-05-02 16:02:33 -07:00
Devine Lu Linvega
b52a4adb2f
Fixed rw counter
2024-04-29 14:05:37 -07:00
Devine Lu Linvega
8d207d42a5
Fixed off by one rule id
2024-04-29 09:54:37 -07:00
Devine Lu Linvega
4078919811
Replaced ari for loop with while
2024-04-29 09:50:43 -07:00
Devine Lu Linvega
c619581739
Fixed rewrite count
2024-04-29 09:46:27 -07:00
Devine Lu Linvega
d24af00098
Added negative numbers support
2024-04-29 09:08:41 -07:00
Devine Lu Linvega
3d9ecb0b7b
Housekeeping
2024-04-28 21:23:27 -07:00
Devine Lu Linvega
fb394db72d
Fixed issue with empty ?~ filling in blanks
2024-04-28 20:58:47 -07:00
Devine Lu Linvega
c644597eac
Fixed issue with delayed output
2024-04-28 20:49:27 -07:00
Devine Lu Linvega
e84ef37c5d
Housekeeping
2024-04-28 20:37:53 -07:00
Devine Lu Linvega
c9e932765a
Added logic operators to ALU
2024-04-28 20:13:51 -07:00
Devine Lu Linvega
0a1b6bfb5c
Added rest of ALU
2024-04-28 20:07:41 -07:00
Devine Lu Linvega
25837b08f9
Starting ALU
2024-04-28 19:45:46 -07:00
Devine Lu Linvega
53b89bcf65
Isolated device read/write functions
2024-04-28 18:55:03 -07:00
Devine Lu Linvega
06c5c3c3da
Display references in debug
2024-04-28 12:32:46 -07:00
Sebastian LaVine
42ab70b09d
Re-add stderr usage
...
This commit spiritually reverts 392e05d
.
With debug messages and interpreter state sent to stderr and the actual
output of the program sent to stdout, it is easier to read both
independently. For instance, one can redirect stdout or stderr to
another terminal window to keep an eye on both outputs independently:
bin/modal examples/hello.modal >/dev/pts/5
2024-04-28 08:42:25 -07:00
Devine Lu Linvega
f5cd5d3fa3
Removed extra check
2024-04-27 21:21:15 -07:00
Devine Lu Linvega
481e2b56cf
Housekeeping
2024-04-27 21:12:14 -07:00
Devine Lu Linvega
93326ecf73
Merged rule parsers
2024-04-27 15:06:00 -07:00
Devine Lu Linvega
dd1fddb20c
Removed rules compilation step
2024-04-27 14:47:06 -07:00
Devine Lu Linvega
d520ab8489
Added tests, ignoring empty rules
2024-04-27 12:30:40 -07:00
Devine Lu Linvega
62b8317cc9
Added tests
2024-04-27 11:24:00 -07:00
Devine Lu Linvega
3d01efe11a
Print right statement during undefinition
2024-04-27 11:05:50 -07:00
Devine Lu Linvega
d03f359f4c
Better rules lookup
2024-04-27 10:51:50 -07:00
Devine Lu Linvega
f8657a5f67
Display undefinitions
2024-04-27 10:04:01 -07:00
Devine Lu Linvega
1fae8de0d5
rid is always unsigned
2024-04-27 09:48:10 -07:00
Devine Lu Linvega
a2ea2a6ac2
Pretty print rules
2024-04-27 09:24:48 -07:00
Devine Lu Linvega
392e05d19e
Send everything to stdout
2024-04-27 09:02:56 -07:00
Devine Lu Linvega
e83ac9ce02
Display rewrites count
2024-04-27 08:46:31 -07:00
Devine Lu Linvega
8b618d2425
Fixed issue with weird undefinitions
2024-04-26 22:07:53 -07:00
Devine Lu Linvega
06f2cd4487
Do not warn of unused empty rules
2024-04-26 21:37:08 -07:00
Devine Lu Linvega
f3d16b4bd6
Fixed issue in undefinition
2024-04-26 21:35:31 -07:00
Devine Lu Linvega
541e8937b0
Unwrap rules during match
2024-04-26 21:18:02 -07:00
Devine Lu Linvega
37effa5dfd
Housekeeping
2024-04-26 21:04:54 -07:00
Devine Lu Linvega
49614f1a61
Initial implementation of undefine rules
2024-04-26 20:50:22 -07:00