add the std submodule

This commit is contained in:
n3tael 2024-02-08 21:14:23 +02:00
parent 365807a365
commit 75c5dce36e
Signed by: n3tael
GPG Key ID: F305925762F035A8
6 changed files with 4 additions and 41 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "scripts/std"]
path = scripts/std
url = https://gitea.bedohswe.eu.org/labashki/std.git

1
scripts/std Submodule

@ -0,0 +1 @@
Subproject commit 05121136d8819e66651316e62688fd91c4ac467a

View File

@ -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

View File

@ -1,4 +0,0 @@
; Labashki standard library
; Written by Labashki developer - aeris
args 0

View File

@ -1,4 +0,0 @@
; Labashki standard library
; Written by Labashki developer - aeris
args 3

View File

@ -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