Subject: SDL-News: sdl96 let's start
Ralf_Schroeder#ecitele.com
Date: Thu May 15 1997 - 06:05:20 GMT
The originator of this message is responsible for its content.
-----From Ralf Schroeder <schroed2#informatik.hu-berlin.de> to sdlnews
-----
Hi,
I currently try to create a parser for SDL'96 according to the
Genevre output 10-18 April 1996. Here the first two syntactical
problems:
system s;
channel c from b to env with rpc;
endchannel c;
remote procedure rpc; returns PId;
newtype foo
operators
op : PId -> Integer;
op : PId, PId -> Integer;
endnewtype foo;
block b;
signalroute sr from p to env with rpc;
connect c and sr;
process p;
dcl sr2 PID, i Integer;
imported procedure rpc; returns PId;
start;
task i := foo(call rpc to call rpc via sr,sr2);
^^^^ (1)
^^^^^^^^^^ (2)
stop;
endprocess p;
signalroute sr2 from p to p2 with rpc;
process p2;
start; stop;
endprocess p2;
endblock b;
endsystem s;
(1) sr2 is a variable and a signal route. Because <via path> is a ','
separated
list the ",sr2" could be a <via path element>. If I understand Z.100
this would be a broadcast via sr and sr2. Implied RPC and remote
variable
signals with broadcast?!
Proposal: the "via" construction for "call" and "import" with
<via path element> only.
(2) This is the typical shift/reduce situation, which needs clarification
a) call rpc to (call rpc via sr)
b) call rpc to (call rpc) via sr
Normally shift (a)!
Well, this forum is not quit correct, but I do not receive e-mail from the
SG10Q6 forum anymore.
Regards Ralf
-------------------------------------------------------
Ralf Schroeder, Humboldt University Berlin
e-mail: schroed2#informatik.hu-berlin.de
www : http://www.informatik.hu-berlin.de/~schroed2
tel. : +49-30-20-181-321
fax : +49-30-20-181-234
-----End text from Ralf Schroeder <schroed2#informatik.hu-berlin.de> to
sdlnews -----
For help, email "majordomo#sdl-forum.org" with the body of your email as:
help
or (iff this does not answer your question) email:
owner-sdlnews#sdl-forum.org
This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:39 GMT