Appologies if some of these are mis-categorized, I am a Janet newb!
- Janet 1.10.1 Stdlib, organized by topic
- Declaration / Binding / Environment
- Types and Data Structures
- Functional / Operations on Sequential/Associative Data Structures
- Functions Which Generate Values
- Functions Returning Functions, Oh My!
- Macros
- Control Flow
- Equality and Comparison
- Bitwise
- Math
- Console I/O
- File I/O
- Network I/O
- OS
- Parsing
- Modules
- REPL
- Evaluation
- Debugger
- Compilation
- Garbage Collector
- About Janet
- Janet Implementation: Special Forms
def
def-
defglobal
default
var
var-
varglobal
set
fn
short-fn
defn
defn-
varfn
defmacro
defmacro-
all-bindings
dyn
setdyn
with-dyns
all-dynamics
let
with
with-syms
with-vars
with-dyns
identity
freeze
type
nil?
boolean?
number?
int?
function?
cfunction?
symbol?
keyword?
string?
buffer?
tuple?
array?
struct?
table?
bytes?
indexed?
dictionary?
idempotent?
abstract?
boolean?
true?
false?
truthy?
not
- (note:
not
can be used asfalsey?
)
and
or
int?
int/s64
int/u64
On symbol, keyword, string/buffer, tuple/array, struct/table:
length
get
in
get-in
keys
values
kvs
pairs
next
On array, table, buffer:
put
put-in
update
update-in
symbol?
symbol
keyword?
keyword
string?
string
string/ascii-lower
string/ascii-upper
string/check-set
string/find
string/find-all
string/has-prefix?
string/has-suffix?
string/format
doc-format
string/from-bytes
string/bytes
string/repeat
string/replace
string/replace-all
string/reverse
string/slice
string/join
string/split
string/trim
string/triml
string/trimr
chr
buffer?
buffer
buffer/new
buffer/new-filled
buffer/fill
buffer/clear
buffer/trim
buffer/push-byte
buffer/push-string
buffer/push-word
buffer/popn
buffer/slice
buffer/bit
buffer/bit-clear
buffer/bit-set
buffer/bit-toggle
buffer/blit
buffer/format
marshal
unmarshal
tuple?
tuple/type
tuple
tuple/brackets
tuple/slice
tuple/sourcemap
tuple/setmap
array?
array
array/new
array/new-filled
array/slice
array/insert
array/remove
array/concat
array/fill
array/peek
array/pop
array/push
array/ensure
array/trim
tarray/new
tarray/buffer
tarray/length
tarray/properties
tarray/copy-bytes
tarray/swap-bytes
tarray/slice
struct?
struct
table?
table
table/new
table/clone
table/rawget
table/getproto
table/setproto
table/to-struct
length
empty?
count
get
in
get-in
first
last
extreme
find
find-index
and
or
some
all
every?
reduce
reduce2
accumulate
accumulate2
In-place mutation:
sort
sort-by
Copying:
sorted
sorted-by
reverse
slice
drop
take
filter
keep
drop-while
take-while
drop-until
take-until
distinct
map
mapcat
keys
values
kvs
pairs
partition
flatten
flatten-into
interleave
interpose
zipcoll
frequencies
invert
merge
merge-into
range
generate
comp
complement
partial
juxt
gensym
macex
macex1
idempotent?
do
defer
edefer
when
unless
if
cond
case
match
when-let
when-with
if-let
if-not
if-with
each
eachk
eachp
for
while
loop
seq
break
next
walk
postwalk
prewalk
yield
quit
prompt
return
try
protect
assert
error
errorf
signal
propagate
label
->
->>
-?>
-?>>
as->
as?->
- https://janet-lang.org/docs/fibers/index.html
fiber?
fiber/current
coro
fiber/new
fiber/can-resume?
fiber/getenv
fiber/setenv
fiber/maxstack
fiber/setmaxstack
fiber/root
fiber/status
- https://janet-lang.org/docs/threads.html
thread/current
thread/new
thread/receive
thread/send
thread/close
resume
=
not=
deep=
deep-not=
<
<=
>
>=
compare
compare-primitive
compare<
compare<=
compare=
compare>
compare>=
bnot
band
bor
bxor
blshift
brshift
brushift
number?
nan?
nat?
pos?
neg?
zero?
one?
even?
odd?
math/inf
math/-inf
math/nan
math/pi
math/e
+
-
*
/
%
mod
+=
-=
*=
/=
%=
++
--
inc
dec
math/next
identity
hash
sum
product
max
min
mean
math/abs
math/ceil
math/floor
math/round
math/trunc
math/pow
math/sqrt
math/cbrt
math/exp
math/exp2
math/expm1
math/log
math/log2
math/log10
math/log1p
math/erf
math/erfc
math/gamma
math/random
math/seedrandom
math/rng
math/rng-int
math/rng-uniform
math/rng-buffer
math/sin
math/cos
math/tan
math/asin
math/acos
math/atan
math/atan2
math/sinh
math/cosh
math/tanh
math/asinh
math/acosh
math/atanh
math/hypot
print
prin
printf
prinf
flush
eprinf
eprin
eprintf
eprint
eflush
describe
pp
getline
slurp
spit
file/open
file/close
file/seek
file/read
file/write
file/flush
file/temp
file/popen
stdin
stdout
stderr
net/connect
net/server
net/read
net/chunk
net/write
net/close
os/which
os/arch
os/cryptorand
os/exit
os/clock
os/time
os/date
os/mktime
os/sleep
os/environ
os/getenv
os/setenv
os/shell
os/execute
os/cwd
os/cd
os/touch
os/rm
os/rename
os/mkdir
os/rmdir
os/dir
os/link
os/symlink
os/readlink
os/realpath
os/stat
os/lstat
os/chmod
os/perm-int
os/perm-string
os/umask
peg/compile
peg/match
default-peg-grammar
parse
parser/new
parser/clone
parser/byte
parser/consume
parser/eof
parser/error
parser/flush
parser/has-more
parser/insert
parser/produce
parser/state
parser/status
parser/where
scan-number
use
import
import*
require
native
dofile
module/add-paths
module/expand-path
module/cache
module/find
module/loaders
module/loading
module/paths
repl
cli-main
run-context
trace
tracev
untrace
root-env
make-env
make-image
make-image-dict
load-image
load-image-dict
eval
eval-string
apply
env-lookup
comment
debug
debug/stacktrace
debug/step
debug/break
debug/unbreak
debug/fbreak
debug/unfbreak
debug/lineage
debug/stack
debug/arg-stack
debugger-env
asm
disasm
compile
comptime
bad-compile
bad-parse
gccollect
gcinterval
gcsetinterval
janet/version
janet/build
janet/config-bits
doc
doc*
def
var
set
fn
do
if
while
break
quote
quasiquote
unquote
splice