Re:Stabel: A pure, concatenative and statically typed progra...
by whitten on Wednesday June 16, 2021 @09:17AM
(#27528180)
could you clarify what kinds of things are stored in the standard library, and how they are included, including their relevancy for particular types of programs ?
[ Parent
| on HN ]
Re:Stabel: A pure, concatenative and statically typed progra...
by Skinney on Thursday June 17, 2021 @05:32AM
(#27537778)
Currently, all there is are some simple stack manipulators, simple math stuff, a Pair (tuple) type, a Maybe (nullish) type and a linked List.
The stdlib will get more datastructures (Array, Dict, Set, Result, Triple...), some basic side effects (randomness, time) and functions to map to wasm intrinsics like bit-shift and math operations.
My aim is to keep the stdlib relatively small and portable between wasi and browser environments.