The Sol Programming Language!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
523 B

LDFLAGS= -lm -ldl -lreadline
OBJ= lex.yy.o dsl/seq.o dsl/list.o dsl/array.o dsl/generic.o astprint.o runtime.o gc.o object.o state.o builtins.o solrun.o
all: $(OBJ)
git submodule init && git submodule sync && git submodule update
gcc $(CFLAGS) $? $(LDFLAGS) -o sol
%.o: %.c
gcc -c -o $@ $? $(CFLAGS) %.y
bison -rall -fall -d $?
lex.yy.c: tokenizer.lex
flex $<
rm -f *.o dsl/*.o sol
docs: Doxyfile
doxygen Doxyfile
sphinx-build -b html . ./_build