summaryrefslogtreecommitdiffhomepage
path: root/compiler.c
AgeCommit message (Expand)Author
2024-02-13compiler: close upvalues on loop control statementsFelix Fietkau
2023-11-06syntax: don't treat `as` and `from` as reserved keywordsJo-Philipp Wich
2023-05-30compiler: fix memory leak in uc_compiler_compile_import on early exitChristian Marangi
2022-11-29compiler: fix bytecode for logical assignments of propertiesJo-Philipp Wich
2022-11-22compiler: ensure that arrow functions with block bodies return no valueJo-Philipp Wich
2022-11-15compiler: fix `??=`, `||=` and `&&=` logical assignment semanticsJo-Philipp Wich
2022-10-04compiler: optimize function return opcode generationJo-Philipp Wich
2022-08-24lib: introduce helper function for indenting error messagesJo-Philipp Wich
2022-08-06compiler: add import statement support for dynamic extensionsJo-Philipp Wich
2022-08-06compiler: don't treat offset 0 special at syntax errorsJo-Philipp Wich
2022-08-05compiler: improve formatting of nested syntax error messagesJo-Philipp Wich
2022-08-05compiler: rework export index allocationJo-Philipp Wich
2022-08-05compiler: fix deriving module path from source runpathJo-Philipp Wich
2022-08-05compiler: enforce stricter module compilation rulesJo-Philipp Wich
2022-08-05compiler: add a flag denoting module functionsJo-Philipp Wich
2022-07-30compiler: add support for import/export statementsJo-Philipp Wich
2022-07-30compiler: resolve predeclared upvaluesJo-Philipp Wich
2022-07-30compiler: require a name in function declarationsJo-Philipp Wich
2022-07-30compiler: fix reported source position in inc/dec operator errorJo-Philipp Wich
2022-07-30program: add infrastructure to handle multiple sources per programJo-Philipp Wich
2022-06-30compiler: fix stack mismatch on continue statements nested in switchesJo-Philipp Wich
2022-06-27compiler: fix stack mismatch on nonmatching switch statements with localsJo-Philipp Wich
2022-05-20compiler: fix segmentation fault on compiling unexpected unary expressionsJo-Philipp Wich
2022-04-13syntax: implement support for ES6 template literalsJo-Philipp Wich
2022-03-07syntax: support add new operatorsJo-Philipp Wich
2022-02-11compiler: fix patchlist corruption on switch statement syntax errorsJo-Philipp Wich
2022-02-08compiler: fix incorrect loop break targetsJo-Philipp Wich
2022-02-07treewide: rework function memory modelJo-Philipp Wich
2022-01-29program: rename bytecode load/write functions, track path of executed fileJo-Philipp Wich
2022-01-18syntax: drop legacy syntax supportJo-Philipp Wich
2022-01-18build: support building without compile capabilitiesJo-Philipp Wich
2022-01-18program: implement support for precompiling source filesJo-Philipp Wich
2022-01-18source: refactor source file handlingJo-Philipp Wich
2022-01-18compiler, vm: use a program wide constant listJo-Philipp Wich
2022-01-18types: add initial infrastructure for function serializationJo-Philipp Wich
2022-01-04treewide: rework numeric value handlingJo-Philipp Wich
2021-12-01syntax: disallow keywords in object property shorthand notationJo-Philipp Wich
2021-10-11syntax: introduce optional chaining operatorsJo-Philipp Wich
2021-09-19compiler: properly handle jumps to offset 0Jo-Philipp Wich
2021-07-11treewide: harmonize function namingJo-Philipp Wich
2021-07-11treewide: move header files into dedicated directoryJo-Philipp Wich
2021-07-11treewide: consolidate typedef namingJo-Philipp Wich
2021-07-11treewide: eliminate dead code and unused functionsJo-Philipp Wich
2021-07-05compiler: don't segfault on invalid declaration expressionsJo-Philipp Wich
2021-06-08compiler: improve mapping of binary operator tokens to instructionsJo-Philipp Wich
2021-05-25lexer, compiler: separate TK_BOOL token into TK_TRUE and TK_FALSE tokensJo-Philipp Wich
2021-05-18syntax: introduce `const` supportJo-Philipp Wich
2021-05-18compiler, lexer: add NO_LEGACY define to disable legacy syntax featuresJo-Philipp Wich
2021-05-18syntax: implement `delete` as proper operatorJo-Philipp Wich
2021-05-11compiler: fix local for-loop initializer variable declarationsJo-Philipp Wich