split code parser/generator into its own source file
parent
0cf5bb210a
commit
e518679451
2
Makefile
2
Makefile
|
@ -8,6 +8,7 @@ LIBCS_LDFLAGS = -shared
|
|||
|
||||
LIBCS_OBJ = \
|
||||
cubescript.o \
|
||||
cs_gen.o \
|
||||
cs_vm.o \
|
||||
lib_str.o \
|
||||
lib_math.o \
|
||||
|
@ -29,6 +30,7 @@ clean:
|
|||
rm -f $(LIBCS_LIB) $(LIBCS_OBJ)
|
||||
|
||||
cubescript.o: cubescript.hh cs_vm.hh
|
||||
cs_gen.o: cubescript.hh cs_vm.hh
|
||||
cs_vm.o: cubescript.hh cs_vm.hh
|
||||
lib_str.o: cubescript.hh
|
||||
lib_math.o: cubescript.hh
|
||||
|
|
1099
cubescript.cc
1099
cubescript.cc
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include <ostd/maybe.hh>
|
||||
#include <ostd/io.hh>
|
||||
#include <ostd/functional.hh>
|
||||
#include <ostd/format.hh>
|
||||
|
||||
namespace cscript {
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "cubescript.hh"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
namespace cscript {
|
||||
|
||||
static constexpr float PI = 3.14159265358979f;
|
||||
|
|
Loading…
Reference in New Issue