This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
[Lang Enhancement Proposal] Implement PblAny_T
type
#66
Labels
Milestone
Affected area by change:
Short Introduction and Summary
Implement the
PblAny_T
type to allow for new features such as dynamic casting, dynamic type conversion, run-type type checking, dictionaries and global type tracking to be implemented.The
PblAny_T
is already partially implemented, but a base library for conversions and enhanced functionality needs to be provided to allow for proper usage without having issues while using it.The signature of the type should be as follows:
Is your request related to a problem? Please describe.
Currently, there is no way to properly implement certain features like dynamic casting and type tracking, without implementing the
PblAny_T
to allow for easier converting between different types.This also includes the
PblDict_T
, which is proposed here #65Describe alternatives you've considered
Possibly use advanced type checking and conversion, but with just a plain
void*
using additional compiler checks, to imitate theany
type. This though seems to have no real benefit over this solution and complicate the issue.Additional context
PblDict_T
type #65The text was updated successfully, but these errors were encountered: