an attempt at a cross-platform standard library for hblang
Find a file
2025-01-01 20:18:26 +00:00
src improve build script 2025-01-01 20:18:26 +00:00
.gitignore improve build script 2025-01-01 20:18:26 +00:00
build improve build script 2025-01-01 20:18:26 +00:00
LICENSE Initial commit 2024-12-31 11:47:31 -06:00
README.md improve build script 2025-01-01 20:18:26 +00:00

Lily

an attempt at a cross-platform standard library for hblang.
use ./build -h to see available arguments. supports:

  • changing target
  • custom linker (for c_native)
  • running the executable (for c_native)

Important

all features, targets, etc, are provisional and subject to change

To change build target

create the file src/lib/target/target.hb with the contents target := @use("c_native.hb") (example)
currently available targets:

  • c_native
  • hbvm_ableos

alternatively, use ./build -t c_native (example)

Currently "working" features

  • std.vec.Vec
  • std.alloc.{SimpleAllocator, RawAllocator}
  • std.{Type, Kind, exit}