Jürgen Ryannel
Jürgen Ryannel
Either data can be added as ``` @date string today ``` or ``` date today ``` Date would be always date-time. Or simple ``` string today ``` And the user...
Could this also be solved using code fences? E.g target source code embedded into the IDL?
Maybe sth like this: ``` external { interface MyModule.MyInterface interface MyModule.MyInterface2 struct MyModule.MyStruct enum MyModule.MyStruct } interface MyInterface { readonly MyModule.MyInterface myPropertyOfNativeType } ``` The declared external symbols are like...
This would also require to use code fences to ensure headers are included. ``` include cpp { #include } ``` Where `include` followed by a scope name and inside the...
QFace had in the past some included generators. Nowadays it is just a library to write your generator. You can search for the Pelagicore github account for the generators. They...
QFace is an IDL library. You need to install one of the tools, e.g. qface-qtcpp (see here for an incomplete list: http://qface.readthedocs.io/en/latest/builtin.html). These tools will then read the qface file...
The main purpose of qface is to write your own generator. See here for an example: http://qface.readthedocs.io/en/latest/usage.html
Having several parameters which are optional will make code-generation complicated. ``` int add(optional int a, optional int b, optional int c) ``` You would need to generate several operation in...
Maybe we could add a special value to the default value, e.g. None. ``` void add(a = None, b = None, c = None) ``` This seems to be more...
There shall be a documented rules for the different generators for default values (e.g. int => 0, real => 0.0, string => "". Are default values specific to the generator?...