summaryrefslogtreecommitdiffhomepage
path: root/compiler.c
AgeCommit message (Expand)Author
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
2021-05-11compiler: properly parse slashes in parenthesized division expressionsJo-Philipp Wich
2021-05-05compiler: properly handle break/continue in nested scopesJo-Philipp Wich
2021-05-04compiler: properly handle keyword in parenthesized property access expressionJo-Philipp Wich
2021-05-04compiler: fix stack mismatch on compiling `use strict` statementsJo-Philipp Wich
2021-05-04syntax: implement support for 'use strict' pragmaJo-Philipp Wich
2021-04-29compiler: fix segfault on parsing invalid pre/post increment expressionsJo-Philipp Wich
2021-04-29compiler, lexer: improve lexical state handlingJo-Philipp Wich
2021-04-27treewide: ISO C / pedantic complianceJo-Philipp Wich
2021-04-25treewide: rework internal data type systemJo-Philipp Wich
2021-04-24treewide: fix issues reported by clang code analyzerJo-Philipp Wich
2021-03-31compiler: actually expand block scope fix to for/while alt syntaxJo-Philipp Wich
2021-03-31compiler: ensure that alternative if/for/while syntax has own block scopeJo-Philipp Wich
2021-03-29compiler: rework switch statement code generationJo-Philipp Wich
2021-03-24compiler: fix for/break miscompilationJo-Philipp Wich
2021-03-23compiler: fix another try/catch miscompilationJo-Philipp Wich
2021-03-12compiler: fix parsing of arrow functions with single expression bodyJo-Philipp Wich
2021-03-11compiler: fix switch case->default fallthroughJo-Philipp Wich
2021-02-26compiler: fix try/catch miscompilationJo-Philipp Wich
2021-02-26lexer: improvementsJo-Philipp Wich