gf_lang/

directory
v0.0.0-...-44f24cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: GPL-2.0

README


Build

regular build for server execution:

foo@bar:~$ cd gf_lang_server
foo@bar:~$ go build -o ../build/gf_lang

web-assembly JS-environment execution:

foo@bar:~$ cd gf_lang_web
foo@bar:~$ GOOS=js GOARCH=wasm go build -o ../build/gf_lang_web.wasm

JavaScript glue code needed to execute the Golang WASM code:

foo@bar:~$ cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" build/

start local web server to test

start it in project root - gloflow serves the necessary compiled files and other web code from the GF project

foo@bar:~$ python3 -m http.server

the browser URL is:

http://localhost:8000/gf_lang/test/gf_lang_test.html

Directories

Path Synopsis
go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL