GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wapc/codegen: waPC code generators

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
config
config
 
 
deps
deps
 
 
src
src
 
 
templates
templates
 
 
testdata
testdata
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
apex.yaml
apex.yaml
 
 
jsr.json
jsr.json
 
 

Repository files navigation

waPC Code Generators

This library provides the code generators for producing waPC modules using the Apex language.

Installation

Make sure you have the Apex CLI installed. Here are the instructions.

From your terminal, run:

apex install jsr:@wapc/codegen/templates
INFO Installing @wapc/assemblyscript...
INFO Installing @wapc/rust...
INFO Installing @wapc/tinygo...

Now you should see waPC project templates available.

apex list templates
┌──────────────────────┬────────────────────────────────────┐
│ Name                 │ Description                        │
└──────────────────────┴────────────────────────────────────┘
  @wapc/assemblyscript   AssemblyScript waPC module project
  @wapc/rust             TinyGo waPC module project
  @wapc/tinygo           TinyGo waPC module project

To create a new TinyGo waPC module, run:

apex new @wapc/tinygo hello-world
cd hello-world
apex all
ls -l build
-rwxr-xr-x  1 uname  staff  18454 Sep 19 14:56 hello-world.wasm

If you load the project in VS Code (code . from the terminal if VS code is in your path), a task will monitor the Apex interface definition for changes and regenerate boilerplate code.

About

waPC code generators

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.