Changes between Version 3 and Version 13 of Ticket #4138


Ignore:
Timestamp:
2016-12-02T10:41:49Z (8 years ago)
Author:
Per Östlund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4138 – Description

    v3 v13  
    11This ticket is tracking the progress on the core of the new frontend. The current status is:
    22
    3  Instantiation::
     3 Instantiation (perost, Adrian) 50%::
    44   Instantiation of long and short class definitions are implemented. Still missing are class extends, enumerations, overloaded functions and partial derivative functions. The handling of equations, algorithms and expressions also needs to be expanded, so far it's mostly just a proof of concept.
    55
    6  Extends::
     6 Extends (perost) 80%::
    77   Support for extends is implemented. More error checking is needed though, e.g. for duplicate elements and illegal class types.
    88
    9  Lookup::
     9 Lookup (perost) 50%::
    1010   Basic lookup is implemented, both for class names and crefs. Very little error checking is done beyond "name could not be found" though. Some more lookup functions will likely be needed for e.g. inner/outer.
    1111
    12  Modifiers::
     12 Modifiers (perost) 50%::
    1313   Only modifiers on components and extends clauses are handled so far, support for class modifiers still needs to be implemented.
    1414
    15  Redeclare::
     15 Redeclare (perost) 10%::
    1616   Only very basic redeclare of components is implemented, more work is needed for redeclare of classes, merging of modifiers, constraining type, etc.
    1717
    18  Imports::
     18 Imports (perost) 25%::
    1919   Basic support for qualified imports is implemented, unqualified imports still remains. It's also only possible to import classes at the moment, and not components. Some way of marking elements as imported is also needed, currently they are just inserted into the importing class as they are.
    2020
     
    3131   No support for records so far, except that the instantiation will instantiate the records as normal classes. Support for record constructors needs to be implemented, and other record things.
    3232
    33  Builtin::
     33 Builtin (perost) 5%::
    3434   So far only support for the basic types and time is implemented. Support for all the builtin functions and other builtin things (e.g. StateSelect, ExternalObject, etc.) needs to be implemented. As much as possible should be implemented via ModelicaBuiltin.
    3535
     
    4040   Some parts of the type checking module from the "old new frontend" is being used to type check binary expressions at the moment. Everything in NFTypeCheck that's not used is commented out since some of it doesn't compile any more. We need to investigate if more of the old code can be reused, and implement missing/nonreusable parts.
    4141
    42  Flattening::
     42 Flattening (perost) 25%::
    4343   Expansion of array bindings is currently broken and need to be fixed. Subscripting needs to be improved, and the module in general needs to be expanded to keep up with the phases before it.