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

Investigate adding support for Fortran #27

Open
taybenlor opened this issue Sep 23, 2021 · 0 comments
Open

Investigate adding support for Fortran #27

taybenlor opened this issue Sep 23, 2021 · 0 comments
Labels
new language Adds a new language to Runno spike Needs investigation before being ready

Comments

@taybenlor
Copy link
Owner

taybenlor commented Sep 23, 2021

There's an existing package (https://wapm.io/package/f2c) that implements a Fortran77 to c program (f2c) but it doesn't seem to work. Since we already have a clang compiler, this sort of method might work. Avenues to explore:

  1. Try and build our own version of f2c for WASI
  2. Try and build a Fortran interpreter
  3. Investigate existing Fortran -> WASM pipelines (https://github.com/StarGate01/Full-Stack-Fortran)

1 seems the easiest, but would result in a very old version of Fortran. Probably still useful for education purposes.

2 would need us to compile a Fortran interpreter, so would need a good candidate interpreter.

3 may be too difficult since it doesn't look like that pipeline could be easily compiled to WASM itself.

@taybenlor taybenlor added the WASI label Sep 27, 2021
@taybenlor taybenlor changed the title Add support for Fortran with f2c Investigate adding support for Fortran Oct 16, 2021
@taybenlor taybenlor added spike Needs investigation before being ready new language Adds a new language to Runno and removed WASI labels Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new language Adds a new language to Runno spike Needs investigation before being ready
Projects
None yet
Development

No branches or pull requests

1 participant