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 compilation to javascript using ghcjs #43

Closed
epost opened this issue Sep 26, 2018 · 6 comments
Closed

Investigate compilation to javascript using ghcjs #43

epost opened this issue Sep 26, 2018 · 6 comments
Assignees

Comments

@epost
Copy link
Member

epost commented Sep 26, 2018

We already have a basic AQL schema editor based on Ace. If we could stick a ghcjs backend behind this, we could run AQL stuff online in a web environment, which would be super nice.

@wisnesky
Copy link
Contributor

wisnesky commented Sep 26, 2018 via email

@epost
Copy link
Member Author

epost commented Sep 26, 2018

@wisnesky you should now.

@tg-x
Copy link
Collaborator

tg-x commented Sep 27, 2018

looked into it but haven't yet managed to get nix compile it due to dependency build issues:
NixOS/nixpkgs#47437

and now due to new dependencies the non-js build also fails:
NixOS/nixpkgs#47439 (fixed now)

will proceed with this further after the above build issues are resolved

@wisnesky
Copy link
Contributor

wisnesky commented Sep 27, 2018 via email

@tg-x
Copy link
Collaborator

tg-x commented Sep 28, 2018

some documentation is available here:
https://github.com/ghcjs/ghcjs/blob/master/doc/foreign-function-interface.md

@epost
Copy link
Member Author

epost commented Sep 28, 2018

Seems like it's better to go the HTTP API route then, since we need that anyway, and ghcjs seems very faffy.

@epost epost closed this as completed Sep 28, 2018
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

3 participants