From f791b05292059d5c8bc7fb5b3177ee608e66af40 Mon Sep 17 00:00:00 2001 From: zxq5 Date: Thu, 19 Jun 2025 23:30:32 +0100 Subject: [PATCH] idk what changes i made --- .idea/.gitignore | 8 ++++++++ .idea/damn_simple_architecture.iml | 14 ++++++++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ dsa_editor/src/highlighting.rs | 2 +- resources/dsa/print.dsa | 4 ++-- resources/dsa/test.dsa | 4 ++-- resources/dsb/test.dsb | Bin 196 -> 696 bytes 8 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/damn_simple_architecture.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/damn_simple_architecture.iml b/.idea/damn_simple_architecture.iml new file mode 100644 index 0000000..7e831a2 --- /dev/null +++ b/.idea/damn_simple_architecture.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..3e8572f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/dsa_editor/src/highlighting.rs b/dsa_editor/src/highlighting.rs index ecaf796..26380f5 100644 --- a/dsa_editor/src/highlighting.rs +++ b/dsa_editor/src/highlighting.rs @@ -1,7 +1,7 @@ #[cfg(feature = "editor")] use super::Editor; -use super::syntax::{Syntax, TokenType, QUOTES, SEPARATORS}; +use super::syntax::{QUOTES, SEPARATORS, Syntax, TokenType}; use std::mem; #[derive(Default, Debug, PartialEq, PartialOrd, Eq, Ord)] diff --git a/resources/dsa/print.dsa b/resources/dsa/print.dsa index 3094f2e..2cf59eb 100644 --- a/resources/dsa/print.dsa +++ b/resources/dsa/print.dsa @@ -32,8 +32,8 @@ loop: ldb rg0, acc stb acc, rg1 - iadd rg0, 1 - iadd rg1, 1 + addi rg0, 1 + addi rg1, 1 cmp acc, zero jne loop diff --git a/resources/dsa/test.dsa b/resources/dsa/test.dsa index 8287ed0..e9e9caa 100644 --- a/resources/dsa/test.dsa +++ b/resources/dsa/test.dsa @@ -1,5 +1,5 @@ -include print "print.dsa" -include fib "fib.dsa" +include print "./print.dsa" +include fib "./fib.dsa" dw stack: 0x10000 db string: "An idiot admires complexity, a genius admires simplicity, diff --git a/resources/dsb/test.dsb b/resources/dsb/test.dsb index a0cae0f9d4c0eb76d89e7ebe9fc81c1a64a67b6b..853ca2129e324cd4deb123866c6f24a4814863dd 100644 GIT binary patch literal 696 zcmZXSv2GJV5QhJ=tSCi_&?G`a(VsMqgb5gs(}BVhL=loHXqMZFZ}8o&bvq|>5(OnK zD5BsEcmo$Hcnd#DniS|_5=Bs~M!Wy7Z~j@$?`$;&a1CToh7*hGEAN=3)+*-wB;}l~ zsZ8loqv1}|#9Y@}F{jHlwX~$7wMAo^xr(Ng&c}{X$8%+H9ls5ZK?^I4(^ye*N?p#Y zXf9W!m!vc)jCCg#lu{S;j%63AgSI@^icO@4OxsDbv7(5VbJ2oP~POL^=w6oTkR*v8A|*jZ%C}wC*3eS-qJ15Chrz$l&t( z+_yZkfw>|UOoef=U@Kx;H}NA&7wVu)E~23*T?9`GFvl%{YRJC)f3=q1UxLkcOOWyF)U8WFav(Fwy(Z~W7Us^UKhkrKq1ftWk0=Bt^XTOT<#=m