koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.16k stars 151 forks source link

Consider better Javascript Supports #95

Open Lucifier129 opened 3 years ago

Lucifier129 commented 3 years ago

Hi!

Koka is an excellent language that supports algebraic-effects. Great Job!

Recently, I wrote a simple canvas demo via Koka v1.0. I know Koka v2.0 now is under development, just leave my wishlist here for better javascript supports.

I believe Koka can be a good competitor for rescript, purescript, and elm if there is better support for JavaScript:)

zzj3720 commented 3 years ago

LGTM

sinoon commented 3 years ago

LGTM

daanx commented 3 years ago

Thanks for the feedback! Currently I am mostly focused on the C backend for best performance but keeping the JavaScript backend up-to-date. Some thoughts:

alongalky commented 3 years ago

I might want to tackle some of the JS issues but I'm having trouble getting the interactive JS console to run, are there any docs on doing that? I'm getting weird assert errors (the default C backend works in interactive mode). Thanks!

anfelor commented 3 years ago

@alongalky Are you still getting these errors? For me the Javascript console works normally, so if you encounter anything unusual feel free to open an issue :)