Aryadev Chavali
b32f420cb9
lisp: split off lisp_free as it's own function
...
lisp_free will do a shallow clean of any object, freeing its
associated memory. It won't recur through any containers, nor will it
freakout if you give it something that is constant (symbols, small
integers, NIL, etc).
2026-02-05 05:39:35 +00:00
Aryadev Chavali
34d3417e74
symtable: sym_table_cleanup -> sym_table_free
2026-02-05 05:39:22 +00:00
Aryadev Chavali
75daad53ea
reader: add a few more read errors and read_err_to_cstr
2026-02-05 04:06:27 +00:00
Aryadev Chavali
1e451c57e8
stream: stream_line_col: get the line/column of stream currently
...
Best part is that this should only use cached data, so no chunking
required.
2026-02-05 04:04:54 +00:00
Aryadev Chavali
26e545a732
stream: Rearranged STREAM_ERR to be nonzero positive
...
I don't know why I was thinking about having valid positive values for
STREAM_ERR. Doesn't make sense.
2026-02-05 04:04:54 +00:00
Aryadev Chavali
169a165cfc
stream: added stream_err_to_cstr
...
Simple routine, not really much to explain here.
2026-02-05 04:04:54 +00:00
Aryadev Chavali
438a494ac7
lisp: sys_cleanup -> sys_free
2026-02-05 04:04:54 +00:00
Aryadev Chavali
01b695eb6a
base: implement LOG macro which only prints if VERBOSE_LOGS = 1
...
This allows us to make builds that don't have verbose logging, whether
they're debug or not.
We could have release builds that have verbose logging.
2026-02-05 04:04:54 +00:00
Aryadev Chavali
500661d68e
LICENSE: Unlicense -> GPL Version 2
2026-02-05 04:04:54 +00:00
Aryadev Chavali
52a56c27f6
Add tag.h to alisp.h
2026-02-04 20:05:53 +00:00
Aryadev Chavali
7f8412fe5a
Split alisp.h into several header files, in /include folder.
2026-02-04 19:31:11 +00:00