The Sol Programming Language!
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字。

29 行
877 B

if [ ! -f .submodule_stamp ]; then
git submodule init && git submodule sync && git submodule update
touch .submodule_stamp
if [ -z "$CFLAGS" ]; then
# Valid flags to add here:
# -DDEBUG_GC : Turn on debug GC (all memory allocates/frees go to a file, use to get statistics)
# -DSOL_ICACHE_MIN : Minimum integer to cache in the state
# -DSOL_ICACHE_MAX : Maximum integer to cache in the state (if MAX < MIN, caching is disabled)
gcc -c $CFLAGS dsl/seq.c
gcc -c $CFLAGS dsl/list.c
gcc -c $CFLAGS dsl/array.c
gcc -c $CFLAGS dsl/generic.c
gcc -c $CFLAGS lex.yy.c
gcc -c $CFLAGS
gcc -c $CFLAGS astprint.c
gcc -c $CFLAGS runtime.c
gcc -c $CFLAGS gc.c
gcc -c $CFLAGS object.c
gcc -c $CFLAGS state.c
gcc -c $CFLAGS builtins.c
gcc -c $CFLAGS solrun.c
gcc $CFLAGS *.o -o sol -lm -ldl