-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Enoch edited this page Aug 9, 2026
·
6 revisions
A stream-oriented programming language implemented in C — an interpreter
plus a source-embedding compiler. Every operation is a request that may be
refused (res / cause / ref); programs are built from composable streams.
- Streams: Unistream, Comstream, Remstream, Objstream, Threadstream, Timestream, IOStream, ... — signature streams, forked implementations, classes-as-streams.
-
Typed smart references: 28 reference types (permissions
r/w/m/rw/rm/wm/rwm× followsu/f/a/t). Read withget p, write withp = v, move the pointer withp++. -
needassumptions: on-demand provider bundling fromsrc/+utils/+ dependencies; project manifests (package.toml) with git/HTTP/local deps. -
Annotations:
@unfork(stream cannot be forked),@onlyread(no write methods may be called),@read/@write(declare a method read/write). -
Packaging:
.img(custom raw image, stores permissions) and.zip(native STORE writer — no external tools needed). -
Cross-platform: Linux, macOS and Windows (experimental) binaries built
with
make binvia zig; cooperative threads (ucontext / Win32 fibers).
make # build → bin/bio
make PROFILE=release # optimized build
bin/bio examples/01-hello.bio # run an example
bin/bio shell build examples/01-hello.bio # compile to a standalone binarybio init <name> # create a project skeleton
bio build [dir] -s # build → standalone executable
bio build [dir] -m # build → .img package (app + platform CLI + libs)
bio build [dir] -m out.zip # build → .zip package
bio run [dir] # run a projectbio pack <out.img|.zip> [--entry NAME] <files...>
bio unpack <pkg> [dir]
bio run pkg.img | pkg.zip # run a packaged entry-
.img— customBIOIMG1raw image: no compression, fully seekable, stores file permissions (executables keep their executable bit). -
.zip— standard zip, written/read natively (STORE method); falls back to the systemunzipfor legacy deflate archives.
| Platform | Status |
|---|---|
| Linux (x86-64, aarch64) | ✅ Fully supported |
| macOS (Intel) | |
| macOS (Apple Silicon) | |
| Windows (x86-32/64, arm64) |
- Main README: https://github.com/Bio-Studio/Bio.lang
- Releases: https://github.com/Bio-Studio/Bio.lang/releases
- License: MIT
- Home
- Beginner — first steps
- Intermediate — real usage
- Advanced — masterclass
- Build & Run
- Packaging
- Language-Reference
- BR-Model
- BTM-Model