Open Lucifier129 opened 3 years ago
LGTM
LGTM
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:
src/Backend/Js/FromCore.hs
. support/atom/grammars/koka.json
file to vscode
.JSX
case (but I have not looked into it)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!
@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 :)
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.
use
ES modules
instead ofAMD
andrequirejs
better
TypeScript
supports. eg. generate*.d.ts
better
VSCode
supports. now there is a vs-code extension just for syntax-highlightingWASM
supports. Koka v2 without needing a garbage collector or runtime system is suitable for WASM.an npm package for
nodejs api
like esbuild for better integrating with other build toolsJSX
supports.Algebraic Effects
is perfectly fit for UI development andJSX
can improve the readabilityand so on...
I believe
Koka
can be a good competitor forrescript
,purescript
, andelm
if there is better support for JavaScript:)