GIGL Syntax

The syntax of GIGL is designed to extend from C++ (e.g. comments use exactly the same syntax). However, due to the tools we have access to (AbleC), we only have access to a system with C syntax encoded. Not all C++ syntax are compatible with C. Our temporary solution is to implement some C++ features that are common and compatible with C. This is one of the reason that we do not yet have a robust type system set up for GIGL. Here is some notes on the know issues:

    • The 'delete' feature in C++ (memory deallocation) is an expression to be exact; however, it is implemented as a statement in current GIGL system.

    • Syntax for declaring class inheritance does not parse properly. Potential syntax conflict with C exist.

    • Syntax for initializing variables with constructors in declaration does not parse properly. Potential syntax conflict with C exist.

    • Syntax for expressions calling constructors with a type name does not parse properly. Potential syntax conflict with C exist.

    • The "#include" macro may not be properly working at the moment. As we cannot accept all syntax in C++, if the header files contains syntax we cannot process this will break the system. The current temporary solution is to use the "import" feature, which impairs the type system though.

For details of GIGL Syntax, please refer to the subpages from here.