diff --git a/dataspace-patterns.prs b/dataspace-patterns.prs new file mode 100644 index 0000000..2740763 --- /dev/null +++ b/dataspace-patterns.prs @@ -0,0 +1,11 @@ +version 1 . + +; Dataspace patterns: a sublanguage of attenuation patterns. +Pattern = DDiscard / DBind / DLit / DCompound . + +DDiscard = <_>. +DBind = . +DLit = . +DCompound = @rec @members { int: Pattern ...:... }> + / @arr @members { int: Pattern ...:... }> + / @dict @members { any: Pattern ...:... }> . diff --git a/dataspace.prs b/dataspace.prs index eadbd9a..3160df1 100644 --- a/dataspace.prs +++ b/dataspace.prs @@ -1,9 +1,4 @@ version 1 . embeddedType Actor.Ref . -;As implemented -Observe = . - -; ;As will be implemented soon -; Observe = . -. +Observe = . diff --git a/gatekeeper.prs b/gatekeeper.prs index 7673518..d8be377 100644 --- a/gatekeeper.prs +++ b/gatekeeper.prs @@ -1,5 +1,5 @@ version 1 . embeddedType Actor.Ref . -Resolve = . -Bind = . +Resolve = . +Bind = . diff --git a/protocol.prs b/protocol.prs index 1fe9c20..b86a66d 100644 --- a/protocol.prs +++ b/protocol.prs @@ -11,4 +11,4 @@ TurnEvent = [@oid Oid @event Event]. Assert = . Retract = . Message = . -Sync = . +Sync = . diff --git a/secure-chat-protocol.prs b/secure-chat-protocol.prs index 951e950..c20c8e0 100644 --- a/secure-chat-protocol.prs +++ b/secure-chat-protocol.prs @@ -3,9 +3,16 @@ embeddedType Actor.Ref . UserId = int . -Join = . +Join = . -NickClaim = . +Session = @observeUsers + / @observeSpeech + / NickClaim + / Says +. + +NickClaim = . +NickClaimResponse = #t / NickConflict . UserInfo = .