Commit Graph

35 Commits

Author SHA1 Message Date
47f932148c step: write lispval_clone function. 2023-05-01 22:12:04 -04:00
df554a1bc3 fix: memory leak. 2023-05-01 21:47:18 -04:00
f66aa8738f step: add some q-expression functions, part 1 of many. 2023-05-01 21:40:04 -04:00
cf61eb6e98 step: make top level interpretation more parsimonious 2023-05-01 21:36:50 -04:00
e064fd5ec9 step: add some plumbing for "q-expressions" 2023-05-01 21:19:46 -04:00
f9bfc8fb46 make format 2023-05-01 21:00:20 -04:00
ff8b45489b feat: extend to floats! 2023-05-01 20:14:33 -04:00
85d2ede92d step: add an error message for wrong op-number order. 2023-05-01 20:04:48 -04:00
fc26fdf0f0 remove small memory leak. 2023-05-01 19:57:11 -04:00
289de06edf feat: get working version!
The main bug I was having was infinite recursion!
2023-05-01 19:54:32 -04:00
e7b46b0ff9 tweak: save again. 2023-05-01 19:45:59 -04:00
2b9cc75ed5 step: savepoint. 2023-05-01 19:28:26 -04:00
c4f625caa4 step: start writting eval function. 2023-05-01 18:54:08 -04:00
5772490583 tweak: delete old code + make format 2023-05-01 18:33:52 -04:00
cf85977086 step: move to more general lisp syntax. 2023-05-01 18:23:26 -04:00
0cb46c4ef1 step: savepoint + add very anal compiler flags 2023-05-01 10:30:10 -04:00
007741dad0 step: generalize grammar 2023-04-30 23:58:31 -04:00
e5913ce78f step: save progress. 2023-04-30 13:27:41 -04:00
a75fb677ab fix: solve unary operation bug! 2023-04-30 12:35:00 -04:00
6d4850e38b step: add error checking 2023-04-30 12:27:27 -04:00
77409407d9 step: add lispval wrapper. 2023-04-30 12:13:10 -04:00
dcfa3c1c99 step: add unary operations 2023-04-30 11:56:49 -04:00
495418dadc step: deal with parenthesis 2023-04-30 11:47:53 -04:00
015ee9595f feat: create print_ast function! 2023-04-30 11:35:20 -04:00
67992e364c tweak: print children better in ast 2023-04-30 10:30:31 -04:00
1a1b5c956a tweak: r -> result refactor 2023-04-30 10:06:10 -04:00
a94877dc1c step: stop and save for the day 2023-04-30 00:54:04 -04:00
3cb4d4eb83 tweak: allow top level expression (e.g., a number) 2023-04-30 00:49:56 -04:00
c3720d0951 step: save progress with mpc integration 2023-04-30 00:47:58 -04:00
e9a6558d4b tweak: change mumble answer 2023-04-30 00:44:26 -04:00
2ffb9e7d82 step: start adding C mpc 2023-04-30 00:41:57 -04:00
7f8b1dfb2f step: handle ctrl+D. 2023-04-29 19:08:38 -04:00
5aa7f1ad70 tweak: change name to mumble. 2023-04-29 18:56:11 -04:00
cd468839da step: get working hello world with make 2023-04-29 18:34:26 -04:00
0a01b3e398 tweak: initialize git repo 2023-04-29 18:27:11 -04:00