Skip to content

FantasyInternet/fantasyinternet.wast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

)

About

wast library for making programs for the fantasy internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published