[Development] Fornux C++ Superset

Phil Bouchard philippeb8 at gmail.com
Tue May 1 15:27:26 CEST 2018


Michael Corcoran <michael.corcoran at outlook.com> wrote:
> On 05/01/2018 11:18 AM, Phil Bouchard wrote:
>> I just tried to support nested structures and given nested structures
>> and template specializations aren't commutative then it's not possible
>> to support them if you want to respect the access scope at the same
>> time. If you give up the nested declaration and therefore the access
>> scope privileges then it'll be fine. Ex:
> ...
>> The day the C++ language will support nested forward declarations
>> correctly then it'll be possible but not for now.
> ...
>> Regards,
>> -Phil
> 
> It's not really a "superset" if it doesn't support all of the features of
> the original language, much less core features such as nested structs...
> You may like to revisit that naming choice.

I agree but I will first see what I can do with the C++ ISO standards. On
the other hand I am more targeting QML because QWidgets are fine already so
I assume:
- QML compiler converts QML into C++
- Fornux C++ Superset could then inject its memory manager
- Compile the resulting code

It’s just a matter of making sure QML doesn’t use nested structures.


Regards,
-Phil




More information about the Development mailing list