Skip to content

Commit

Permalink
Merge pull request #128 from jonas-grobe/main
Browse files Browse the repository at this point in the history
Add Webassembly implementation
  • Loading branch information
mawerty authored Jan 11, 2024
2 parents 868f0b3 + a84e6b7 commit a03c9d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ TrumpScript
Typescript
V
VHDL
Webassembly
Wenyan
Zig
6 changes: 6 additions & 0 deletions implementations/main.wat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(module
(func (result i32)
(i32.const 0)
)
(export "isPrime" (func 0))
)
1 change: 1 addition & 0 deletions optimized_implementations/main.wat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(module(func(result i32)(i32.const 0))(export "isPrime" (func 0)))

0 comments on commit a03c9d8

Please sign in to comment.