Skip to content

Commit

Permalink
added more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Nov 7, 2024
1 parent 17a1809 commit 081dd29
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions release-notes/rascal-0-40-x-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ The following issues were solved:

Standard library maintenance:
* Accurate and correct parsers of Windows and Unix file paths were added to the standard library.
* `HTMLElement(loc src = |unknown:///|)` was added to position every tag from start to end via the `src` attribute.

The Java model has received big maintenance love and attention:
* Bumped and upgraded to the JDT version from Eclipse 2020-03
* The AST nodes in `lang::java::m3::AST` now all satisfy the AST contract in `analysis::m3::AST`. This means that
all source code elements are represented in the tree, annotated with `src` origins and ordered from left-to-right as
they were in the original source file.
* The constructors: enum, enumConstant, compilationUnit, class, interface, method, field, etc. etc. all received
extra positional parameters for the concept of modifiers. Before these were modelled as keyword parameters, but
that invalidated the earlier mentioned AST contract.
* An AST and M3 model of the Java 9 module system was added.
* The `isSuper` boolean was removed from the AST definition of methodInvocation and `new` calls, also to satisfy the AST contract.
* Java Annotations AST constructors were moved from Expression to Declaration.
* String based unary and binary operator constructors for Expressions were unfolded to a constructor for each operator, i.e. `plus(Expression, Expression) instead of `binop(Expression, "+", Expression)`
* TODO

0 comments on commit 081dd29

Please sign in to comment.