Add foreign functions

This commit is contained in:
Krzosa Karol
2022-06-07 09:56:19 +02:00
parent c5b82c0532
commit b7df759d9d
8 changed files with 32 additions and 843 deletions

View File

@@ -107,6 +107,7 @@ Expr:
[ ] - Rust like enum where you associate values(other structs) with keys
[ ] - Compound that zeros values - .{} , Compound that assumes defaults from struct definition - {}
[ ] - Inject stack traces into the program
[ ] - Rewrite constants to embed lambda, types, structs etc.? ???
@donzo
[x] - We are parsing wrong here: (t.str=(&string_to_lex.str)[i]);
@@ -148,7 +149,8 @@ Expr:
#include "base.cpp"
#include "base_unicode.cpp"
#include "big_int_c3.cpp"
#include "new_lex.cpp"
#include "compiler.h"
#include "lexer.cpp"
#include "types.h"
// #include "big_int.cpp"
#include "new_ast.cpp"