From 75c5dce36e69744b8738cfdb7fbb987575f23832 Mon Sep 17 00:00:00 2001 From: n3tael Date: Thu, 8 Feb 2024 21:14:23 +0200 Subject: [PATCH] add the std submodule --- .gitmodules | 3 +++ scripts/std | 1 + scripts/std/print.lb | 16 ---------------- scripts/std/rev.lb | 4 ---- scripts/std/rot.lb | 4 ---- scripts/std/unix/ВАРЁНЫЙНОСОК.lb | 17 ----------------- 6 files changed, 4 insertions(+), 41 deletions(-) create mode 100644 .gitmodules create mode 160000 scripts/std delete mode 100644 scripts/std/print.lb delete mode 100644 scripts/std/rev.lb delete mode 100644 scripts/std/rot.lb delete mode 100644 scripts/std/unix/ВАРЁНЫЙНОСОК.lb diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0b5ab47 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "scripts/std"] + path = scripts/std + url = https://gitea.bedohswe.eu.org/labashki/std.git diff --git a/scripts/std b/scripts/std new file mode 160000 index 0000000..0512113 --- /dev/null +++ b/scripts/std @@ -0,0 +1 @@ +Subproject commit 05121136d8819e66651316e62688fd91c4ac467a diff --git a/scripts/std/print.lb b/scripts/std/print.lb deleted file mode 100644 index 8152dff..0000000 --- a/scripts/std/print.lb +++ /dev/null @@ -1,16 +0,0 @@ -; -; BSD Zero Clause License -; -; Copyright (C) 2024 by Bedohswe -; -; Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. -; -; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -@ 0 - args 1 - kjz 1 - putc - jmp 0 -@ 1 - quit \ No newline at end of file diff --git a/scripts/std/rev.lb b/scripts/std/rev.lb deleted file mode 100644 index 6f835e0..0000000 --- a/scripts/std/rev.lb +++ /dev/null @@ -1,4 +0,0 @@ -; Labashki standard library -; Written by Labashki developer - aeris - -args 0 \ No newline at end of file diff --git a/scripts/std/rot.lb b/scripts/std/rot.lb deleted file mode 100644 index 869e7e0..0000000 --- a/scripts/std/rot.lb +++ /dev/null @@ -1,4 +0,0 @@ -; Labashki standard library -; Written by Labashki developer - aeris - -args 3 \ No newline at end of file diff --git a/scripts/std/unix/ВАРЁНЫЙНОСОК.lb b/scripts/std/unix/ВАРЁНЫЙНОСОК.lb deleted file mode 100644 index eb81914..0000000 --- a/scripts/std/unix/ВАРЁНЫЙНОСОК.lb +++ /dev/null @@ -1,17 +0,0 @@ -; Labashki standard library -; Written by Labashki developer - aeris - -maxsize -args 1 ; Насколько сварить носок -sub - -@ 1 - jnz 2 - quit - -@ 2 - #expr - - push -1 - _unix_random - swap - jmp 1 \ No newline at end of file