Directory Compiler/FFrontEnd/

Directory Created:
2014-04-03 08:26
Total Files:
15
Deleted Files:
0
Lines of Code:
13045

[root]/Compiler/FFrontEnd

Lines of Code

Compiler/FFrontEnd/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 190 (100.0%) 15359 (100.0%) 80.8
adrpo 52 (27.4%) 13913 (90.6%) 267.5
hudson 26 (13.7%) 713 (4.6%) 27.4
sjoelund.se 91 (47.9%) 686 (4.5%) 7.5
hkiel 6 (3.2%) 26 (0.2%) 4.3
perost 4 (2.1%) 20 (0.1%) 5.0
lochel 8 (4.2%) 1 (0.0%) 0.1
leonardo.laguna 3 (1.6%) 0 (0.0%) 0.0

Most Recent Commits

hkiel 2015-04-23 14:36 Rev.: 25708

eliminate List.isNotEmpty() and List.first() (replaced by listEmpty() and listHead())

22 lines of code changed in 5 files:

  • Compiler/FFrontEnd: FExpand.mo (+7 -7), FGraph.mo (+3 -3), FInst.mo (+6 -6), FLookup.mo (+2 -2), FNode.mo (+4 -4)
lochel 2015-04-22 17:18 Rev.: 25688

- Removed List.isEmpty

1 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FNode.mo (+1 -1)
perost 2015-02-04 16:42 Rev.: 24411

- Some minor optimizations.

16 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FNode.mo (+16 -32)
hkiel 2015-01-23 13:23 Rev.: 24164

- some code cleanup
- converted recursive matchcontinue to simple while loop

4 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FNode.mo (+4 -20)
sjoelund.se 2014-11-24 13:15 Rev.: 23529

Use getInstanceName() to query function names automatically (updated automatically as the the functions are moved)

12 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+12)
sjoelund.se 2014-11-06 16:51 Rev.: 23238

Refactor some more things away

1 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FMod.mo (+1 -1)
sjoelund.se 2014-11-06 15:28 Rev.: 23231

Updated the refactoring script, handling `REC(name=_)=>REC()`
- Ran the refactoring script

121 lines of code changed in 11 files:

  • Compiler/FFrontEnd: FExpand.mo (+1 -1), FGraph.mo (+35 -35), FGraphBuild.mo (+13 -13), FGraphBuildEnv.mo (+13 -13), FGraphDump.mo (+8 -10), FGraphStream.mo (+1 -1), FInst.mo (+2 -2), FLookup.mo (+6 -6), FMod.mo (+1 -1), FNode.mo (+40 -40), FVisit.mo (+1 -1)
sjoelund.se 2014-11-02 22:00 Rev.: 23138

Big changes. You will need to bootstrap omc from scratch.
- Added function `sourceInfo()`, which returns the file and positions of the call in the source code (useful to produce error-messages that point inside the compiler itself).
- Changed all Absyn.Info to the built-in SourceInfo uniontype
- Added SourceInfo to GlobalScript.IEXP (previously only statements had SourceInfo)
- Changed System.readLine to fail if the file does not exist. The scripting function returns an empty string on failure.

A new bootstrapping tarball has been created. Some of the new features you can use in the compiler:
- (Limited) assignment to metarecord fields (r23120)
- Use new built-in function arrayAppend and Dangerous.arrayCreateNoInit (r23106)
- import MetaModelica.Dangerous (r23001)
- SourceInfo (this commit)

27 lines of code changed in 9 files:

  • Compiler/FFrontEnd: FBuiltin.mo (+2 -2), FExpand.mo (+1 -1), FGraphBuild.mo (+4 -4), FGraphBuildEnv.mo (+4 -4), FInst.mo (+1 -1), FLookup.mo (+2 -2), FMod.mo (+1 -1), FNode.mo (+3 -3), FResolve.mo (+9 -9)
adrpo 2014-10-30 18:36 Rev.: 23093

- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt)
- increase size given to GC_expand_hp to 300M to get a bit more speedup

17 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FNode.mo (+17)
sjoelund.se 2014-10-29 17:29 Rev.: 23050

Removed the old MetaModelica operators from the parser (+& ==& +. ==., etc)

165 lines of code changed in 13 files:

  • Compiler/FFrontEnd: FBuiltin.mo (+5 -5), FCore.mo (+5 -5), FExpand.mo (+8 -8), FGraph.mo (+26 -26), FGraphBuild.mo (+5 -5), FGraphBuildEnv.mo (+5 -5), FGraphDump.mo (+36 -36), FInst.mo (+16 -16), FLookup.mo (+11 -11), FMod.mo (+5 -5), FNode.mo (+17 -17), FResolve.mo (+19 -19), FVisit.mo (+7 -7)
sjoelund.se 2014-10-28 16:30 Rev.: 23007

Replace `Util.if_` with if-expressions

9 lines of code changed in 3 files:

  • Compiler/FFrontEnd: FGraphDump.mo (+4 -4), FNode.mo (+2 -3), FVisit.mo (+3 -4)
perost 2014-10-26 15:22 Rev.: 22958

- Rewrote List package to take advantage of bootstrapped features.
- Refactored Util, moved some functions to new Array package, some to List.
- Better handling of conditional components.
- Various optimizations to handle larger models.

3 lines of code changed in 2 files:

  • Compiler/FFrontEnd: FGraph.mo (+2 -2), FNode.mo (+1 -1)
sjoelund.se 2014-10-21 15:46 Rev.: 22846

Create package Util/ClockIndexes (used to be part of Script/GlobalScript) in order to decouple susan from the front-end modules

15 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FInst.mo (+15 -15)
sjoelund.se 2014-10-21 11:49 Rev.: 22831

- Added support for a new annotation `__OpenModelica_Interface`, and the corresponding scripting function `checkInterfaceOfPackages`
- Using this function and annotating every source package, it is possible to restrict and document which packages are part of the front-end and which are back-end modules
- The interface types are given in the call to `checkInterfaceOfPackages`
- Currently, too many packages have the backendInterface type (allowing front-end modules to call it even though it is a back-end module. Only one package should be a backendInterface once we refactor)
- Improved Susan to be able to insert a custom class annotation at the end of the class (so we automatically add the required `__OpenModelica_Interface` packages)
- Note that this requires installing an updated omc in order to compile susan files. (or run touch Compiler/Template/*.mo to skip trying to compile these, then touch the tpl files once you have an updated susan compiler)
- Improved SCodeDumpTpl to include non-blacklisted class annotations without +showAnnotations
- Removed the non-standard built-in function differentiate (re-add it as a scripting function if needed, or using bootstrapping tests to test differentiation)

16 lines of code changed in 15 files:

  • Compiler/FFrontEnd: FBuiltin.mo (+1 -1), FCore.mo (+1 -1), FExpand.mo (+1), FGraph.mo (+1 -1), FGraphBuild.mo (+1), FGraphBuildEnv.mo (+1), FGraphDump.mo (+1), FGraphStream.mo (+2 -1), FInst.mo (+1), FLookup.mo (+1 -1), FMod.mo (+1), FNode.mo (+1), FResolve.mo (+1), FTraverse.mo (+1 -1), FVisit.mo (+1)
adrpo 2014-10-08 03:49 Rev.: 22672

Fix bug: #2853
- more careful reverse lookup for functions

32 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+32)
adrpo 2014-10-06 23:53 Rev.: 22628

- remove Compiler/FrontEnd/Env.mo (bye bye, you served us well for quite some years now)
(replaced everywhere by Compiler/FrontEnd/FGraph.mo and Compiler/FrontEnd/FCore.mo)
- other minor changes
- let's see how it goes and a 1.9.1 Beta3 will come next

94 lines of code changed in 3 files:

  • Compiler/FFrontEnd: FCore.mo (+4), FGraph.mo (+89), FNode.mo (+1)
adrpo 2014-10-05 05:38 Rev.: 22590

- add proper error messages in some cases where print was used
- handle DAE.INITIAL_NORETCALL in the BackEnd/BackendDAECreate.mo and FrontEnd/DAEUtil.mo
(thanks to go to models: Buildings.Fluid.Chillers.Examples.ElectricEIR|ElectricReformulatedEIR)

14 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+14 -11)
adrpo 2014-10-05 03:28 Rev.: 22588

- partial fix for #2858 (does not yet work with for iterators indexing the array of records)
* some tests are now actually giving correct results
- partial support for Connections.uniqueRoot and Connections.uniqueRootIndexes
* non standard operators: Connections.uniqueRoot and Connections.uniqueRootIndices are only partially implemented
* Connections.uniqueRoot currently does nothing, only collects information
* Connections.uniqueRootIndices needs to be implemented, it returns an array of ones (1) of size of first input
* See specification for these here (Modelica_StateGraph2):
https://github.com/modelica/Modelica_StateGraph2 and
https://trac.modelica.org/Modelica/ticket/984 and
http://www.ep.liu.se/ecp/043/041/ecp09430108.pdf
* any takers for the actual implementation? is not that complicated :)
- changed the way array types are printed out to be easier to follow

4 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+4 -2)
adrpo 2014-10-04 05:44 Rev.: 22586

- all MSL 3.2.1 now compiles
- add the previously failing tests to the testsuite

43 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+43 -5)
sjoelund.se 2014-10-03 12:22 Rev.: 22578

Do not create a version scope for operator records

2 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+2 -1)
adrpo 2014-09-30 16:29 Rev.: 22515

Fix bug: #2854 (do scope versioning also in the top scope, but not for builtin classes and builtin types)
- note that flattening/modelica/declarations/Constant12.mo is actually correct now,
see m:#1397, well, except for the fact that it should tell that A.y does not have a binding

20 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraph.mo (+20 -2)
adrpo 2014-09-30 07:04 Rev.: 22498

- don't use System.gettext for Modelica constructs

5 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FMod.mo (+5 -5)
hudson 2014-09-30 06:35 Rev.: 22497

[Janitor mode] Set auto-props

2 lines of code changed in 2 files:

  • Compiler/FFrontEnd: FBuiltin.mo (+1), FGraphBuildEnv.mo (+1)
adrpo 2014-09-30 06:33 Rev.: 22496

Merged branches/FFrontEnd into trunk/

Main changes:
- changed the environment to support both non-destructive and destructive updates
- Env.Cache -> FCore.Cache, Env.Env -> FCore.Graph
- FCore.Graph is not a list of Frames anymore is a stucture where the previous list is saved in component "scope"
- all Frames in the new FCore.Graph are FCore.Ref pointing to FCore.Node having different FCore.Data depending on what they are
- all FCore.Nodes have children (FCore.CAvlTree) which maps names to FCore.Ref (which is Array<FCore.Node>, size 1)
- FGraph.openScope pushes an already existing FCore.Ref (or a new one) on the scope list
- for all components having modifications the last class in the type path is renamed to include the
prefix, see FGraph.createVersionScope (this is done because we need unique names for redeclared functions,
records, etc and we need a unique type scope for that)
Example: A.B.C c -> A.B.C$c c

Bug fixes:
- calling function via component (multibody MSL 3.2.1 patch not needed anymore, will remove it in a next commit)
- #2837 array equations wrongly handled in RemoveSimpleEquations (used in ThermoPower and PowerSystems libraries, etc)
#2784, #2727, #2739 (missing modifiers combined with redeclare and unique function generation for redeclared functions)
#2835 - handle overconstrained connectors extending basic types (used in PowerSystems library)
- do not loose modifications on derived classes handled by InstExtends
- some error messages about missing components in Fluid library are gone
- for components of size 0 do not check if they are assigned before use in functions (residue in equalityConstraint)

6100 lines of code changed in 12 files:

  • Compiler/FFrontEnd: FBuiltin.mo (new 808), FCore.mo (+491 -33), FExpand.mo (+11 -3), FGraph.mo (+1594 -12), FGraphBuild.mo (+210 -79), FGraphBuildEnv.mo (new 1462), FGraphDump.mo (+69 -20), FInst.mo (+83 -17), FLookup.mo (+166 -97), FMod.mo (+143), FNode.mo (+836 -43), FResolve.mo (+227 -46)
lochel 2014-06-19 21:17 Rev.: 21210

- remove unused imports

0 lines of code changed in 7 files:

  • Compiler/FFrontEnd: FExpand.mo (-2), FGraph.mo (-2), FInst.mo (-3), FLookup.mo (-1), FMod.mo (-7), FTraverse.mo (-1), FVisit.mo (-2)
perost 2014-05-07 09:59 Rev.: 20422

- Cleaned up some code.

1 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FNode.mo (+1 -1)
hudson 2014-04-22 02:40 Rev.: 20218

[Janitor mode] Fix whitespace

2 lines of code changed in 2 files:

  • Compiler/FFrontEnd: FGraphBuild.mo (+1 -1), FGraphStream.mo (+1 -1)
adrpo 2014-04-22 02:32 Rev.: 20217

- replace list<Env.Frame> with Env.Env
- FFrontEnd:
* add names for edges
* resolve component types after constrainedby and class extends

15 lines of code changed in 4 files:

  • Compiler/FFrontEnd: FExpand.mo (+7 -7), FGraphBuild.mo (+2 -3), FGraphStream.mo (+5 -2), FNode.mo (+1 -1)
hudson 2014-04-21 23:47 Rev.: 20216

[Janitor mode] Fix whitespace

13 lines of code changed in 3 files:

  • Compiler/FFrontEnd: FGraphBuild.mo (+5 -5), FGraphStream.mo (+4 -4), FNode.mo (+4 -4)
adrpo 2014-04-21 23:45 Rev.: 20215

- some small fixes and changes

59 lines of code changed in 4 files:

  • Compiler/FFrontEnd: FGraph.mo (+4 -1), FGraphBuild.mo (+13 -1), FGraphStream.mo (+14 -2), FNode.mo (+28 -1)
hudson 2014-04-19 05:53 Rev.: 20202

[Janitor mode] Fix whitespace

327 lines of code changed in 9 files:

  • Compiler/FFrontEnd: FExpand.mo (+10 -10), FGraphBuild.mo (+109 -109), FGraphDump.mo (+7 -7), FGraphStream.mo (+22 -22), FInst.mo (+3 -3), FLookup.mo (+2 -2), FMod.mo (+2 -2), FNode.mo (+149 -149), FResolve.mo (+23 -23)
adrpo 2014-04-19 05:49 Rev.: 20200

- display graph on the fly via GraphStream (later we can support Gephi easily)
- some minor changes to FFrontEnd/ files
- i guess Linux builds will break but i'll fix them

932 lines of code changed in 10 files:

  • Compiler/FFrontEnd: FExpand.mo (+107 -12), FGraph.mo (+8 -4), FGraphBuild.mo (+136 -115), FGraphDump.mo (+56 -34), FGraphStream.mo (new 166), FInst.mo (+9 -39), FLookup.mo (+15 -1), FMod.mo (new 121), FNode.mo (+212 -183), FResolve.mo (+102 -49)
sjoelund.se 2014-04-17 15:44 Rev.: 20194

Remove unused assignments

9 lines of code changed in 4 files:

  • Compiler/FFrontEnd: FGraphBuild.mo (+3 -3), FLookup.mo (+2 -2), FResolve.mo (+2 -2), FVisit.mo (+2 -2)
sjoelund.se 2014-04-17 11:48 Rev.: 20189

Remove some more unused bindings

3 lines of code changed in 3 files:

  • Compiler/FFrontEnd: FGraphDump.mo (+1 -1), FNode.mo (+1 -1), FVisit.mo (+1 -1)
sjoelund.se 2014-04-16 16:47 Rev.: 20179

Updated the script to remove a few more unnecessary bindings

63 lines of code changed in 6 files:

  • Compiler/FFrontEnd: FGraph.mo (+2 -2), FGraphBuild.mo (+26 -26), FGraphDump.mo (+15 -16), FLookup.mo (+5 -5), FNode.mo (+11 -11), FVisit.mo (+4 -4)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

369 lines of code changed in 10 files:

  • Compiler/FFrontEnd: FCore.mo (+22 -22), FExpand.mo (+2 -2), FGraph.mo (+3 -3), FGraphDump.mo (+71 -71), FInst.mo (+19 -19), FLookup.mo (+38 -38), FNode.mo (+152 -152), FResolve.mo (+48 -48), FTraverse.mo (+4 -4), FVisit.mo (+10 -10)
sjoelund.se 2014-04-15 10:03 Rev.: 20143

Updated copyright notices to 2014
- The script uses regex to update copyright notices since we have different years in there

11 lines of code changed in 11 files:

  • Compiler/FFrontEnd: FCore.mo (+1 -1), FExpand.mo (+1 -1), FGraph.mo (+1 -1), FGraphBuild.mo (+1 -1), FGraphDump.mo (+1 -1), FInst.mo (+1 -1), FLookup.mo (+1 -1), FNode.mo (+1 -1), FResolve.mo (+1 -1), FTraverse.mo (+1 -1), FVisit.mo (+1 -1)
sjoelund.se 2014-04-14 16:59 Rev.: 20136

Various fixes
- Fix bootstrapping
- Fix unparsing of string comments
- Update OSMC-PL header in Compiler/*/*.mo

99 lines of code changed in 11 files:

  • Compiler/FFrontEnd: FCore.mo (+9 -9), FExpand.mo (+9 -9), FGraph.mo (+9 -9), FGraphBuild.mo (+9 -9), FGraphDump.mo (+9 -9), FInst.mo (+9 -9), FLookup.mo (+9 -9), FNode.mo (+9 -9), FResolve.mo (+9 -9), FTraverse.mo (+9 -9), FVisit.mo (+9 -9)
sjoelund.se 2014-04-11 10:52 Rev.: 20097

Update Absyn expression traversal
- Takes two arguments instead of a tuple (to reduce the number of allocations)
- traverseExp now just calls traverseExpBidir (with one argument being a dummy function)
- This means some expression types not handled by traverseExp now works (like traversing match expressions)
- Some fixes for using external objects in polymorphic functions

133 lines of code changed in 1 file:

  • Compiler/FFrontEnd: FGraphBuild.mo (+133 -135)
leonardo.laguna 2014-04-07 11:34 Rev.: 20015

- Removing duplicated type declaration (breaks my code analyzer)

0 lines of code changed in 3 files:

  • Compiler/FFrontEnd: FGraphBuild.mo (-1), FGraphDump.mo (-1), FResolve.mo (-1)

(2 more)

Generated by StatSVN 0.7.0