summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Expand)AuthorFilesLines
2021-01-26bootstrap: Check that blocks start with { or return/break/etc.Samuel Lidén Borell1-3/+16
2021-01-16bootstrap: Add missing entry in operator tableSamuel Lidén Borell1-0/+1
2021-01-16bootstrap: Avoid printing some unnecessary parenthesesSamuel Lidén Borell1-23/+35
2021-01-15bootstrap: Translation of gotoSamuel Lidén Borell1-3/+11
2021-01-15bootstrap: Parsing of gotoSamuel Lidén Borell3-5/+71
2021-01-15bootstrap: Parsing of "switch" blocksSamuel Lidén Borell2-4/+109
2021-01-13bootstrap: Parsing of "for" loopsSamuel Lidén Borell2-5/+35
2021-01-13bootstrap: Fix parsing of empty blocksSamuel Lidén Borell3-1/+8
2021-01-13bootstrap: Parsing of enum typesSamuel Lidén Borell4-22/+74
2021-01-12bootstrap: Add boolean not/and/or operatorsSamuel Lidén Borell3-11/+38
2021-01-12bootstrap: Add remaining terminating keywords to expr parser + minor cleanupsSamuel Lidén Borell2-8/+48
2021-01-10bootstrap: Fix compiler warningsSamuel Lidén Borell3-14/+10
2021-01-10bootstrap: Basic parsing of array typesSamuel Lidén Borell4-15/+45
2021-01-09bootstrap: Beginning of type handlingSamuel Lidén Borell6-48/+337
2020-12-06bootstrap: Rename StmtBlock to BlockSamuel Lidén Borell4-47/+47
2020-12-06bootstrap: Implement loopend/loopempty blocksSamuel Lidén Borell3-9/+123
2020-12-05bootstrap: Implement basic do/while statementSamuel Lidén Borell2-4/+11
2020-12-05bootstrap: Basic translation of if/else and whileSamuel Lidén Borell3-24/+164
2020-12-05bootstrap: Fix source column after identifiers and numbersSamuel Lidén Borell1-2/+8
2020-12-05bootstrap: Fix operator-assign and equals operatorsSamuel Lidén Borell2-2/+2
2020-12-05bootstrap: Fix missing "return 1;"Samuel Lidén Borell1-1/+1
2020-12-05bootstrap: Emit struct definitions in the correct orderSamuel Lidén Borell3-6/+65
2020-12-05bootstrap: Fix typo in identifier dereferencing in typesSamuel Lidén Borell1-3/+3
2020-12-05bootstrap: Fix tokenization of "ref" keywordSamuel Lidén Borell1-1/+1
2020-12-05bootstrap: Add missing constant for unknown-length arraySamuel Lidén Borell1-1/+2
2020-12-04bootstrap: Basic C translation of number literalsSamuel Lidén Borell1-3/+15
2020-12-04bootstrap: Interpret "-" output as an alias for stdoutSamuel Lidén Borell1-5/+11
2020-10-04bootstrap: Basic C translation of statements and expressionsSamuel Lidén Borell4-19/+427
2020-10-04bootstrap: Support for nested arenasSamuel Lidén Borell1-32/+47
2020-10-03bootstrap: Parsing of expressionsSamuel Lidén Borell3-21/+605
2020-10-03bootstrap: Fix uninitialized pointersSamuel Lidén Borell1-0/+3
2020-10-03bootstrap: Check for memory allocation failureSamuel Lidén Borell2-3/+15
2020-10-03bootstrap: Add check of uintptr_t definition for C89Samuel Lidén Borell1-2/+4
2020-09-27bootstrap: Parsing of local variable declarationsSamuel Lidén Borell4-69/+245
2020-09-27bootstrap: Translation of function definitionsSamuel Lidén Borell2-7/+39
2020-09-27bootstrap: Use hashtables for struct fields and function parametersSamuel Lidén Borell3-43/+99
2020-09-27bootstrap: Include source file name in error messagesSamuel Lidén Borell1-1/+3
2020-09-26bootstrap: Basic parsing and translation of typesSamuel Lidén Borell3-26/+320
2020-09-24bootstrap: C code generator stubSamuel Lidén Borell4-8/+83
2020-09-23bootstrap: Implement parsing of named and builtin typesSamuel Lidén Borell3-11/+36
2020-09-22bootstrap: Add basic identifier handlingSamuel Lidén Borell3-31/+183
2020-09-14bootstrap: Refactor type flags into a bitfieldSamuel Lidén Borell3-48/+57
2020-09-13Fix some clang -Weverything warningsSamuel Lidén Borell4-22/+31
2020-09-13Initial commitSamuel Lidén Borell5-0/+1299