Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

[Question] Add New Language to WebAssemblyStudio #205

Open
vonwenckstern opened this issue Apr 24, 2018 · 6 comments
Open

[Question] Add New Language to WebAssemblyStudio #205

vonwenckstern opened this issue Apr 24, 2018 · 6 comments
Labels
fancy feature help wanted Extra attention is needed

Comments

@vonwenckstern
Copy link

Hi,

your tool is very nice.
Our SE chair has a Simulink alternative language (EmbeddedMontiArc) which also compiles via Emscripten to WebAssembly.

We have some demo sites about WebAssembly files we created with our tooling:

  1. https://demo.embeddedmontiarc.com/selfdrivingcar/simulatorWithTrajectory.html
    (or without trajectory: https://demo.embeddedmontiarc.com/selfdrivingcar/)
  2. https://embeddedmontiarc.github.io/EMAM2Wasm/

We also have several videos about our tooling:
http://www.se-rwth.de/~vonwenckstern/#videos

@mbebenita Is there a possibility to integrate our C&C language alternative into your project?
Our compiler tool-chain chain as well as all of this source code is open source at Github and also well tested.
Here is the main project for you: https://github.com/EmbeddedMontiArc/EMAM2Wasm

I think we both could benefit from each other -- we could give you a nice car tutorial where one of my master students @strepkov is working on.
On the server side we would need Java additionally to clang and emscripten.
But if the server capacity is a problem, we could also try to compile our byte code to JavaScript via cheerpJ (but this may cause some performance issues), or we can also use our server.

Best,
Michael

@yurydelendik
Copy link
Collaborator

@vonwenckstern see similar thread at #191 (comment)

@yurydelendik yurydelendik added help wanted Extra attention is needed fancy feature labels Apr 24, 2018
@brody4hire
Copy link

brody4hire commented Apr 25, 2018

@vonwenckstern see similar thread at #191 (comment)

(walt support)

and couple more:

What about some kind of plugin or language extension API, like what they use on the Atom editor or VS Code?

P.S. A couple more resources that may be interesting:

@vonwenckstern
Copy link
Author

What about some kind of plugin or language extension API, like what they use on the Atom editor or VS Code?

That would be really nice, than also others could use your existing tooling here.

@mbebenita
Copy link
Collaborator

@vonwenckstern we're definitely open to adding more languages, however we don't really want to support too many backend services as part of this project. If you provide the API endpoints you can just have WebAssemblyStudio send the project there and get back the compiled .wasm file.

@vonwenckstern
Copy link
Author

@mbebenita Thanks, we are writing right now a server which compiles our language to WASM and JS and send the result back to our client as zip file.

If you can tell us what kind of API endpoints you want, then we program our server so that it has exactly the endpoints of WebAssembly frontend.

@yurydelendik
Copy link
Collaborator

If you can tell us what kind of API endpoints you want, then we program our server so that it has exactly the endpoints of WebAssembly frontend.

We did not have a standard for endpoints yet and trying to document that atm. You may look into something along the lines of https://github.com/yurydelendik/clang-heroku-slug/blob/master/app/src/build.js#L11 or something even more simpler.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fancy feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants