/Epicalyx

A toy C compiler

Primary LanguageC++

TODO:

  • pre-processor
  • struct/union sized fields
  • upcast in value type binops

Unsupported

  • _Generic related statements
  • Empty argument names for external function definitions
void func(int) {
  return;
}
  • Array size static and type-specifier declarations
int test[static 12];
  • Identifier lists in K&R style functions
void func(identifier-list)
declaration-list
{
    body
}

e.g:

void func(x) int x;