rzimmerman/kal
View on GitHub ↗ ★ 392 JavaScript
A powerful, easy-to-use, and easy-to-read programming language for the future.
8 mentions on Hacker News by 1 person: 0 stories, 8 comments · first 2013-08-17 · latest 2024-08-13
20082026
-
I spent time on a compile-to-JS language and found it very rewarding: https://github.com/rzimmerman/kal This was before async/generators were added to JS and callback hell was quite real. I wanted to shape it in the way I’d learned to…
comment by rzimmerman · 2024-08-13 · in What you learn by making a new programming language -
…part of JS proper I worked on a compile-to-JS language that handled this by compiling to callbacks: https://github.com/rzimmerman/kal It included try/catch support and fancy stuff, like loops. The source may be interesting for anyone…
comment by rzimmerman · 2023-09-02 · in Internals of async / await in JavaScript -
…about this and used the sleep syntax: pause for 3 seconds With some other options for units. https://github.com/rzimmerman/kal#asynchronous-pause
comment by rzimmerman · 2022-03-21 · in Please put units in names -
…“else” bugged me enough that when I put together syntax for Kal (now defunct, but here’s a link https://github.com/rzimmerman/kal ) I added “otherwise” as an alias. It’s interesting to see I’m nowhere near the first to come up with that!…
comment by rzimmerman · 2020-12-13 · in If-then-else had to be invented -
…on this recursive descent-based compiler a few years ago with a focus on clarity and readability: https://github.com/rzimmerman/kal The actual parsing is here: https://github.com/rzimmerman/kal/blob/master/source/grammar... It's somewhere…
comment by rzimmerman · 2017-03-20 · in Show HN: How to write a recursive descent parser -
…but I've never really been a fan (it just feels weird). This was the rationale behind Kal ( https://github.com/rzimmerman/kal/ ), which effectively provides "await" (called "wait for") in ES5.
comment by rzimmerman · 2014-11-15 · in Generators in Firefox now 22 times faster -
…-f beautify input.kal to see the sausages being made. The http server demo is a good example ( https://github.com/rzimmerman/kal/blob/master/examples/async... )
comment by rzimmerman · 2013-08-17 · in Kal – a clean JavaScript alternative without callbacks -
…http://rzimmerman.github.io/kal/#asynchronous-wait ), and also the table of operators in the readme ( https://github.com/rzimmerman/kal/blob/master/README.md#oper... ). Also the examples directory on the github repo. Apologies if you saw…
comment by rzimmerman · 2013-08-17 · in Kal – a clean JavaScript alternative without callbacks