Skip to content

Commit 23f9c34

Browse files
authored
Create mod.hcs
1 parent d9e64ac commit 23f9c34

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

libs/std/lib/mod.hcs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
!! std - biblioteka standardowa HackerScript.
2+
!!
3+
!! Dostepne moduly:
4+
!! get <std:cybersecurity::constant_time> - porownania w stalym czasie
5+
!! get <std:cybersecurity::entropy> - entropia Shannona (detekcja packerow)
6+
!! get <std:io> - pliki (read_file_or/file_readable/write_file_ok);
7+
!! read_file()/write_file() sa wbudowane w kompilator
8+
!! (jak log()), dzialaja WSZEDZIE bez importu
9+
!! get <std:result> - unwrap_or/unwrap_or_default/is_ok/is_err/is_some
10+
!! dla Result<T,E>/Option<T> (prawdziwe generyki)
11+
!!
12+
!! Reszta jest jeszcze pusta - patrz docs/ROADMAP.md.
13+
14+
fun std_placeholder() [
15+
log("std: patrz std/lib/cybersecurity/, std/lib/io.hcs, std/lib/result.hcs - reszta jeszcze pusta, patrz docs/ROADMAP.md")
16+
end
17+
]

0 commit comments

Comments
 (0)