Add big int file

This commit is contained in:
Krzosa Karol
2022-06-04 09:34:43 +02:00
parent f3527be36a
commit a73b12d54d
2 changed files with 8 additions and 1 deletions

6
big_int.cpp Normal file
View File

@@ -0,0 +1,6 @@
#if COMPILER_CLANG
typedef __int128 int128;
#else
#error "Need big int implementation"
#endif

View File

@@ -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"