add the std submodule
This commit is contained in:
parent
365807a365
commit
75c5dce36e
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "scripts/std"]
|
||||
path = scripts/std
|
||||
url = https://gitea.bedohswe.eu.org/labashki/std.git
|
1
scripts/std
Submodule
1
scripts/std
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 05121136d8819e66651316e62688fd91c4ac467a
|
@ -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
|
@ -1,4 +0,0 @@
|
||||
; Labashki standard library
|
||||
; Written by Labashki developer - aeris
|
||||
|
||||
args 0
|
@ -1,4 +0,0 @@
|
||||
; Labashki standard library
|
||||
; Written by Labashki developer - aeris
|
||||
|
||||
args 3
|
@ -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
|
Loading…
Reference in New Issue
Block a user