From 7dde45956811339a4127a1e09c6dbb6f9cc1e87b Mon Sep 17 00:00:00 2001 From: Robert-M-Lucas <100799838+Robert-M-Lucas@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:20:55 +0100 Subject: [PATCH] Transitioned to PathStorage for paths --- .idea/workspace.xml | 29 +++- build/out.out | Bin 18224 -> 18224 bytes main.why | 2 +- parse_test.why | 3 - src/root.rs | 18 ++- src/root/compiler/compile.rs | 4 +- src/root/compiler/compile_function.rs | 6 +- src/root/compiler/global_tracker.rs | 18 ++- src/root/errors/mod.rs | 33 +++- src/root/name_resolver/name_resolvers.rs | 23 +-- src/root/parser/handle_errors.rs | 13 +- src/root/parser/location.rs | 59 +++++-- src/root/parser/mod.rs | 1 + src/root/parser/parse.rs | 27 ++-- src/root/parser/parse_blocks.rs | 4 +- src/root/parser/path_storage.rs | 187 +++++++++++++++++++++++ src/root/parser/use_parser.rs | 29 +--- src/root/utils/identify_first_last.rs | 68 +++++++++ src/root/{utils.rs => utils/mod.rs} | 15 +- todo.txt | 3 + 20 files changed, 434 insertions(+), 108 deletions(-) delete mode 100644 parse_test.why create mode 100644 src/root/parser/path_storage.rs create mode 100644 src/root/utils/identify_first_last.rs rename src/root/{utils.rs => utils/mod.rs} (86%) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 02389cb..289bcb7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -8,8 +8,24 @@ + + - + + + + + + + + + + + + + + +