aboutsummaryrefslogtreecommitdiff
path: root/alisp.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-08-21 14:56:07 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-08-21 14:56:24 +0100
commit29b18bc1de689f9339f82a9ceb30cad5157b7f56 (patch)
treed9254907ddc4155535d83623d6e7d67fba8072e9 /alisp.org
parent0f68afd9a040256939ddd082a380bd37b0a3996b (diff)
downloadalisp-29b18bc1de689f9339f82a9ceb30cad5157b7f56.tar.gz
alisp-29b18bc1de689f9339f82a9ceb30cad5157b7f56.tar.bz2
alisp-29b18bc1de689f9339f82a9ceb30cad5157b7f56.zip
Finish value constructors TODO, start container constructors TODO
Diffstat (limited to 'alisp.org')
-rw-r--r--alisp.org13
1 files changed, 7 insertions, 6 deletions
diff --git a/alisp.org b/alisp.org
index 542e4eb..45e7432 100644
--- a/alisp.org
+++ b/alisp.org
@@ -42,15 +42,13 @@ perspective.
Should we capitalise symbols? This way, we limit the symbol table's
possible options a bit (potentially we could design a better hashing
algorithm?) and it would be kinda like an actual Lisp.
-** DONE Test value constructors and destructors :test:
-Test if ~make_int~ works with ~as_int,~ ~intern~ with ~as_sym~.
-Latter will require a symbol table.
-** TODO Test containers constructors and destructors :test:
+** WIP Test containers constructors and destructors :test:
Test if ~make_vec~ works with ~as_vec~, ~cons~ with ~as_cons~ AND
~CAR~, ~CDR~.
-We may need to think of effective ways to deal with NILs. Maybe make
-functions as well as the macros so I can choose between them?
+We may need to think of effective ways to deal with NILs in ~car~ and
+~cdr~. Maybe make functions as well as the macros so I can choose
+between them?
** TODO Test system registration of allocated units :test:
In particular, does clean up work as we expect? Do we have situations
where we may double free or not clean up something we should've?
@@ -110,3 +108,6 @@ Latter approach time complexity:
Former approach is better time complexity wise, but latter is way
better in terms of simplicity of code. Must deliberate.
+** DONE Test value constructors and destructors :test:
+Test if ~make_int~ works with ~as_int,~ ~intern~ with ~as_sym~.
+Latter will require a symbol table.