-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement delegation and update surface syntax #437
Conversation
…, nonempty_delegation_decl_list, nonempty_host_decl_list, delegation_decl, host_decl.
…, DelegationDeclarationNode, DelegationDeclarationListNode
…ameter. Updated labelExpressions, added congruence classes, and updated SecurityLattice and algebraic systems, and deleted outdated solvers because I give up trying to make it compile
…classes. Further changed a few examples
* origin/master: Update Kiama links Bump mkdocs-material from 8.4.4 to 8.5.6 in /docs (#509) Bump Kotlin to 1.7.20 (#512) Bump kotlin-logging from 2.1.23 to 3.0.0 (#500) Bump log4j-core from 2.18.0 to 2.19.0 (#498) Bump log4j-slf4j-impl from 2.18.0 to 2.19.0 (#499) Bump log4j-core from 2.18.0 to 2.19.0 in /examples (#501) Bump kotlin-logging from 2.1.23 to 3.0.0 in /examples (#502) Bump jvm from 1.7.10 to 1.7.20 in /examples (#508) Bump junit-jupiter-api from 5.9.0 to 5.9.1 (#506) Bump log4j-slf4j-impl from 2.18.0 to 2.19.0 in /examples (#504) Bump mkdocs-material from 8.4.2 to 8.4.4 in /docs (#496)
…election donesn't fail
Codecov Report
@@ Coverage Diff @@
## master #437 +/- ##
============================================
+ Coverage 63.15% 63.88% +0.73%
+ Complexity 1239 1171 -68
============================================
Files 253 243 -10
Lines 9854 10010 +156
Branches 1430 1468 +38
============================================
+ Hits 6223 6395 +172
+ Misses 3367 3349 -18
- Partials 264 266 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some additional changes:
- Create specialization test
- Viaduct source names (i.e.,
.via
files) should be capitalized - Use full words in example file names (
.via
files. e.g., “polymorphism” instead of “poly”).
compiler/tests/should-fail/ConfidentialityChangingEndorsement.via
Outdated
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/algebra/LatticeCongruence.kt
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/backends/cleartext/Replication.kt
Outdated
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/backends/commitment/Commitment.kt
Outdated
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/backends/zkp/ZKP.kt
Outdated
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/analysis/InformationFlowAnalysis.kt
Outdated
Show resolved
Hide resolved
shared/src/main/kotlin/io/github/apl_cornell/viaduct/syntax/Host.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more minor comments.
...er/src/main/kotlin/io/github/apl_cornell/viaduct/syntax/intermediate/TopLevelDeclarations.kt
Outdated
Show resolved
Hide resolved
compiler/src/main/kotlin/io/github/apl_cornell/viaduct/syntax/surface/TopLevelDeclarations.kt
Outdated
Show resolved
Hide resolved
* origin/master: Switch to log4j-slf4j2-impl so it works with kotlin-logging (#514)
Instead of declaring a label for each host, we now declare delegation relations between hosts. For example,