LLJS
LLJS copied to clipboard
LLJS: Low-Level JavaScript
I am getting an error after writing this code that the type cast expression is expected to be wrapped with parenthesis. Here is my code: onPressedButton = channelId => {...
Does the compiled JS code take advantage of asm.js support in Firefox? I don't see any "use asm.js" annotation in generated code. See: http://jlongster.com/Compiling-LLJS-to-asm.js,-Now-Available- I think writing LLJS is nicer...
It seems that the lljs.org domain has been hijacked, and is now a blog. Archive.org shows that it was still intact as of May 22nd of this year.
When I try to run the examples on the main page, I get the error "memory.reset is not a function". Browser: Firefox Nightly 36, Windows XP
I made the heap-allocated array example a little more realistic and included use of "delete".
lljs.org is down as for Wed May 14 2014 08:50:07 GMT+0200, the website is down.
Would be nice to go beyond plain C idioms and add support for classes (ES6 style). These can be easily represented as structs under the hood. A real class system...
Given that LLJS is nearly C, would be great to have C as a potential compile target (using stdlib & malloc instead of ArrayBuffer). Or even Objective C. Having one...