diff --git a/big_int.cpp b/big_int.cpp new file mode 100644 index 0000000..81294b6 --- /dev/null +++ b/big_int.cpp @@ -0,0 +1,6 @@ + +#if COMPILER_CLANG +typedef __int128 int128; +#else +#error "Need big int implementation" +#endif diff --git a/main.cpp b/main.cpp index ecb72dc..d0e2588 100644 --- a/main.cpp +++ b/main.cpp @@ -32,7 +32,6 @@ For now I don't thing it should be overloadable. ------------------------------------------------------------------------------- @todo -[ ] - Character literal [ ] - Converting from U64 token to S64 Atom introduces unnanounced error (negates) - probably need big int [ ] - Passing down program to compile through command line [ ] - More for loop variations @@ -70,6 +69,7 @@ For now I don't thing it should be overloadable. [x] - Enums [x] - Initial for loop [x] - Enum . access to values +[x] - Character literal [x] - Compiling and running a program [x] - Infinite for loop [x] - in new typesystem: Fix calls, fix all example programs @@ -92,6 +92,7 @@ For now I don't thing it should be overloadable. #include "base.cpp" #include "base_unicode.cpp" +#include "big_int.cpp" #include "new_lex.cpp" #include "types.h" #include "new_ast.cpp"