aboutsummaryrefslogtreecommitdiff
path: root/compiler
AgeCommit message (Expand)AuthorFilesLines
7 daysbootstrap: Add missing return statement. Add various TODO commentsSamuel Lidén Borell1-0/+3
7 daysbootstrap: Fix incorrect non-overlapping range warningSamuel Lidén Borell1-0/+6
7 daysbootstrap: Follow types of local variablesSamuel Lidén Borell1-1/+7
7 daysbootstrap: Proper scoping of variables, but forbid shadowingSamuel Lidén Borell1-0/+2
12 daysbootstrap: Fix/improve range check of mod operatorSamuel Lidén Borell1-0/+1
2025-05-31bootstrap: Check type of return expressionSamuel Lidén Borell1-4/+4
2025-05-30bootstrap: Warn about always-true/always-false conditionsSamuel Lidén Borell1-1/+1
2025-05-30bootstrap: Fix comparison operators with bool operandsSamuel Lidén Borell1-0/+4
2025-05-30bootstrap: Detect always-false assert'sSamuel Lidén Borell1-2/+2
2025-05-30bootstrap: Range checks of mod operatorSamuel Lidén Borell1-0/+8
2025-05-30bootstrap: Basic type compatibility checksSamuel Lidén Borell1-3/+21
2025-05-29bootstrap: Basic type/range checking inside expressionsSamuel Lidén Borell1-1/+6
2025-05-29bootstrap: Fix uninitialized pointer for empty/absent statement blocksSamuel Lidén Borell1-0/+2
2025-05-28bootstrap: Avoid outputting trigraphs in stringsSamuel Lidén Borell1-1/+1
2025-05-24Dual-license under LGPL-2.1 or laterSamuel Lidén Borell1-1/+1
2025-05-23bootstrap: Parsing of int/bool typesSamuel Lidén Borell1-10/+14
2025-05-13bootstrap: Basic parsing of switch-case statementSamuel Lidén Borell1-0/+27
2025-05-11stage0: Emit string constantsSamuel Lidén Borell1-0/+2
2025-05-11stage0: Foundation for string literalsSamuel Lidén Borell1-0/+3
2025-05-10stage0: Detect oversized integer tokensSamuel Lidén Borell1-0/+1
2025-05-04stage0: Fix incorrect RPN for short-circuiting boolean expressionsSamuel Lidén Borell1-0/+1
2025-05-04stage0: Fix incorrect handling of operator precedencesSamuel Lidén Borell1-0/+1
2025-05-04stage0: Special handling for minimum signed values in CSamuel Lidén Borell1-0/+1
2025-04-27stage0: Fix parsing of `not` operatorSamuel Lidén Borell1-0/+1
2025-04-27stage0: Disallow ambiguous negation in function argumentsSamuel Lidén Borell1-2/+5
2025-04-27stage0: Function call and identifier expressionsSamuel Lidén Borell1-0/+23
2025-04-27stage0: Fix "Ambiguous mix of operators" error for comparison operatorsSamuel Lidén Borell1-0/+1
2025-04-26stage0: short-circuiting of boolean `or`/`and` operationsSamuel Lidén Borell1-0/+3
2025-04-04stage0: Parsing for `for` loopsSamuel Lidén Borell1-0/+3
2025-04-02stage0: Parsing of grouping paranthesesSamuel Lidén Borell1-1/+1
2025-04-01stage0: Emit correct operand tempvar for unary minusSamuel Lidén Borell1-0/+1
2025-04-01stage0: Parsing of integer constantsSamuel Lidén Borell1-1/+1
2025-03-31stage0: Parsing of variable definitionsSamuel Lidén Borell1-0/+2
2025-03-31stage0: Emit goto instead of break for `break`Samuel Lidén Borell1-1/+4
2025-03-31stage0: Parsing of loopempty/loopendSamuel Lidén Borell1-0/+4
2025-03-31stage0: Parsing of basic while loopsSamuel Lidén Borell1-0/+3
2025-03-30stage0: Parsing of if/elif/elseSamuel Lidén Borell1-1/+10
2025-03-29stage0: Emit function declarations. AST fixesSamuel Lidén Borell1-0/+9
2025-03-28stage0: Emit dummy stage1 file and compile itSamuel Lidén Borell1-87/+0
2025-03-28stage0: Basic parsing of expressionsSamuel Lidén Borell1-1/+1
2025-03-27stage0: Basic checks of break/continue/return statementsSamuel Lidén Borell1-7/+7
2025-03-27stage0: Actually create statement nodes. More AST data structuresSamuel Lidén Borell1-0/+9
2025-03-26stage0: Basic structure for parsing statementsSamuel Lidén Borell1-0/+5
2025-03-22stage0: Parsing of function declarationsSamuel Lidén Borell1-0/+7
2025-03-15Add e-mail to copyright headersSamuel Lidén Borell1-1/+1
2025-03-06Initial commitSamuel Lidén Borell2-0/+116