Skip to content

prg-grp/wasm-interpreter-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Github CI Status

Fork of WABT

Original repository here.

Description

We added a few new keywords for students to implement:

  • i32.mod: computes the modulo
  • i32.pow: computes the power
  • copy: copy the top of the stack
  • loopn: pop the number of iterations n and repeats the next instruction n times
  • beginfm/endfm: pop the id of a funmacro and defines the funmacro as the instructions between beginfm and endfm
  • callfm: pop the id of a funmacro and executes it

To make it simpler, we disabled the type checker, so that the student don't have to worry about it.

The modified wat2wasm converter tool with code examples is available on the webpage of the repository here.

Repository

The private repository for this webpage is here.