Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-30 | compiler: add support for import/export statements | Jo-Philipp Wich | |
This commit introduces syntax level support for ES6 style module import and export statements. Imports are resolved at compile time and the corresponding module code is compiled into the main program. Also add testcases to cover import and export statement semantics. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2022-01-26 | vm: fix `null` loose equality/inequality checks | Jo-Philipp Wich | |
The current implementation incorrectly yielded `true` for `0 == null` but only `null` must be equal to `null`. Signed-off-by: Jo-Philipp Wich <jo@mein.io> |