From aad94419956cef1348b4c75939deaad2e8af227d Mon Sep 17 00:00:00 2001 From: Robert-M-Lucas Date: Thu, 6 Jun 2024 13:39:11 +0100 Subject: [PATCH] Started adding support for inline functions --- .idea/workspace.xml | 39 ++++++++++-------- src/root/builtin/int/add.rs | 39 ++++++++++++++++++ src/root/builtin/{int.rs => int/mod.rs} | 10 +++++ src/root/builtin/mod.rs | 23 +++++++---- src/root/compiler/compile_function_call.rs | 6 +++ src/root/compiler/mod.rs | 3 +- src/root/name_resolver/mod.rs | 2 +- src/root/name_resolver/name_resolvers.rs | 41 +++++++++++++++++-- .../resolve_function_signatures.rs | 10 +++++ src/root/parser/parse.rs | 23 +++++++++++ src/root/parser/parse_name.rs | 7 ++++ src/root/shared/common.rs | 10 +++++ types.toml | 1 + 13 files changed, 184 insertions(+), 30 deletions(-) create mode 100644 src/root/builtin/int/add.rs rename src/root/builtin/{int.rs => int/mod.rs} (79%) create mode 100644 src/root/compiler/compile_function_call.rs diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ed11610..7ba4438 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,23 +7,20 @@ - + + + - - - - - - - - - + + + + - - - + + + + @@ -158,7 +156,7 @@ - + -