an attempt at a cross-platform standard library for hblang
Find a file
koniifer 2f74ac8cc0 documenting some compiler bugs with (compiler) bug: tag.
see main.hb for vague details

also make build script install hbc for you
2025-01-02 03:53:02 +00:00
src documenting some compiler bugs with (compiler) bug: tag. 2025-01-02 03:53:02 +00:00
.gitignore improve build script 2025-01-01 20:18:26 +00:00
build documenting some compiler bugs with (compiler) bug: tag. 2025-01-02 03:53:02 +00:00
LICENSE Initial commit 2024-12-31 11:47:31 -06:00
README.md add out directory option 2025-01-01 20:37:20 +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)
  • setting output path

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}