mbrock / wisp

Lisp in WebAssembly
https://wisp.town
GNU Affero General Public License v3.0
245 stars 6 forks source link

How to run test.wisp #19

Closed nmushegian closed 2 years ago

nmushegian commented 2 years ago

I want to add some tests to learn wisp, what should I do

~/wisp % wasmer web/dist/wisp.wasm core/lisp/test.wisp
error: failed to run `web/dist/wisp.wasm`
╰─▶ 1: Error while importing "wasi_snapshot_preview1"."fd_filestat_get": unknown import. Expected Function(FunctionType { params: [I32, I32], results: [I32] })
nmushegian commented 2 years ago

I found the correct program, maybe I will document this discovery ~/wisp % ./core/zig-out/bin/wisp run core/lisp/test.wisp