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.
10 lines
120 B
Bash
10 lines
120 B
Bash
#!/usr/bin/env sh
|
|
|
|
CFLAGS="-Wall -Wextra -std=c11 -ggdb"
|
|
SRC="main.c"
|
|
OUT="main.out"
|
|
|
|
set -xe
|
|
|
|
cc $CFLAGS -o $OUT $SRC;
|