/LangX

Language X - toy compiler for teaching

Primary LanguageJava

LangX

Language X - toy compiler in pieces (for teaching)

sawickib, 2014-2023

  1. readwrite - simple i/o processing
  2. simplecalc - artmetic expressions on integers
  3. realcalc - artmetic expressions on integer and real numbers
  4. block - flow control, 'if' statement
  5. loop - repetitions, simple 'while' loop
  6. function - simple functions; scopes of variables
  7. string - partial string type implementation