Changes between Version 15 and Version 16 of Ticket #4138
- Timestamp:
- 2016-12-02T12:55:01Z (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4138 – Description
v15 v16 1 1 This ticket is tracking the progress on the core of the new frontend. The current status is: 2 2 3 Instantiation ( perost, Adrian) 50%::3 Instantiation (Per, Adrian) 50%:: 4 4 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. 5 5 6 Extends ( perost) 80%::6 Extends (Per) 80%:: 7 7 Support for extends is implemented. More error checking is needed though, e.g. for duplicate elements and illegal class types. 8 8 9 Lookup ( perost) 80%::9 Lookup (Per) 80%:: 10 10 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. 11 11 12 Modifiers ( perost) 60%::12 Modifiers (Per) 60%:: 13 13 Support of modifiers on components, extends clauses and class modifiers is implemented, more testing is needed. 14 14 15 Redeclare ( perost) 50%::15 Redeclare (Per) 50%:: 16 16 Only very basic redeclare of components is implemented, more work is needed for redeclare of classes, merging of modifiers, constraining type, etc. 17 17 18 Imports ( perost) 25%::18 Imports (Per) 25%:: 19 19 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. 20 20 21 Conditional Components ::21 Conditional Components (Per) :: 22 22 No support for conditional components implemented. 23 23 24 Inner/Outer ::24 Inner/Outer (Adrian) :: 25 25 No support for Inner/Outer is implemented at all so far, but the new instance tree structure should make this fairly straightforward. 26 26 27 Functions ::27 Functions (Adrian, Peter) :: 28 28 No support for functions so far. Instantiation and typing of functions needs to be implemented, and we need some way of storing them during the instantiation (reuse function table from "old new frontend"?). 29 29 30 Records ::30 Records (Mahder) :: 31 31 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. 32 32 33 Builtin ( perost) 5%::33 Builtin (Per) 5%:: 34 34 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. 35 35 36 Typing ::36 Typing (Mahder, Peter) 60%:: 37 37 Quite a lot of typing is already implemented, but it needs to be expanded to handle all kinds of expressions and so on. 38 38 39 Type Checking ::39 Type Checking (Mahder, Peter, Arun) 10%:: 40 40 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. 41 41 42 Flattening ( perost) 25%::42 Flattening (Per) 25%:: 43 43 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.