Closed Kipt closed 3 years ago
Basic reflection implemented in version 0.2.0.
Example of syntax (see documentation here at github for more info):
struct (Messages, "Hi") HelloMessage
{
u(4) size;
string(size) greeting;
};
struct(Messages, 12 + 345) i8Message
{
u(1) value;
};
struct Message
{
u(4) type;
Messages[type] content;
};
A lot of files have structure like:
The only way to handle these cases in BEdit is by a rather verbose branching scheme.
A rudimentary reflection could be added to help in these cases.
Perhaps something like