node-js 0.1.0

JavaScript as a fusevm frontend: a lexer/parser and compiler to fusevm::Chunk on a JsHost object heap, with no bespoke VM or JIT
Documentation
1
2
3
4
5
6
7
// Basic values, arithmetic, and string formatting.
const name = "world";
console.log("hello, " + name);
console.log(1 + 2 * 3, 2 ** 8, 10 / 4, 17 % 5);
console.log(`template: ${name.toUpperCase()} has ${name.length} letters`);
let n = 42;
console.log(n, typeof n, n.toString(2), (3.14159).toFixed(2));