Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store decl info in auxilliary data | Thomas Voss | 2024-06-22 | 1 | -35/+45 |
| | |||||
* | Huge changes to static analysis | Thomas Voss | 2024-06-21 | 1 | -6/+8 |
| | |||||
* | Various parser fixes | Thomas Voss | 2024-06-19 | 1 | -22/+88 |
| | |||||
* | Big moves | Thomas Voss | 2024-06-18 | 1 | -1/+2 |
| | |||||
* | Minor efficiency improvement | Thomas Voss | 2024-06-14 | 1 | -2/+5 |
| | |||||
* | Allow identifiers in expressions | Thomas Voss | 2024-06-14 | 1 | -0/+4 |
| | |||||
* | Fix alignof() usage and a very sneaky bug | Thomas Voss | 2024-06-12 | 1 | -25/+27 |
| | | | | | | | | | | | | | | | | | | It might seem innocuous, but the following expression is actually quite prone to breakage: ast->kids[i].lhs = parseexpr(ast, toks); The reason is that parseexpr() and the other parsing functions return indicies into the AST, however in doing so they may find that the AST needs to grow and call astresz(). Should astresz() be called there is a chance that we will realloc() a new buffer somewhere else in memory, causing the left-hand side of the above expression to now be pointing to an invalid location in memory. To combat this we’re forced to break it up into two statements: idx_t_ lhs = parseexpr(ast, toks); ast->kids[i].lhs = lhs; | ||||
* | Use smaller default capacities in debug mode | Thomas Voss | 2024-06-12 | 1 | -11/+9 |
| | |||||
* | Code reshuffling | Thomas Voss | 2024-06-11 | 1 | -2/+3 |
| | |||||
* | Remove ‘soa’ from lots of identifiers | Thomas Voss | 2024-06-11 | 1 | -26/+26 |
| | |||||
* | Switch size_t indicies to be idx_t_ | Thomas Voss | 2024-06-11 | 1 | -31/+15 |
| | |||||
* | Add basic LLVM codegen | Thomas Voss | 2024-06-11 | 1 | -103/+140 |
| | |||||
* | Parse very basic declarations | Thomas Voss | 2024-06-11 | 1 | -20/+148 |
| | |||||
* | Begin work on a basic parser | Thomas Voss | 2024-06-11 | 1 | -0/+112 |