fantasyinternet.wast

0.0.5 • Public • Published

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))

)

Package Sidebar

Install

npm i fantasyinternet.wast

Weekly Downloads

0

Version

0.0.5

License

ISC

Unpacked Size

45.6 kB

Total Files

7

Last publish

Collaborators

  • codeartisticninja