Skip to content

Install apps as packages, build commands for their target - #3

Merged
S42yt merged 1 commit into
masterfrom
feat/apps
Sep 30, 2026
Merged

S42yt merged 1 commit into
masterfrom
feat/apps

Conversation

@S42yt

@S42yt S42yt commented Sep 30, 2026

Copy link
Copy Markdown
Contributor
  • Apps as dependencies. Apps can now be dependencies (before, ash refused anything but libraries). Their source can be imported, and their bytecode changed with mixins through import "<name>.bvmc" (Import packages as bytecode for mixins burn#18).
  • Global installs follow the app's target. ash install -g builds a native executable for target = "native", a runnable .bar archive for target = "bvm", and a Node.js script with a launcher for target = "js".
  • Tests and docs. The end-to-end tests now cover a bvm game app installed from git and changed by a mixin, and a bvm app installed as a command. They pass with ash native and on the interpreter. CI also puts bvm on PATH, and the README has a section on it.

CI builds Burn from master, so it needs burnlang/burn#18 merged first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PCXUjgpGnka9y7AHKfnN3w


Generated by Claude Code

Apps can now be dependencies, so their sources can be imported and their
bytecode changed with mixins (import "<name>.bvmc"). ash install -g builds
native apps as executables, bvm apps as runnable .bar archives and js apps as
Node.js scripts with a launcher.

S42yt commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

test is red because CI builds Burn from master, which cannot compile a package to a bytecode library yet (cannot find bytecode library example.com/test/game.bvmc). That support is in burnlang/burn#18. Once it is merged, re-running this job should pass; nothing in this PR needs to change.


Generated by Claude Code

@S42yt
S42yt merged commit ccb8470 into master Sep 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant