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
defdef-defglobaldefault
varvar-varglobalset
fnshort-fndefndefn-varfn
defmacrodefmacro-
all-bindings
dynsetdynwith-dynsall-dynamics
letwithwith-symswith-varswith-dyns
identityfreeze
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:
notcan be used asfalsey?)
andor
int?int/s64int/u64
On symbol, keyword, string/buffer, tuple/array, struct/table:
lengthgetinget-inkeysvalueskvspairsnext
On array, table, buffer:
putput-inupdateupdate-in
symbol?symbol
keyword?keyword
string?string
string/ascii-lowerstring/ascii-upper
string/check-set
string/findstring/find-allstring/has-prefix?string/has-suffix?
string/formatdoc-format
string/from-bytesstring/bytes
string/repeat
string/replacestring/replace-all
string/reverse
string/slicestring/joinstring/split
string/trimstring/trimlstring/trimr
chr
buffer?bufferbuffer/newbuffer/new-filledbuffer/fillbuffer/clearbuffer/trim
buffer/push-bytebuffer/push-stringbuffer/push-wordbuffer/popn
buffer/slice
buffer/bitbuffer/bit-clearbuffer/bit-setbuffer/bit-togglebuffer/blitbuffer/format
marshalunmarshal
tuple?tuple/type
tupletuple/brackets
tuple/slice
tuple/sourcemaptuple/setmap
array?arrayarray/newarray/new-filled
array/slice
array/insertarray/removearray/concatarray/fill
array/peekarray/poparray/push
array/ensurearray/trim
tarray/newtarray/buffertarray/lengthtarray/propertiestarray/copy-bytestarray/swap-bytestarray/slice
struct?struct
table?tabletable/newtable/clonetable/rawgettable/getprototable/setprototable/to-struct
lengthempty?count
getinget-infirstlastextremefindfind-index
andorsomeallevery?
reducereduce2accumulateaccumulate2
In-place mutation:
sortsort-by
Copying:
sortedsorted-by
reverse
slicedroptake
filterkeepdrop-whiletake-whiledrop-untiltake-untildistinct
mapmapcat
keysvalueskvspairspartitionflattenflatten-into
interleaveinterpose
zipcollfrequencies
invertmergemerge-into
rangegenerate
compcomplementpartialjuxt
gensymmacexmacex1idempotent?
dodeferedeferwhenunlessifcondcasematch
when-letwhen-withif-letif-notif-with
eacheachkeachpforwhileloopseqbreaknext
walkpostwalkprewalk
yieldquit
promptreturn
tryprotectasserterrorerrorfsignalpropagate
label
->->>-?>-?>>as->as?->
- https://janet-lang.org/docs/fibers/index.html
fiber?fiber/currentcorofiber/newfiber/can-resume?fiber/getenvfiber/setenvfiber/maxstackfiber/setmaxstackfiber/rootfiber/status
- https://janet-lang.org/docs/threads.html
thread/currentthread/newthread/receivethread/sendthread/close
resume
=not=deep=deep-not=
<<=>>=
comparecompare-primitivecompare<compare<=compare=compare>compare>=
bnotbandborbxor
blshiftbrshiftbrushift
number?nan?nat?pos?neg?zero?one?even?odd?
math/infmath/-infmath/nanmath/pimath/e
+-*/%mod
+=-=*=/=%=
++--incdecmath/next
identityhash
sumproductmaxminmean
math/absmath/ceilmath/floormath/roundmath/trunc
math/powmath/sqrtmath/cbrt
math/expmath/exp2math/expm1math/logmath/log2math/log10math/log1p
math/erfmath/erfc
math/gamma
math/randommath/seedrandommath/rngmath/rng-intmath/rng-uniformmath/rng-buffer
math/sinmath/cosmath/tan
math/asinmath/acosmath/atanmath/atan2
math/sinhmath/coshmath/tanh
math/asinhmath/acoshmath/atanh
math/hypot
printprinprintfprinfflush
eprinfeprineprintfeprinteflush
describepp
getline
slurpspit
file/openfile/close
file/seek
file/readfile/writefile/flush
file/temp
file/popen
stdinstdoutstderr
net/connectnet/server
net/readnet/chunknet/writenet/close
os/whichos/archos/cryptorandos/exit
os/clockos/time
os/dateos/mktime
os/sleep
os/environos/getenvos/setenv
os/shellos/execute
os/cwdos/cd
os/touchos/rmos/rename
os/mkdiros/rmdiros/dir
os/linkos/symlinkos/readlinkos/realpath
os/statos/lstatos/chmodos/perm-intos/perm-stringos/umask
peg/compilepeg/matchdefault-peg-grammar
parseparser/newparser/cloneparser/byteparser/consumeparser/eofparser/errorparser/flushparser/has-moreparser/insertparser/produceparser/stateparser/statusparser/where
scan-number
useimportimport*requirenativedofile
module/add-pathsmodule/expand-pathmodule/cachemodule/findmodule/loadersmodule/loadingmodule/paths
replcli-main
run-context
tracetracevuntrace
root-envmake-envmake-imagemake-image-dictload-imageload-image-dict
evaleval-stringapplyenv-lookupcomment
debugdebug/stacktracedebug/stepdebug/breakdebug/unbreakdebug/fbreakdebug/unfbreakdebug/lineagedebug/stackdebug/arg-stackdebugger-env
asmdisasmcompilecomptimebad-compilebad-parse
gccollectgcintervalgcsetinterval
janet/versionjanet/buildjanet/config-bitsdocdoc*
defvarset
fn
doifwhilebreak
quotequasiquoteunquotesplice


