Scott Graham
Scott Graham
I'm awful at reading unified +- diffs, I'd love a side-by-side diff option.
Forgive me if I'm off base here... I was just reading wren_value.h and digesting the description of NaN-tagging. The description says that the 11 exponent bits plus the highest bit...
I just discovered a bug in hashmap.c, which I found quite surprising as I'd been using it for quite a while and on some pretty large codebases! I think the...
I found this prints "1 2 3 4 N" where N is something random (not 99). This error doesn't occur if only 3 ints are passed before the struct, or...
https://github.com/rui314/chibicc/blob/90d1f7f199cc55b13c7fdb5839d1409806633fdb/parse.c#L1956 This makes this test case in constexpr.c: ``` ASSERT(2, ({ char x[12%10]; sizeof(x); })); ``` be a VLA rather than a constexpr. (I happened to notice because I broke...
``` void crash() { char arr[16384] = {0}; } ``` Making a huge tree of ND_MEMZERO ND_COMMAs which leads to stack overflow either during construction or during gen_expr.
Some possibilities: - import instead of #include when not referring to system headers - string type with helper syntax - basic polymorphic containers (dist, list, slice) - range based for...
"dyibicc" is a bit weird and wordy. Think of something better that someone else didn't already use, and that preferably has an available domain.
At some point self-hosting did work, but I think probably broke along the way. Get it working again, and then set up a mode where the compiler can build the...