From 33fd1f0d50f0347149d47aa4fb591d760dd3869c Mon Sep 17 00:00:00 2001 From: Robert-M-Lucas Date: Fri, 26 Jul 2024 00:53:24 +0100 Subject: [PATCH] Markers --- .../shelved.patch | 82 ++++++++++++++++++ .idea/workspace.xml | 31 ++++--- build/out.asm | 11 ++- build/out.o | Bin 592 -> 624 bytes build/out.out | Bin 16480 -> 16480 bytes main.why | 25 ++++-- src/root/compiler/compile_function.rs | 3 + src/root/parser/parse_arguments.rs | 5 +- src/root/parser/parse_blocks.rs | 16 +++- src/root/parser/parse_function.rs | 1 + src/root/parser/parse_function/parse_line.rs | 6 ++ .../parser/parse_function/parse_marker.rs | 40 +++++++++ .../parse_function/parse_struct_init.rs | 6 +- 13 files changed, 197 insertions(+), 29 deletions(-) create mode 100644 .idea/shelf/Uncommitted_changes_before_Update_at_25_07_2024,_16_23_[Changes]/shelved.patch create mode 100644 src/root/parser/parse_function/parse_marker.rs diff --git a/.idea/shelf/Uncommitted_changes_before_Update_at_25_07_2024,_16_23_[Changes]/shelved.patch b/.idea/shelf/Uncommitted_changes_before_Update_at_25_07_2024,_16_23_[Changes]/shelved.patch new file mode 100644 index 0000000..eade7fb --- /dev/null +++ b/.idea/shelf/Uncommitted_changes_before_Update_at_25_07_2024,_16_23_[Changes]/shelved.patch @@ -0,0 +1,82 @@ +Index: .idea/workspace.xml +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP +<+>\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n "lastFilter": {\n "state": "OPEN",\n "assignee": "Robert-M-Lucas"\n }\n}\n \n \n {\n "selectedUrlAndAccountId": {\n "url": "https://github.com/Robert-M-Lucas/whython-8.git",\n "accountId": "dcb8df19-0b39-47e1-9073-4a54f7034be8"\n }\n}\n \n \n \n \n {\n "customColor": "",\n "associatedIndex": 4\n}\n \n \n \n {\n "keyToString": {\n "Cargo.Run whython-8.executor": "Run",\n "Cargo.Test whython-8.executor": "Run",\n "RunOnceActivity.OpenProjectViewOnStart": "true",\n "RunOnceActivity.ShowReadmeOnStart": "true",\n "RunOnceActivity.rust.reset.selective.auto.import": "true",\n "Shell Script.Test Asm.executor": "Run",\n "git-widget-placeholder": "master",\n "ignore.virus.scanning.warn.message": "true",\n "last_opened_file_path": "/home/robertlucas/RustroverProjects/trace",\n "node.js.detected.package.eslint": "true",\n "node.js.detected.package.tslint": "true",\n "node.js.selected.package.eslint": "(autodetect)",\n "node.js.selected.package.tslint": "(autodetect)",\n "nodejs_package_manager_path": "npm",\n "org.rust.cargo.project.model.PROJECT_DISCOVERY": "true",\n "org.rust.cargo.project.model.impl.CargoExternalSystemProjectAware.subscribe.first.balloon": "",\n "org.rust.first.attach.projects": "true",\n "settings.editor.selected.configurable": "preferences.keymap",\n "vue.rearranger.settings.migration": "true"\n },\n "keyToStringList": {\n "com.intellij.ide.scratch.ScratchImplUtil$2/New Scratch File": [\n "Rust"\n ]\n }\n}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 1714088144106\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n