This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
[Lang Enhancement Proposal] Implement PblType_T
, PblTypeList_T
and file scope type tracking (dynamic type checking and conversion)
#67
Labels
Milestone
Affected area by change:
Short Introduction and Summary
Currently, there are two proposals in this repo (#65 and #66) both aiming to provide new types, which would allow for the implementation of a compiler and
pbl
-managed type-list, which would keep track of all types and allow for dynamic initialisation, conversion and checking, by saving meta-data and allowing the user to "copy" from that to create new types.Is your request related to a problem? Please describe.
PblAny_T
type #66PblDict_T
type #65Describe the solution you'd like
Implement the new type
PblTypeMeta_T
, which would track the functionality and meta-data of a type itself. That type should then be automatically saved in the global dictionary at runtime, e.g. right at runtime start.Signatures:
Describe alternatives you've considered
None.
Additional context
PblPointer_T
to differentiate between native pointers and user-defined pointers #69The text was updated successfully, but these errors were encountered: