slumps
slumps copied to clipboard
swam to souper IR
use SWAM to develop our own bi-directional translator from wasm to souper IR
@satabin , we are affording this as an extra module in SWAM. The big picture is to provide both, randomization and optimization to SWAM.
:+1:
To transform wasm programs in Swam, you can use the traversal api in the swam.traversal
package.
To transform wasm programs in Swam, you can use the traversal api in the
swam.traversal
package.
Good to have such good technical support 💪 thanks !
You're welcome, an example use for this framework (the Traverser
in that case) is the validator: https://github.com/satabin/swam/blob/master/core/src/swam/validation/SpecValidator.scala#L72.
I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.
I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.
Add the link :)
I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.
Add the link :)
I have learned these ideas, but the course code seems not so close to our aim (semifinished repo). Hey @Jacarte, is it better for us to hack this repo? My plan is to mix Java with Scala.
Hi, I always wanted to have a CFG framework within Swam, I might start working on it if it helps for your project.
Hey @satabin We feel your plan is very great!
We are checking maple-ir because it may help our work. Does it help the CFG framwork? WDYT?
I was looking into it for inspiration, however a more idiomatic Scala framework could be more helpful than wrapping this library. I am on a PoC currently, and will push it soon I hope.