Changes between Version 65 and Version 66 of Ticket #4138
- Timestamp:
- 2018-02-26T13:58:45Z (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4138 – Description
v65 v66 32 32 Partial support for functions. Instantiation and typing of functions is implemented. Positional arguments and named arguments are supported. *Vectorization support needs do be adapted*. Preliminary support for reductions is implemented. Support for function trees exists. Allow arrays of unknown size in functions. 33 33 34 Records (Mahder) 85%::34 Records (Mahder) 95%:: 35 35 Support for records and for record constructors in the works. 36 Needs more testing. 36 Needs more testing. 37 37 38 Builtin (Per, Mahder ) 70%::38 Builtin (Per, Mahder, Martin) 80%:: 39 39 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~~ (implemented), ~~ExternalObject~~ (implemented), etc.) needs to be implemented. As much as possible should be implemented via ModelicaBuiltin. Tests added. Support for functions with variable number of arguments not yet implemented. 40 40 … … 44 44 matrix, vector, scalar, {}, []. 45 45 46 Typing (Per, Mahder) 70%::46 Typing (Per, Mahder) 100%:: 47 47 Quite a lot of typing is already implemented, but it needs to be expanded to handle all kinds of expressions and so on. 48 48 49 Type Checking (Mahder, Peter, Per) 65%::49 Type Checking (Mahder, Peter, Per) 80%:: 50 50 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. 51 51 52 52 Flattening (Per) 70%:: 53 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. Some issues with subscripts are left. 53 Needs to be improved. 54 OLD: 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. Some issues with subscripts are left. 55 54 56 55 57 Connection Handling (Per) 60%:: … … 64 66 Ported the backend unit checking to the new frontend. Added tests. Based on the DAE intermediate form. Some more improvements. Scalability is not that good. 65 67 66 Operator Overloading (Mahder & Martin) 70%::68 Operator Overloading (Mahder & Martin) 90%:: 67 69 The support for operator overloading from the current front-end (or the previous implementation of the new front-end) should be ported to the new front-end. Most of the Operator Overloading resolution is done, lookup of actual deoverloaded functions is needed. 68 70