| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | REFACTOR: move sources to src/ | 2026-03-17 | 1 | -311/+0 | |
| | | |||||
| * | create distinct interned string type | 2025-12-15 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | Interned strings are used pervasively, so it's a good idea to add a layer of type safety to differentiate them from general cstrs and avoid potential bugs from comparing non-interned and interned strings. Not that that's happened so far that I can remember, but it could. I'm 90% sure it's legal to alias `struct {char c;}` pointers with `char` pointers. This specific typedef gives type safety but with a simple one-way `internstr -> const char *` typecast (with `&istr->c`). Converting the other way around is more intentional: a straight up cast `(internstr)cstr` which sticks out as unchecked and probably wrong, or calling the intern(cstr) function, which is the right way. | ||||
| * | c: support forward-declared enums | 2025-12-15 | 1 | -11/+15 | |
| | | | | | This is a common non-standard GNU extension. | ||||
| * | c: allow implicit type conversions between plain char pointer and | 2025-12-14 | 1 | -3/+5 | |
| | | | | | signed/unsigned char pointer | ||||
| * | rename arraylength macro -> countof | 2025-12-11 | 1 | -3/+3 | |
| | | |||||
| * | c: accept C99 `[static N]` style array decls, changes to fn quals | 2025-12-11 | 1 | -9/+3 | |
| | | | | | | | Function parameters qualifiers don't matter outside of function definition. `int (const int)` should be compatible with `int(int)` etc. So no need to store them in the typedata. | ||||
| * | c: support for noreturn, and decl parsing cleanup | 2025-12-11 | 1 | -1/+0 | |
| | | |||||
| * | c/type: make implicit const T* -> T* conversion warning, not error | 2025-11-26 | 1 | -2/+1 | |
| | | |||||
| * | factor type stuff into type.h | 2025-11-16 | 1 | -1/+1 | |
| | | |||||
| * | - break; | 2025-10-24 | 1 | -1/+0 | |
| | | |||||
| * | implement long double (as double synonym). wchar_t placeholder | 2025-10-15 | 1 | -1/+0 | |
| | | |||||
| * | arithmetic type cvt errata | 2025-10-13 | 1 | -2/+2 | |
| | | |||||
| * | add initializers (only static for initialier list rn) | 2023-06-29 | 1 | -1/+1 | |
| | | | | | and other fixes | ||||
| * | support calling undeclared functions | 2023-06-04 | 1 | -0/+4 | |
| | | |||||
| * | abi lowering pass | 2023-06-04 | 1 | -6/+0 | |
| | | |||||
| * | field access | 2023-05-29 | 1 | -6/+34 | |
| | | |||||
| * | improve struct token | 2023-05-28 | 1 | -3/+3 | |
| | | |||||
| * | hm | 2023-05-26 | 1 | -2/+4 | |
| | | |||||
| * | initial commit | 2023-05-10 | 1 | -0/+287 | |