WebAssembly Port #45
No reviewers
Labels
No labels
Priority-Medium
Type-Defect
auto-migrated
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: john/context-free#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "azizghuloum/wasm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Build instructions are in
Wasm.Dockerfileand are documented inREADME. Please let me know if you need something fixed.Fixes #32
There are two issues with the wasm build worth mentioning:
mainfunction cannot be called twice to process a second file. I think some globals get initialized properly in the first run but their state remains in memory and would be invalid for a second run. When I use cfdg in the browser, I load it in a "one-shot" web worker where input file is set up,main()is called, then the output file is sent back to the browser. It works and is unnoticeable, but kinda wasteful. It would be nice to be able to callmain()repeatedly but I understand it was not designed for that.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.