enso/lib/scala/syntax
Hubert Plociniczak 96e50648dd
Remove 'here' and make method name resolution case-sensitive (#3538)
Modified UppercaseNames to now resolve methods without an explicit `here` to point to the current module.
`here` was also often used instead of `self` which was allowed by the compiler.
Therefore UppercaseNames pass is now GlobalNames and does some extra work -
it translated method calls without an explicit target into proper applications.

# Important Notes
There was a long-standing bug in scopes usage when compiling standalone expressions.
This resulted in AliasAnalysis generating incorrect graphs and manifested itself only in unit tests
and when running `eval`, thus being a bit hard to locate.
See `runExpression` for details.

Additionally, method name resolution is now case-sensitive.

Obsolete passes like UndefinedVariables and ModuleThisToHere were removed. All tests have been adapted.
2022-07-07 10:31:06 +00:00
..
definition/src/main/scala/org/enso Remove 'here' and make method name resolution case-sensitive (#3538) 2022-07-07 10:31:06 +00:00
specialization Fix multiline code docparser (#3379) 2022-04-06 04:39:58 +00:00
README.md Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00

Syntax

These two libraries define and implement the parser for Enso's syntax.