Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vstd

Standard library modules for Vix 0.4.6. Import the package from a project root with mod vstd; functions are called through their full module path, for example vstd::array::push(&values, VInt(1)).

The library intentionally uses concrete containers around the shared Value ADT because generic struct literals are not yet supported by the compiler. Mutable containers are passed by reference so array growth is retained by the caller.

Modules:

  • types: Value, Pair, Ordering, Result, and concrete container types
  • mem: allocation, release, copy, fill, and comparison
  • str: duplication, comparison, prefix/suffix, and substring checks
  • array: mutable ValueArray
  • list: mutable ordered ValueList
  • map: string-keyed ValueMap with insert/update/lookup
  • json: strict JSON parsing, recursive serialization, and object/array queries
  • io: console output and whole-file reads/writes
  • os: commands, environment lookup, and process termination
  • rand: seeding and bounded pseudo-random integers
  • time: Unix time and millisecond sleep
  • net: DNS-backed TCP request/response
  • http: HTTP/1.0 GET over TCP

About

The standard library of the Vix programming language

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages