Closed yunfan closed 2 years ago
Do you mean an example in the documentation on how to call Forth from JS?
sorry i mean the reverse forward, calling js from forth, like use js to invoke canvas api to draw a circle on the host enviroment
You're right, that would be nice! And probably not that hard, just need to find some time to spend on it.
Any news?
@Zireael07 I have some concrete plans for it now, and it's high on my list.
I did an initial attempt at an API to call JS from Forth. You can see a working example here. More interesting examples will probably come later.
Thanks for finally completed this. i had checked this from the turtle news at reddit
i think if waforth could interacting with js, that would be much more fun