Commit Graph

50 Commits

Author SHA1 Message Date
3e217cbdbe add some scaffolding for functions as their own type 2023-05-02 10:33:08 -04:00
14113fb636 feat: rework symbols regex. 2023-05-02 10:12:46 -04:00
2b8d8b89cf feat: fix memory leak in join function. 2023-05-02 10:11:27 -04:00
0049079be2 feat: add list length function 2023-05-02 10:09:41 -04:00
a886aeb976 step: cleanup. 2023-05-02 03:01:50 -04:00
29db17c074 step: spend a bit obsessing over memory leaks. 2023-05-02 02:53:49 -04:00
f88ad89868 savepoint: see if this fixes a memory leak. 2023-05-02 01:47:59 -04:00
b44694ed8b feat: get "eval" function working over bracket lists. 2023-05-02 01:34:46 -04:00
06665c7ead step: debug eval 2023-05-02 01:25:41 -04:00
f3b7e65dfb step: add more error checking, but move prints to comments. 2023-05-02 01:18:44 -04:00
3eb174aedf fix bug by adding count to all types. 2023-05-02 01:13:04 -04:00
28f94b2ee1 feat: progress on list function. 2023-05-02 00:32:36 -04:00
467fc866fb feat: progress in making head and tails functions. 2023-05-02 00:29:02 -04:00
c755c7155d Revert "step: some changes to be reverted."
This reverts commit bb555f6fe0.
2023-05-01 23:27:58 -04:00
bb555f6fe0 step: some changes to be reverted. 2023-05-01 23:27:24 -04:00
976935fe09 step: unfix memory leak. 2023-05-01 23:17:39 -04:00
d1420805d7 step: savepoint while adding more functions. 2023-05-01 23:14:40 -04:00
49fdc0d69e step: add operations over bracketed lists. 2023-05-01 22:48:18 -04:00
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
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
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