Commit Graph

290 Commits (entity_declaration_type_checking)
 

Author SHA1 Message Date
Tristan B. Kildaire c955b0bd6a Added TODO list for things to implement these holidays 3 years ago
Tristan B. Kildaire dcd513079d Updated other main unit test 3 years ago
Tristan B. Kildaire fd05ab1ef8 Fixed bug with `parseStruct`, now it doesn't return null 3 years ago
Tristan B. Kildaire 04c902a2c7 Added struct parsing support parseAccessor 3 years ago
Tristan B. Kildaire 5cee963957 Added struct parsing support to `parse` (for top-evel parsing) 3 years ago
Tristan B. Kildaire 017ef66d81 Works 3 years ago
Tristan B. Kildaire 931d136d74 Consume the closing curly brace in parseStruct 3 years ago
Tristan B. Kildaire 688fc34969 Added Struct parsing support to paarseBody
Added a test to test it (in basic1.t)
3 years ago
Tristan B. Kildaire ef3891530a Added SymbolType.STRUCT enum
Added support for SymbolType.STRUCT to getSymbolType
3 years ago
Tristan B. Kildaire 8661d2e264 Basic struct parsing added (not done and also not being called anywhere yet)
Updated unit test basic1.t to include a struct in it
3 years ago
Tristan B. Kildaire 139dcfd07c WIP: Adding support for structs 3 years ago
Tristan B. V. Kildaire 7642db1420 Undid, might wanna dependency check those 3 years ago
Tristan B. V. Kildaire c2f82f5577 Added comment 3 years ago
Tristan B. V. Kildaire 292407cbae Refactored 3 years ago
Tristan B. V. Kildaire 88e2dc03e1 Renamed `checkContainer` to `checkContainerCollision` 3 years ago
Tristan B. V. Kildaire eefb78158d Removed TODO 3 years ago
Tristan B. V. Kildaire d5dbaa7b8b Removed uneeded function 3 years ago
Tristan B. V. Kildaire 8c6eb6dbd0 Resolution of user-defined types is working 3 years ago
Tristan B. V. Kildaire bbb3d2f415 Added void type support 3 years ago
Tristan B. V. Kildaire 2fdb584c65 Removed incorrect type for built-in test `void.void` from both test cases 3 years ago
Tristan B. V. Kildaire 6185f8847c Fixed type resolution for built-in types 3 years ago
Tristan B. V. Kildaire c9c913eaae Call method 3 years ago
Tristan B. V. Kildaire bbef8c00f9 Added ubyte and byte type to builtins.d 3 years ago
Tristan B. V. Kildaire 8c3c14d412 Added ushort and shoprt type to builtins.d
Fixed branch
3 years ago
Tristan B. V. Kildaire 2bbdd50373 Added ulong and long type to builtins.d 3 years ago
Tristan B. V. Kildaire 170824be61 Added some return values for `getBuiltInType` 3 years ago
Tristan B. V. Kildaire cce89233eb Stub added for built-in types 3 years ago
Tristan B. V. Kildaire 3bc19fb3cb Refactored typing system 3 years ago
Tristan B. V. Kildaire 7476c1a3ce Refactored, functions and variables both checked for valid type names using one funciton that processes TypedEntities 3 years ago
Tristan B. V. Kildaire 5e296dd67c SHow error on invalid type being used for variable declarations 3 years ago
Tristan B. V. Kildaire 089d2b1584 Type resolution for variable declarations is working (WIP)
Added test case to test it
3 years ago
Tristan B. V. Kildaire d92fd13e14 Updated Pointer class 3 years ago
Tristan B. V. Kildaire e2280fbfa8 Added comment for Struct class 3 years ago
Tristan B. V. Kildaire c1f28bd80e Code cleanup 3 years ago
Tristan B. V. Kildaire cac568178d Moved field `width` from Integer to Number 3 years ago
Tristan B. V. Kildaire f67c9657b1 Added Struct Type 3 years ago
Tristan B. V. Kildaire 040d79ecfb Added classes for type representation 3 years ago
Tristan B. V. Kildaire 114f0c5c39 Now Container is an interface and Clazz is a kind-of Type (class-hierachy) and kind-of Container (interface)
Added assertion checks when casting for sanity (all casts to Entity from Container should never break as so far we do not have an object with a kind-of typeID tree that is imp,ementing interface Container and NOT Entity (class)
3 years ago
Tristan B. V. Kildaire 2cf9c07c1d Change over 3 years ago
Tristan B. V. Kildaire 9732815f77 Added `Type` 3 years ago
Tristan B. V. Kildaire 11c22c176a Figured out what to do 3 years ago
Tristan B. V. Kildaire 6d4048f112 It does be vibing with `protected` 3 years ago
Tristan B. V. Kildaire 80df41b8a8 Set to public for visibility 3 years ago
Tristan B. V. Kildaire 49227111da Set import to public to expose to others importing this module 3 years ago
Tristan B. V. Kildaire adc34cc4e4 Solved compilation error 3 years ago
Tristan B. V. Kildaire 173d8b8828 WIP: Added todo 3 years ago
Tristan B. V. Kildaire c5e744cfb8 WIP: I should make a `Type` interface
How tf do interfaces realistically work/are implemented
3 years ago
Tristan B. V. Kildaire 4bbdd78b45 WIP: checkDeinitionTypes
Implement this to do type resolution
3 years ago
Tristan B. V. Kildaire d7cd4df736 Added TODO
Added test case
3 years ago
Tristan B. V. Kildaire 9636f261dd Added TODO 3 years ago