pca006132 3f4f23c0ab | ||
---|---|---|
.. | ||
examples | ||
README.md | ||
helper.py | ||
inference.py | ||
inheritance.py | ||
main.py | ||
parse_expr.py | ||
parse_stmt.py | ||
primitives.py | ||
test_expr.py | ||
test_inference.py | ||
test_stmt.py | ||
test_subst.py | ||
test_top_level.py | ||
top_level.py | ||
type_def.py |
README.md
Toy Implementation
Currently the rough implementation is done, works remain are the code for checking a real python script, getting the type variables, some implementation details etc.
These features are considered in the proposal, but would not be implemented here for simplicity reasons:
- Referencing Python Variables.
- Most of the types, only the following types are implemented:
int32
int64
float
bool
list[T]
tuple[T1,...]
virtual[T]
- Storing large constants as
uint32
,int64
oruint64
. - AugAssign,
a += b
etc. with
,try except
, etc.- const indexing with tuple.
- method override check modulo variable renaming.
- more complicated type guard