project-langx / X

A placeholder language with shareable bytecode IR.
2 stars 0 forks source link

Tests for X and some misc changes #36

Closed frankhart2018 closed 2 years ago

frankhart2018 commented 2 years ago

Implementation

  1. Add test sub-packages for various sub-packages of X.
  2. Make running test command with X installation.
  3. Change representation of token type from string to TokenType (enum).
  4. In webdebug /generate-tokens, the string representation of Token should be used, it should not build its own representation of Token.
  5. Add string representation of Token and TokenType.
  6. Update parser to account for the new TokenType enum.
  7. Stricter mypy rules.
  8. Add a class CheckClass which is inherited by all classes, this does input validation before constructing an object of a class.
frankhart2018 commented 2 years ago

Changes are pending, created this PR so as to not forget listing out the changes in implementation. I will continue pushing to the same PR. This will be merged once all the changes for #35 are done.

frankhart2018 commented 2 years ago

Status:

frankhart2018 commented 2 years ago

TODO: