0.0.5 • Published 6 years ago

fantasyinternet.wast v0.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

fantasyinternet.wast

wast library for making programs for the fantasy internet.

Include these by using waquire.

(module
  ;; See API documentation at https://fantasyinternet.github.io/api
  (import "env" "pushFromMemory" (func $pushFromMemory (param $offset i32) (param $length i32)))
  (import "env" "popToMemory" (func $popToMemory (param $offset i32)))
  
  ;;@require $mem "fantasyinternet.wast/memory.wast"
  ;;@require $str "fantasyinternet.wast/strings.wast"
  ;;@require $gfx "fantasyinternet.wast/graphics.wast"

  ;; Table for callback functions.
  (table $table 8 anyfunc)
    (export "table" (table $table))

  ;; Linear memory.
  (memory $memory 1)
    (export "memory" (memory $memory))

)
0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago