added support for floats

This commit is contained in:
Andrew Segavac
2021-05-29 10:50:15 -06:00
parent b8769f43e3
commit 374e080f26
4 changed files with 46 additions and 12 deletions

View File

@@ -26,3 +26,16 @@ class TypeUsage:
result: Identifier # Result of useage - either is the type, or is the return value if it's a function
type_args: List[Type] # Generics
arguments: Optional[List[Type]] # Specified if it is a function, this is how you tell if it's a function
TODO:
* ~Float Literals~
* Block expression
* Return keyword
* Structs
* Generics
* Enums
* Methods
* Traits
* Async