Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AiLang WASM Target

Official AiLang target package for WebAssembly and browser-hosted apps.

Current package release: 0.0.1-alpha.3.

Package

packages/target-wasm

Profiles

profiles/spa
profiles/worker
profiles/library

Status

Package discovery is enabled. The current alpha target package declares the WASM/browser target contract and delegates to the SDK's built-in wasm32 publish/run path while browser host tooling is moved into this repository.

Supported target identifiers:

wasm
wasm32
web

Declared artifact types:

dir
spa
module

Declared options:

wasm-profile
server
open-browser
port

Usage

ailang package restore
ailang run . --target wasm --target-option wasm-profile=spa --out dist-wasm
ailang publish . --target wasm --target-option wasm-profile=spa --out dist-wasm

The SPA profile emits browser-hosted artifacts and can serve them locally for interactive testing. Worker and library profiles are declared target-owned profiles for follow-up implementation.

About

Official AiLang wasm target package, host integration, and tooling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages