4 ms·
It's complete in sofar as being capable of compiling C programs, but it has a few quirks. https://git.sr.ht/~vdupras/duskos/tree/master/item/fs/doc/comp/c.txt#
by entaloneralie 10mo ago
It's complete in sofar as being capable of compiling C programs, but it has a few quirks.
https://git.sr.ht/~vdupras/duskos/tree/master/item/fs/doc/comp/c.txt#L53 https://git.sr.ht/~vdupras/duskos/tree/master/item/fs/doc/co...
- kragen 10mo agoPossibly this is why it wasn't mentioned? There are enough differences in that list that I can't imagine any existing C library would compile unchanged.
- entaloneralie 10mo agoAfter using cc<< for non-trivial programs, it's about as quirky as the Plan 9 C compiler, the lack of multi-dimensional arrays is the one thing that trips me up the most with cc<<
- NooneAtAll3 10mo ago> The "&&", "||" and "?:" operators do shortcutting. is shortcutting different from short circuiting?
- vdupras 10mo agoIt's the same thing, I used the wrong term.