Open senier opened 4 years ago
Here are some notes from Feb 14 about the specification language for sessions. I think it makes sense to collect that information here instead of leaving it on some branch.
Result := Message
leads to a copy of Message
~Message := Read (Channel)
~
Channel'Read (Message)
Channel
into target buffer Message
~Success := Write (Channel, Message)
~
Channel'Write (Message)
Message
into Channel
True
if successful~~Result_Message := Call (Channel, Message)
~
Write (Channel, Message)
and Result_Message := Read (Channel)
consecutively~Result_Message'Valid
yields True if successful and Result_Message
is valid according to its type~Success := Data_Available (Channel)
True
if message is available in Channel
Possible extension:
Here are some notes from Feb 14 about the specification language for sessions. I think it makes sense to collect that information here instead of leaving it on some branch.
It fits even better into #291.
I'm not sure, the focus of #291 is the syntax while these notes are more about the semantics. As I see no big benefit in moving the notes, I would just keep them here.
Motivation
Description
Explain all details necessary for using RecordFlux (to be extended into a document outline):
342
--help
forrflx
and all sub-commandsrflx check
rflx generate
rflx validate
rflx graph