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

Call native js functions from topaz #3

Open
neimanpinchas opened this issue Jun 9, 2023 · 1 comment
Open

Call native js functions from topaz #3

neimanpinchas opened this issue Jun 9, 2023 · 1 comment

Comments

@neimanpinchas
Copy link

Hi

I played arround a little with Topaz, and I like the language, (as i like rebol), I would like to start using it in place of coofffeescript, for web.

I am wondering how its possible to call native javascript code (getElementById, fetch, + many other js libs) from withn the rebol interpreter.

I am sure its possible as this is what the interpreter is doing to survive, but I wasn't able to get how to execute my own js code from the console

@giesse
Copy link
Owner

giesse commented Jun 9, 2023

Unfortunately, due to unrelated things, I stopped working on this back in 2011. It wouldn't be too hard to add a way to run JS code, but I'm not sure it's worth it given that a ton of other things are missing.

There's an active project though you may want to look at: https://github.com/ALANVF/Red.js

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