boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

064-for-decl.c (130B)


      1 int main(void) {
      2     int s;
      3     s = 0;
      4     for (int i = 1; i < 5; i = i + 1) s = s + i;
      5     return s;  /* 1 + 2 + 3 + 4 = 10 */
      6 }