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

Are there any instructions to build new backends? #56

Open
danielo515 opened this issue Sep 28, 2022 · 1 comment
Open

Are there any instructions to build new backends? #56

danielo515 opened this issue Sep 28, 2022 · 1 comment

Comments

@danielo515
Copy link

Hello.
Very interesting project this one you have here.
I am interested in compiling ocaml to Lua, and this project seems to be a perfect fit for such a project.
Are there any guides or smaller and simpler examples than php?

Regards

@Lupus
Copy link
Contributor

Lupus commented Sep 29, 2022

This project is essentially abandoned right now. Making backend for rehp is doable, although would require a lot of knowledge and time. I managed to build correctly working transpiler to Golang, but produced code was too slow, I need typing information and lost energy and time to continue.

I've tried to upstream generalized part of rehp to jsoo, see ocsigen/js_of_ocaml#1076. But my attempt was not complete, more work is required on splitting JS semantics out of generalized IR. Probably my PR can serve as good start in case you're up to. Unfortunately I don't have time for that right now...

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

No branches or pull requests

2 participants