-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from MetaBorgCube/release/0.6.2
Release/0.6.2
- Loading branch information
Showing
427 changed files
with
28,460 additions
and
777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://download.spoofax.org/update/release/2.0.0/eclipse/site/" search . | xargs sed -i "" "s/http:\/\/download.spoofax.org\/update\/release\/2.0.0\/eclipse\/site\//http:\/\/download.spoofax.org\/update\/nightly\//g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.0.0" search . | xargs sed -i "" "s/2.0.0/2.1.0-SNAPSHOT/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://tinyurl.com/spoofax-eclipse-2-1-0" search . | xargs sed -i "" "s/http:\/\/tinyurl.com\/spoofax-eclipse-2-1-0/http:\/\/download.spoofax.org\/update\/nightly\//g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.1.0" search . | xargs sed -i "" "s/2.1.0/2.2.0-SNAPSHOT/g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://download.spoofax.org/update/nightly/" search . | xargs sed -i "" "s/http:\/\/download.spoofax.org\/update\/nightly\//http:\/\/download.spoofax.org\/update\/release\/2.1.0\/eclipse\/site\//g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.1.0-SNAPSHOT" search . | xargs sed -i "" "s/2.1.0-SNAPSHOT/2.1.0/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://download.spoofax.org/update/release/2.1.0/eclipse/site/" search . | xargs sed -i "" "s/http:\/\/download.spoofax.org\/update\/release\/2.1.0\/eclipse\/site\//http:\/\/tinyurl.com\/spoofax-eclipse-2-1-0/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://download.spoofax.org/update/nightly/" search . | xargs sed -i "" "s_http://download.spoofax.org/update/nightly/_http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.0/org.metaborg.spoofax.eclipse.updatesite-2.2.0-assembly.zip-unzip/_g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.2.0-SNAPSHOT" search . | xargs sed -i "" "s_2.2.0-SNAPSHOT_2.2.0_g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.5.1(.qualifier|-SNAPSHOT)" * | xargs sed -i "" "s/0.5.1/0.6.1/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.1.0(.qualifier|-SNAPSHOT)" * | xargs sed -i "" "s/0.1.0/0.6.2/g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.6.1.qualifier" * | xargs sed -i "" "s/0.6.1.qualifier/0.6.1/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.6.1-SNAPSHOT" * | xargs sed -i "" "s/0.6.1-SNAPSHOT/0.6.1/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.6.2.qualifier" * | xargs sed -i "" "s/0.6.2.qualifier/0.6.2/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "0.6.2-SNAPSHOT" * | xargs sed -i "" "s/0.6.2-SNAPSHOT/0.6.2/g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module icedustWebDSL | ||
|
||
model | ||
|
||
entity Foo{ | ||
bar : String | ||
bar2 : String = bar | ||
} | ||
|
||
relation Foo.o (ordered) <-> Foo.u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,7 @@ target | |
/.classpath | ||
/.project | ||
/.settings | ||
**/nativejava | ||
**/stylesheets | ||
**/.saved-but-not-built | ||
**/javascript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>icedust.tests</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.metaborg.spoofax.eclipse.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.metaborg.spoofax.eclipse.nature</nature> | ||
</natures> | ||
<name>icedust.tests</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.metaborg.spoofax.eclipse.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.metaborg.spoofax.eclipse.nature</nature> | ||
</natures> | ||
</projectDescription> |
31 changes: 31 additions & 0 deletions
31
icedust.tests/dynamic-semantics/generate/auto-shortcut/AutoShortcuts.spt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module generate-auto-shortcuts | ||
|
||
language IceDust | ||
|
||
fixture [[ | ||
module AutoShortcuts (on-demand) | ||
|
||
model | ||
entity Node{ | ||
value : Int ? = avg( this.child.value ) (default) | ||
} | ||
relation Tree{ | ||
Node.tree_as_parent * -> parent | ||
Node.tree_as_child ? -> child | ||
} | ||
|
||
data | ||
n3 : Node { | ||
child = | ||
n1 : Node {value=2}, | ||
n2 : Node {value=4} | ||
} | ||
|
||
execute | ||
n3.value | ||
[[...]] | ||
]] | ||
|
||
//test Expressions Auto Shortcuts execute-java [[ ]] transform "SPT -> to Java -> Execute" to //FIXME: fix analysis | ||
//"3 | ||
//" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
icedust.tests/dynamic-semantics/generate/expressions-cast/ExpressionsCast.spt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module generate-expressions-cast | ||
|
||
language IceDust | ||
|
||
fixture [[ | ||
module ExpressionsCast (on-demand) | ||
|
||
execute | ||
concat(5.0 as String + " " + true as String + " " + 5 as String ++ no value as String) | ||
[[...]] | ||
]] | ||
|
||
test Expressions Cast execute-java [[ ]] transform "SPT -> to Java -> Execute" to | ||
"5.0 true 5 | ||
" |
16 changes: 16 additions & 0 deletions
16
icedust.tests/dynamic-semantics/generate/expressions-datetime/ExpressionsDatetime.spt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module generate-expressions-Datetime | ||
|
||
language IceDust | ||
|
||
fixture [[ | ||
module ExpressionsDatetime | ||
|
||
execute | ||
|
||
(2015-1-1 0:00:00 - 2014-12-31 0:00:00) /. 3600 | ||
[[...]] | ||
]] | ||
|
||
test Expressions Datetime execute-java [[ ]] transform "SPT -> to Java -> Execute" to | ||
"24 | ||
" |
23 changes: 23 additions & 0 deletions
23
icedust.tests/dynamic-semantics/generate/expressions-logic/ExpressionsLogic.spt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module generate-expressions-logic | ||
|
||
language IceDust | ||
|
||
fixture [[ | ||
module ExpressionsLogic (on-demand) | ||
|
||
model | ||
entity X { | ||
val : Int = (42 >= 4 && !false ? "a" : "b") == "a" ? 5 : 88 + 4 | ||
} | ||
|
||
data | ||
x : X {} | ||
|
||
execute | ||
x.val | ||
[[...]] | ||
]] | ||
|
||
test Expressions Logic execute-java [[ ]] transform "SPT -> to Java -> Execute" to | ||
"5 | ||
" |
23 changes: 23 additions & 0 deletions
23
icedust.tests/dynamic-semantics/generate/expressions-math/ExpressionsMath.spt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module generate-expressions-math | ||
|
||
language IceDust | ||
|
||
fixture [[ | ||
module ExpressionsMath (on-demand) | ||
|
||
model | ||
entity X { | ||
val : Int ? = 42 * 6 % 10 /. (5 - 10) + 4 - 3 * 8 /. -1 + (3 / 2) as Int | ||
} | ||
|
||
data | ||
x : X {} | ||
|
||
execute | ||
x.val | ||
[[...]] | ||
]] | ||
|
||
test Expressions Math execute-java [[ ]] transform "SPT -> to Java -> Execute" to | ||
"29 | ||
" |
Oops, something went wrong.