-
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 #42 from MetaBorgCube/release/0.8.2
Release/0.8.2
- Loading branch information
Showing
30 changed files
with
381 additions
and
207 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,4 +1,4 @@ | ||
FROMVERSION=2.2.0 | ||
TOVERSION=2.2.1 | ||
FROMVERSION=2.3.0 | ||
TOVERSION=2.4.0 | ||
|
||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}" * | xargs sed -i "" "s/${FROMVERSION}/${TOVERSION}/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}" . | xargs sed -i "" "s/${FROMVERSION}/${TOVERSION}/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,4 +1,4 @@ | ||
FROMVERSION=0.7.2 | ||
TOVERSION=0.8.1 | ||
FROMVERSION=0.8.1 | ||
TOVERSION=0.8.2 | ||
|
||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}(.qualifier|-SNAPSHOT)" * | xargs sed -i "" "s/${FROMVERSION}/${TOVERSION}/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,5 +1,5 @@ | ||
FROMVERSION=0.8.1 | ||
TOVERSION=0.8.1 | ||
FROMVERSION=0.8.2 | ||
TOVERSION=0.8.2 | ||
|
||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}.qualifier" * | xargs sed -i "" "s/${FROMVERSION}.qualifier/${TOVERSION}/g" | ||
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}-SNAPSHOT" * | xargs sed -i "" "s/${FROMVERSION}-SNAPSHOT/${TOVERSION}/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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
dependencies: | ||
compile: | ||
- org.metaborg.lang:icedust:0.8.1 | ||
- org.metaborg.lang:icedust:0.8.2 |
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,43 @@ | ||
module objectquery | ||
|
||
// model taken from Demand-Driven Incremental Object Queries - PPDP 2016 | ||
|
||
model | ||
|
||
entity Celeb { | ||
|
||
} | ||
|
||
entity User { | ||
loc : String | ||
email : String | ||
} | ||
|
||
relation Celeb.followers * <-> * User.celebs | ||
|
||
entity Group { | ||
|
||
} | ||
|
||
relation User.groups * <-> * Group.members | ||
|
||
entity Demand { | ||
cond : String // equality check | ||
result : String* = users.email | ||
} | ||
|
||
relation Demand.celeb 1 <-> * Celeb.demands | ||
|
||
relation Demand.group 1 <-> * Group.demands | ||
|
||
relation Demand.users * = group.members.filter(u => u.loc == cond).filter(u => u.celebs.filter(c => c == celeb).count()>0) // schedule: first join group users, then check whether celeb | ||
<-> * User.demandResults | ||
|
||
// comparison with IncOQ | ||
// | ||
// update triggers: | ||
// User.loc -> groups.demands.users (which is exactly the first nested for loops in running example in paper - but IceDust re-evalutes full expression instead of modifies cache with deltas) | ||
// | ||
// the re-evaluation of the users field triggers: | ||
// User.loc -> groups.demands.members.filter(...).filter(u => u.groups.filter(g => g == group)) (which is the remainder of nested for loops. Though IceDust looks at all members of the demand rather than only the changed member. IncOQ only accesses the single changed member.) | ||
|
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,48 @@ | ||
module objectquery2 | ||
|
||
// model taken from Generating Incremental Implementations of Object-Set Queries - GPCE 2008 | ||
|
||
model | ||
|
||
entity User { | ||
id : String | ||
} | ||
|
||
entity Group { | ||
active : Boolean | ||
} | ||
|
||
relation User.groups * <-> * Group.members | ||
|
||
entity Permission { | ||
name : String | ||
} | ||
|
||
relation Group.perms * <-> * Permission.groups | ||
|
||
entity Query { | ||
uid : String | ||
result : String* = permissions.name | ||
} | ||
|
||
relation Query.users * <-> * User.queries | ||
|
||
relation Query.user ? = users.find(u => u.id == uid) | ||
<-> User.queries2 // cache the user per query | ||
|
||
relation Query.permissions * = user.groups.filter(g => g.active).perms | ||
<-> Permission.queries | ||
|
||
// comparison with Object-Set Queries | ||
// | ||
// update triggers: | ||
// User.groups -> queries2.permissions (triggers reevaluation for all queries of which this user is of interest) | ||
// | ||
// the re-evaluation of the permissions field triggers: | ||
// User.groups -> queries2.user.groups.filter(g => g.active).perms (reads all groups of the query, rather than only the single group that is added, OSQ uses deltas, IceDust does not) | ||
// | ||
// the order of forloops in OSQ is different: | ||
// - group.permissions (this IceDust implementation selects permissions of all relevent queries.user.groups at the end) | ||
// group.users.filter(_.id == uid) (this IceDust implementation filters users second) | ||
// group.users is in a query (this IceDust implementation filter on queries first) | ||
|
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
Oops, something went wrong.