Debug GC crashes, add (gc-stats), add support for libedit to lisp
diff --git a/src/lisp/test-gc.lisp b/src/lisp/test-gc.lisp
new file mode 100644
index 0000000..a41e146
--- /dev/null
+++ b/src/lisp/test-gc.lisp
@@ -0,0 +1,11 @@
+(defun main ()
+ ;; Allocate some garbage
+ (let1 (used "this should NOT be freed")
+ (list 1 2 3 4)
+ (list "this" "is" "a" "list")
+ (gc)
+ (print (list "Current allocations" "GC runs"))
+ (print (gc-stats))))
+
+;; Note: This should print that it is freeing both lists, but not the
+;; string