Commit Graph

280 Commits (entity_declaration_type_checking)

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