Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
0c59e7b
added syntax role modifier syntax
jurgenvinju Jul 7, 2023
f82db38
regenerated parser with new syntax role modifier syntax
jurgenvinju Jul 7, 2023
a3abc9b
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Sep 26, 2023
79804b4
regenerated parser and AST hierarchy to include SyntaxRoleModifiers i…
jurgenvinju Sep 26, 2023
06f10c5
working on syntax roles
jurgenvinju Sep 28, 2023
b809bef
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 8, 2023
23ebd62
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 16, 2023
647d636
added Symbol-level syntax and semantics of syntax role modifiers
jurgenvinju Nov 16, 2023
e889835
added bootstrap declarations for Symbols that represent syntax role m…
jurgenvinju Nov 16, 2023
36587c9
implemented isOpen and IsParametrized for syntax types
jurgenvinju Nov 16, 2023
f9c7869
fixed copy and paste bug
jurgenvinju Nov 16, 2023
5fb57c8
partially implemented java-level syntax and semantics of syntax role …
jurgenvinju Nov 16, 2023
1e7e1d0
implementing all the Type operations on Syntax modifiers
jurgenvinju Nov 16, 2023
49cb9c0
implemented lub on syntax modifiers
jurgenvinju Nov 16, 2023
17de9ab
implemented Type.glbWithModifySyntax and added subtype cases to Type …
jurgenvinju Nov 16, 2023
acea788
fixed compiler error and removed unused imports
jurgenvinju Nov 16, 2023
366d3cc
added match and instantiate for SyntaxRole modifier types, and remove…
jurgenvinju Nov 17, 2023
e3b4411
added assert
jurgenvinju Nov 17, 2023
7d60d3e
match data[&T] against Tree if &T is a non-terminal
jurgenvinju Nov 21, 2023
123a3f5
fixing corner cases
jurgenvinju Nov 21, 2023
a1d5b0b
fixed subtle bug in applying syntax role
jurgenvinju Nov 22, 2023
2cdfcdc
added some initial tests for syntax modifiers
jurgenvinju Nov 22, 2023
a0c597c
added a failing test for data[&T] matching against parse tree
jurgenvinju Nov 22, 2023
3a08bd7
typo
jurgenvinju Nov 22, 2023
16a6498
fixed hashcode/equals contract for syntax role modifier types; helps …
jurgenvinju Nov 23, 2023
53c750e
added test for upcasting data[&T] to data[Tree] when it matches a non…
jurgenvinju Nov 23, 2023
a4937e8
started writing the explode function
jurgenvinju Nov 23, 2023
5ed339c
slowly working on explode
jurgenvinju Nov 27, 2023
4cd9e61
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 29, 2023
ab24736
some work on explode
jurgenvinju Nov 29, 2023
d1d5f45
added support for identifiers
jurgenvinju Nov 29, 2023
1cf79a1
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 30, 2023
61a9d63
fixed errors
jurgenvinju Nov 30, 2023
c34ec59
added function getConstructor that reifies an actual ConstructorType …
jurgenvinju Nov 30, 2023
307ac0e
explode can deal with lists now
jurgenvinju Dec 1, 2023
ed9e15e
working on explode
jurgenvinju Dec 14, 2023
6c25da4
added Explode to ignore because it contains features the type-checker…
jurgenvinju Dec 14, 2023
d27cbb6
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Dec 28, 2023
34cc097
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Feb 7, 2024
9f30101
turned off tutor for bootstrapping purposes
jurgenvinju Feb 7, 2024
b60fe63
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Feb 28, 2024
806a5a9
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 8, 2024
c570d35
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 9, 2024
b4e0f11
added todos and a make(Production) function to mirror getConstructor …
jurgenvinju Apr 9, 2024
792029c
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 11, 2024
ec783dc
fixed bug in constructor de-reifier and fixed make function in Type.rsc
jurgenvinju Apr 11, 2024
c4cc92c
ported release notes from website. still incomplete
jurgenvinju Apr 11, 2024
2bf3890
simplified make
jurgenvinju Apr 11, 2024
2e6ff60
re-enabled tutor
jurgenvinju Apr 11, 2024
3d3efac
further simplifications
jurgenvinju Apr 11, 2024
1157780
fixed typo
jurgenvinju Apr 11, 2024
21de372
Merge branch 'main' into syntax-role-modifiers
jurgenvinju May 14, 2024
d6ed722
added more documentation and a missing function
jurgenvinju May 14, 2024
8bbe3cb
fixed ambiguity between lexical prod definition and lexical syntax ro…
jurgenvinju May 13, 2025
37e5686
dealing better with illegal applications of syntax role modifiers
jurgenvinju May 13, 2025
2e02de2
Merge branch 'main' into syntax-role-modifiers
jurgenvinju May 27, 2025
ffb6b61
regenerated parser to solve merge conflicts
jurgenvinju May 27, 2025
a380145
fixed semi-merge
jurgenvinju May 27, 2025
5f0ec6f
more merge fixes in pom.xml
jurgenvinju May 27, 2025
bf3f30a
fixed compilation errors due to new randomValue interface from vallang
jurgenvinju May 27, 2025
e0ac269
use module names betterfor test suite descriptions instead of "Module…
jurgenvinju May 27, 2025
a331572
started implementation of syntax role modifiers in the checker.
jurgenvinju May 27, 2025
71896f0
fixed typos
jurgenvinju May 28, 2025
9e2b7ed
removed duplicate rule
jurgenvinju May 28, 2025
1f1e566
fixed NPE in vallang by making sure that ModifySyntaxRole::equals(nul…
jurgenvinju May 28, 2025
f4fc8d5
more tests
jurgenvinju May 28, 2025
f1e04ce
added subtype for syntax role modifiers
jurgenvinju May 28, 2025
3b0d16f
simplified asyntaxRoleModifiers by grouping all modifiers into one si…
jurgenvinju May 28, 2025
dd768d8
fixed typo
jurgenvinju May 28, 2025
aba69e8
removed old asubtype on asyntax, alexical, and replaced asyntaxRoleMo…
jurgenvinju May 28, 2025
b784370
added missing alub
jurgenvinju May 28, 2025
cc10ae2
commented out experimental extension of outerComparable1
jurgenvinju May 28, 2025
242f5ca
added glb for asyntaxRoleModifiers
jurgenvinju May 28, 2025
ed103b1
added the collect for all syntax role modifiers
jurgenvinju May 28, 2025
17040db
added code generator for runtime type instances of SyntaxRoleModifier…
jurgenvinju May 28, 2025
b3a1cd8
added comment to explain
jurgenvinju May 28, 2025
6acfd83
added minimal amount of error checking to the collect of syntax role …
jurgenvinju May 28, 2025
0095182
fixed typo
jurgenvinju May 28, 2025
1dac7e2
fix
jurgenvinju May 28, 2025
f8166d2
removed dead code
jurgenvinju May 30, 2025
a36be1b
sorted extends
jurgenvinju May 30, 2025
2cd0529
Merge branch 'main' into syntax-role-modifiers
jurgenvinju May 30, 2025
6b0dd45
Merge branch 'use-installed-typepal-if-project-not-available' into sy…
jurgenvinju May 30, 2025
5908a4d
Merge branch 'main' into syntax-role-modifiers
jurgenvinju May 31, 2025
22a61e0
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Jun 5, 2025
0e1cf0e
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Jun 9, 2025
c45eab9
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Jun 12, 2025
e0b6214
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Jul 9, 2025
ba4da0f
regenerated parser and asts for Rascal with syntax role modifiers to …
jurgenvinju Jul 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
303 changes: 303 additions & 0 deletions RELEASE-NOTES.md

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/org/rascalmpl/ast/IASTVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,16 @@ public interface IASTVisitor<T> {

public T visitSyntaxDefinitionLexical(SyntaxDefinition.Lexical x);

public T visitSyntaxRoleModifierData(SyntaxRoleModifier.Data x);

public T visitSyntaxRoleModifierKeyword(SyntaxRoleModifier.Keyword x);

public T visitSyntaxRoleModifierLayout(SyntaxRoleModifier.Layout x);

public T visitSyntaxRoleModifierLexical(SyntaxRoleModifier.Lexical x);

public T visitSyntaxRoleModifierSyntax(SyntaxRoleModifier.Syntax x);

public T visitTagDefault(Tag.Default x);

public T visitTagEmpty(Tag.Empty x);
Expand All @@ -719,6 +729,8 @@ public interface IASTVisitor<T> {

public T visitTypeFunction(Type.Function x);

public T visitTypeModifier(Type.Modifier x);

public T visitTypeSelector(Type.Selector x);

public T visitTypeStructured(Type.Structured x);
Expand Down
24 changes: 24 additions & 0 deletions src/org/rascalmpl/ast/NullASTVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,26 @@ public T visitSyntaxDefinitionLexical(SyntaxDefinition.Lexical x) {
return null;
}

public T visitSyntaxRoleModifierData(SyntaxRoleModifier.Data x) {
return null;
}

public T visitSyntaxRoleModifierKeyword(SyntaxRoleModifier.Keyword x) {
return null;
}

public T visitSyntaxRoleModifierLayout(SyntaxRoleModifier.Layout x) {
return null;
}

public T visitSyntaxRoleModifierLexical(SyntaxRoleModifier.Lexical x) {
return null;
}

public T visitSyntaxRoleModifierSyntax(SyntaxRoleModifier.Syntax x) {
return null;
}

public T visitTagDefault(Tag.Default x) {
return null;
}
Expand Down Expand Up @@ -1421,6 +1441,10 @@ public T visitTypeFunction(Type.Function x) {
return null;
}

public T visitTypeModifier(Type.Modifier x) {
return null;
}

public T visitTypeSelector(Type.Selector x) {
return null;
}
Expand Down
Loading
Loading