Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swam to souper IR #30

Open
bbaudry opened this issue Nov 20, 2019 · 13 comments
Open

swam to souper IR #30

bbaudry opened this issue Nov 20, 2019 · 13 comments
Assignees

Comments

@bbaudry
Copy link
Member

bbaudry commented Nov 20, 2019

use SWAM to develop our own bi-directional translator from wasm to souper IR

@Jacarte
Copy link
Collaborator

Jacarte commented Nov 26, 2019

@satabin , we are affording this as an extra module in SWAM. The big picture is to provide both, randomization and optimization to SWAM.

@satabin
Copy link
Collaborator

satabin commented Nov 26, 2019

👍

@satabin
Copy link
Collaborator

satabin commented Nov 26, 2019

To transform wasm programs in Swam, you can use the traversal api in the swam.traversal package.

@Jacarte
Copy link
Collaborator

Jacarte commented Nov 26, 2019

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 !

@satabin
Copy link
Collaborator

satabin commented Nov 26, 2019

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.

@jianguda
Copy link
Collaborator

I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.

@Jacarte
Copy link
Collaborator

Jacarte commented Dec 17, 2019

I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.

Add the link :)

@jianguda
Copy link
Collaborator

I found homeworks of ETHZ's Advanced Compiler Design course are helpful. I will start from there.

Add the link :)

hw0.pdf
hw1.pdf
hw2.pdf

slides_hw0.pdf
slides_hw1.pdf
slides_hw2.pdf

skeleton code & solutions

@jianguda
Copy link
Collaborator

jianguda commented Dec 25, 2019

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.

@satabin
Copy link
Collaborator

satabin commented Dec 26, 2019

Hi, I always wanted to have a CFG framework within Swam, I might start working on it if it helps for your project.

@jianguda
Copy link
Collaborator

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?

@satabin
Copy link
Collaborator

satabin commented Dec 29, 2019

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.

@Jacarte
Copy link
Collaborator

Jacarte commented Dec 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants