4 ms·
I think it's because their subset of C [1], which they call C Star (C*), doesn't support the `sizeof` operator. Since Selfie is supposed to be able to compile i
by jay-barronville 4y ago
I think it's because their subset of C [1], which they call C Star (C*), doesn't support the `sizeof` operator. Since Selfie is supposed to be able to compile itself, it seems they've restricted the used grammar to the subset supported by C*.
[1]: https://github.com/cksystemsteaching/selfie/blob/50b5fec83785d9619d8d5a3773f3482dcac5f4f1/grammar.md https://github.com/cksystemsteaching/selfie/blob/50b5fec8378...
- unwind 4y agoAah of course. Didn't read that far. Thanks.
- pjmlp 4y agoC Star (C*) ?!? Oh, well. https://en.wikipedia.org/wiki/C https://en.wikipedia.org/wiki/C* => "It was developed in 1987 as an alternative language to Lisp and CM-Fortran for the Connection Machine CM-2 and above. The language C* adds to C a "domain" data type and a selection statement for parallel execution in domains. "