Commit Graph

7 Commits

Author SHA1 Message Date
5c02a9f858
Add dump_tokens.py 2024-10-01 19:02:20 +10:00
e48d50f1e6
Make structure instantiation StructType.{args...} instead of StructType{args...} 2024-10-01 14:30:05 +10:00
f3ed26f131
Make return a regular statement instead of an expression 2024-10-01 14:29:41 +10:00
18b22cd5d1
Fix token location reporting 2024-10-01 11:28:10 +10:00
b02ca87760
Remove union types
I will need to implement polymorphism later to allow for functions like `len` to work. Len currently relies on saying that its argument is either a list or a string, as strings are not a subtype of lists.
2024-08-13 12:45:42 +10:00
2cee127d8f
Add parsing for defers 2024-08-11 12:59:19 +10:00
7c1ce16f4b
Initial commit
This is the state of this project as it was back at the end of March,
when I stopped working on it. I left markdown files as documentation
for myself of the stuff I wanted to do.
2024-08-08 21:54:03 +10:00