Add big int file
This commit is contained in:
6
big_int.cpp
Normal file
6
big_int.cpp
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
#if COMPILER_CLANG
|
||||||
|
typedef __int128 int128;
|
||||||
|
#else
|
||||||
|
#error "Need big int implementation"
|
||||||
|
#endif
|
||||||
3
main.cpp
3
main.cpp
@@ -32,7 +32,6 @@ For now I don't thing it should be overloadable.
|
|||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
@todo
|
@todo
|
||||||
[ ] - Character literal
|
|
||||||
[ ] - Converting from U64 token to S64 Atom introduces unnanounced error (negates) - probably need big int
|
[ ] - Converting from U64 token to S64 Atom introduces unnanounced error (negates) - probably need big int
|
||||||
[ ] - Passing down program to compile through command line
|
[ ] - Passing down program to compile through command line
|
||||||
[ ] - More for loop variations
|
[ ] - More for loop variations
|
||||||
@@ -70,6 +69,7 @@ For now I don't thing it should be overloadable.
|
|||||||
[x] - Enums
|
[x] - Enums
|
||||||
[x] - Initial for loop
|
[x] - Initial for loop
|
||||||
[x] - Enum . access to values
|
[x] - Enum . access to values
|
||||||
|
[x] - Character literal
|
||||||
[x] - Compiling and running a program
|
[x] - Compiling and running a program
|
||||||
[x] - Infinite for loop
|
[x] - Infinite for loop
|
||||||
[x] - in new typesystem: Fix calls, fix all example programs
|
[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.cpp"
|
||||||
#include "base_unicode.cpp"
|
#include "base_unicode.cpp"
|
||||||
|
#include "big_int.cpp"
|
||||||
#include "new_lex.cpp"
|
#include "new_lex.cpp"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "new_ast.cpp"
|
#include "new_ast.cpp"
|
||||||
|
|||||||
Reference in New Issue
Block a user