diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-19 22:39:45 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-19 22:40:50 +0100 |
commit | f14a2680fd030fbfa75a63bea8110db7c414e805 (patch) | |
tree | c4d580a45cf9bedd4060c5a8d261e913a0893566 /build.sh | |
download | alisp-f14a2680fd030fbfa75a63bea8110db7c414e805.tar.gz alisp-f14a2680fd030fbfa75a63bea8110db7c414e805.tar.bz2 alisp-f14a2680fd030fbfa75a63bea8110db7c414e805.zip |
200 line symbol table implementation and the first commit
Setup build system (POSIX sh), gitignore, basic C file with an
implementation of something I really wanted to setup.
It just hashes a snippet of lorem ipsum. Testing seems to indicate
it's working. That's all it does lol.
This is a really pressing matter; all my previous Lisps always just
made the strings on the fly and that irked me deeply. I want a smart
implementation that really tries to save memory on something as
intensive as symbols.
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..8669824 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env sh + +CFLAGS="-Wall -Wextra -std=c11 -ggdb" +SRC="main.c" +OUT="main.out" + +set -xe + +cc $CFLAGS -o $OUT $SRC; |