summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2005-02-25 16:24:07 +0000
committeris <is@pkgsrc.org>2005-02-25 16:24:07 +0000
commit78d5917102edcc4f12b50397552e7e3fc735672b (patch)
tree07e187d5c8096b8f86dda00cffe1aacb95cc269e /lang
parent58749d5b692f90b125a99913f8f217363dfc7e7d (diff)
downloadpkgsrc-78d5917102edcc4f12b50397552e7e3fc735672b.tar.gz
Examples for SR, a language for concurrent programming from the University
of Arizona.
Diffstat (limited to 'lang')
-rw-r--r--lang/sr-examples/DESCR8
-rw-r--r--lang/sr-examples/Makefile36
-rw-r--r--lang/sr-examples/PLIST337
-rw-r--r--lang/sr-examples/distinfo4
4 files changed, 385 insertions, 0 deletions
diff --git a/lang/sr-examples/DESCR b/lang/sr-examples/DESCR
new file mode 100644
index 00000000000..235267f1bb3
--- /dev/null
+++ b/lang/sr-examples/DESCR
@@ -0,0 +1,8 @@
+These are the example files for SR, Version 2.3.2, from the University
+of Arizona.
+
+SR is described in "The SR Programming Language: Concurrency in Practice"
+by Gregory R. Andrews and Ronald A. Olsson (Benjamin/Cummings, 1993, ISBN
+0-8053-0088-0). Information about concurrent programming in general can be
+found in "Concurrent Programming: Principles and Practice" by Gregory R.
+Andrews (Benjamin/Cummings, 1991, ISBN 0-8053-0086-4).
diff --git a/lang/sr-examples/Makefile b/lang/sr-examples/Makefile
new file mode 100644
index 00000000000..738f260d9e8
--- /dev/null
+++ b/lang/sr-examples/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/25 16:24:07 is Exp $
+#
+
+DISTNAME= vs
+PKGNAME= sr-examples-2.3.2
+CATEGORIES= lang parallel
+MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= is@NetBSD.org
+HOMEPAGE= http://www.cs.arizona.edu/sr/
+COMMENT= The SR language compiler and run time system
+
+WRKSRC= ${WRKDIR}
+
+ONLY_FOR_PLATFORM= NetBSD-*-*
+
+### Use the second line below for installing if you want to make print-PLIST!
+DOMOD=
+#DOMOD=-pm
+
+do-extract:
+
+do-configure:
+
+do-patch:
+
+do-build:
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sr
+ ${PAX} -zr ${DOMOD} -f ${DISTDIR}/${DISTFILES} \
+ -s ,vsuite/examples,${PREFIX}/share/examples/sr, \
+ vsuite/examples
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/sr-examples/PLIST b/lang/sr-examples/PLIST
new file mode 100644
index 00000000000..20d5d1fa7f9
--- /dev/null
+++ b/lang/sr-examples/PLIST
@@ -0,0 +1,337 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/25 16:24:07 is Exp $
+share/examples/sr/README
+share/examples/sr/ccr2sr/1/No_input.std
+share/examples/sr/ccr2sr/1/Script
+share/examples/sr/ccr2sr/1/a.ccr
+share/examples/sr/ccr2sr/2/Script
+share/examples/sr/ccr2sr/2/a.ccr
+share/examples/sr/ccr2sr/3/Script
+share/examples/sr/ccr2sr/3/a.ccr
+share/examples/sr/ccr2sr/4/Script
+share/examples/sr/ccr2sr/4/a.ccr
+share/examples/sr/ccr2sr/5/Script
+share/examples/sr/ccr2sr/5/a.ccr
+share/examples/sr/ccr2sr/oned/No_input.std
+share/examples/sr/ccr2sr/oned/Script
+share/examples/sr/ccr2sr/oned/bb.ccr
+share/examples/sr/ccr2sr/rw/No_input.std
+share/examples/sr/ccr2sr/rw/Script
+share/examples/sr/ccr2sr/rw/rw.ccr
+share/examples/sr/ccr2sr/twod/No_input.std
+share/examples/sr/ccr2sr/twod/Script
+share/examples/sr/ccr2sr/twod/bb.ccr
+share/examples/sr/chap01/CS.sr
+share/examples/sr/chap01/cgrep.sr
+share/examples/sr/chap01/factorial.sr
+share/examples/sr/chap01/hello.sr
+share/examples/sr/chap01/matrix.sr
+share/examples/sr/chap04/center.sr
+share/examples/sr/chap04/differ.sr
+share/examples/sr/chap04/evaluator.sr
+share/examples/sr/chap04/fact.sr
+share/examples/sr/chap04/factorial.sr
+share/examples/sr/chap04/insert.sr
+share/examples/sr/chap04/left.sr
+share/examples/sr/chap04/search.sr
+share/examples/sr/chap04/sigma.sr
+share/examples/sr/chap04/sort1.sr
+share/examples/sr/chap04/sort2.sr
+share/examples/sr/chap04/trapezoidal.sr
+share/examples/sr/chap05/Diagonal.sr
+share/examples/sr/chap05/Screen.sr
+share/examples/sr/chap05/Stack.sr
+share/examples/sr/chap05/Stack_User.sr
+share/examples/sr/chap05/foo.sr
+share/examples/sr/chap07/compressor.sr
+share/examples/sr/chap07/foo1.sr
+share/examples/sr/chap07/foo2.sr
+share/examples/sr/chap07/mult.sr
+share/examples/sr/chap07/partial_sums.sr
+share/examples/sr/chap07/quick.sr
+share/examples/sr/chap08/CS.sr
+share/examples/sr/chap08/CS_Ordered.sr
+share/examples/sr/chap08/barrier1.sr
+share/examples/sr/chap08/barrier2.sr
+share/examples/sr/chap09/CS.sr
+share/examples/sr/chap09/buffer.sr
+share/examples/sr/chap09/cs1.sr
+share/examples/sr/chap09/cs2.sr
+share/examples/sr/chap09/cs3.sr
+share/examples/sr/chap09/cs4.sr
+share/examples/sr/chap09/quadrature.sr
+share/examples/sr/chap09/stream_merge.sr
+share/examples/sr/chap10/Stack.sr
+share/examples/sr/chap10/Stack_User.sr
+share/examples/sr/chap10/conversation.sr
+share/examples/sr/chap10/fun1.sr
+share/examples/sr/chap10/fun2.sr
+share/examples/sr/chap10/pipeline_sort.sr
+share/examples/sr/chap11/RW_allocator.sr
+share/examples/sr/chap11/bounded_buffer.sr
+share/examples/sr/chap11/cs.sr
+share/examples/sr/chap11/mailbox.sr
+share/examples/sr/chap11/main1.sr
+share/examples/sr/chap11/main2.sr
+share/examples/sr/chap11/sieve.sr
+share/examples/sr/chap11/swap.sr
+share/examples/sr/chap12/foo.sr
+share/examples/sr/chap12/glob.sr
+share/examples/sr/chap12/main1.sr
+share/examples/sr/chap12/main2.sr
+share/examples/sr/chap13/centralized.sr
+share/examples/sr/chap13/decentralized.sr
+share/examples/sr/chap13/distributed.sr
+share/examples/sr/chap14/bag.sr
+share/examples/sr/chap14/broadcast.sr
+share/examples/sr/chap14/heartbeat.sr
+share/examples/sr/chap14/strip.sr
+share/examples/sr/chap15/co.sr
+share/examples/sr/chap15/gs.sr
+share/examples/sr/chap15/heartbeat.sr
+share/examples/sr/chap15/hosts
+share/examples/sr/chap15/strip.sr
+share/examples/sr/chap15/vm.sr
+share/examples/sr/chap16/cities14
+share/examples/sr/chap16/cities3
+share/examples/sr/chap16/cities4
+share/examples/sr/chap16/cities6
+share/examples/sr/chap16/cities8
+share/examples/sr/chap16/distributed.sr
+share/examples/sr/chap16/sequential.sr
+share/examples/sr/chap16/shared.sr
+share/examples/sr/chap17/ci.sr
+share/examples/sr/chap17/ds.sr
+share/examples/sr/chap17/fs.sr
+share/examples/sr/chap17/globals.sr
+share/examples/sr/chap17/login.sr
+share/examples/sr/chap17/main.sr
+share/examples/sr/chap18/Bus.sr
+share/examples/sr/chap18/Processor.sr
+share/examples/sr/chap18/Scheduler.sr
+share/examples/sr/csp2sr/1/Script
+share/examples/sr/csp2sr/1/a.csp
+share/examples/sr/csp2sr/2/Script
+share/examples/sr/csp2sr/2/b.csp
+share/examples/sr/csp2sr/3/Script
+share/examples/sr/csp2sr/3/c.csp
+share/examples/sr/csp2sr/4/Script
+share/examples/sr/csp2sr/4/d.csp
+share/examples/sr/csp2sr/5/Script
+share/examples/sr/csp2sr/5/e.csp
+share/examples/sr/csp2sr/6/Script
+share/examples/sr/csp2sr/6/i.csp
+share/examples/sr/csp2sr/7/Script
+share/examples/sr/csp2sr/7/f.csp
+share/examples/sr/csp2sr/8/Script
+share/examples/sr/csp2sr/8/f.csp
+share/examples/sr/csp2sr/dp1/Script
+share/examples/sr/csp2sr/dp1/dp.csp
+share/examples/sr/csp2sr/dp1/te.std
+share/examples/sr/csp2sr/dp1/ti.std
+share/examples/sr/csp2sr/dp2/Script
+share/examples/sr/csp2sr/dp2/dp.csp
+share/examples/sr/csp2sr/nest/Script
+share/examples/sr/csp2sr/nest/nest.csp
+share/examples/sr/csp2sr/pair1/Script
+share/examples/sr/csp2sr/pair1/pair.csp
+share/examples/sr/csp2sr/pair2/Script
+share/examples/sr/csp2sr/pair2/pair.csp
+share/examples/sr/csp2sr/pair3/Script
+share/examples/sr/csp2sr/pair3/pair.csp
+share/examples/sr/csp2sr/sieve/Script
+share/examples/sr/csp2sr/sieve/sieve.csp
+share/examples/sr/csp2sr/sort1/Script
+share/examples/sr/csp2sr/sort1/sort.csp
+share/examples/sr/csp2sr/sort2/Script
+share/examples/sr/csp2sr/sort2/sort.csp
+share/examples/sr/csp2sr/wxe1/Script
+share/examples/sr/csp2sr/wxe1/both.std
+share/examples/sr/csp2sr/wxe1/g.csp
+share/examples/sr/csp2sr/wxe2/Script
+share/examples/sr/csp2sr/wxe2/h.csp
+share/examples/sr/m2sr/barrier1/Script
+share/examples/sr/m2sr/barrier1/b.sr
+share/examples/sr/m2sr/barrier1/barrier.m
+share/examples/sr/m2sr/barrier1/test.sr
+share/examples/sr/m2sr/barrier2/Script
+share/examples/sr/m2sr/barrier2/barrier.m
+share/examples/sr/m2sr/barrier2/sc.std
+share/examples/sr/m2sr/barrier2/test.sr
+share/examples/sr/m2sr/bb1/Script
+share/examples/sr/m2sr/bb1/a.m
+share/examples/sr/m2sr/bb1/test.sr
+share/examples/sr/m2sr/bb2/Script
+share/examples/sr/m2sr/bb2/a.m
+share/examples/sr/m2sr/bb2/test.sr
+share/examples/sr/m2sr/critsec/Script
+share/examples/sr/m2sr/critsec/a.m
+share/examples/sr/m2sr/critsec/all.std
+share/examples/sr/m2sr/critsec/test.sr
+share/examples/sr/m2sr/cscan1/Script
+share/examples/sr/m2sr/cscan1/a.m
+share/examples/sr/m2sr/cscan1/test.sr
+share/examples/sr/m2sr/cscan2/Script
+share/examples/sr/m2sr/cscan2/a.m
+share/examples/sr/m2sr/cscan2/all.std
+share/examples/sr/m2sr/cscan2/test.sr
+share/examples/sr/m2sr/nocv/Script
+share/examples/sr/m2sr/nocv/nocv.m
+share/examples/sr/m2sr/nocv/test.sr
+share/examples/sr/m2sr/noproc/Script
+share/examples/sr/m2sr/noproc/noproc.m
+share/examples/sr/m2sr/noproc/test.sr
+share/examples/sr/m2sr/timer/Script
+share/examples/sr/m2sr/timer/test.sr
+share/examples/sr/m2sr/timer/timer.m
+share/examples/sr/other/heartbeat/Script
+share/examples/sr/other/heartbeat/in1.1.std
+share/examples/sr/other/heartbeat/in1.3.std
+share/examples/sr/other/heartbeat/in2.2.std
+share/examples/sr/other/heartbeat/in2.4.std
+share/examples/sr/other/heartbeat/in3.3.std
+share/examples/sr/other/heartbeat/in4.3.std
+share/examples/sr/other/heartbeat/in4.4.std
+share/examples/sr/other/heartbeat/in4.5.std
+share/examples/sr/other/heartbeat/in5.1.std
+share/examples/sr/other/heartbeat/in5.4.std
+share/examples/sr/other/heartbeat/in6.2.std
+share/examples/sr/other/heartbeat/in6.7.std
+share/examples/sr/other/heartbeat/input1
+share/examples/sr/other/heartbeat/input2
+share/examples/sr/other/heartbeat/input3
+share/examples/sr/other/heartbeat/input4
+share/examples/sr/other/heartbeat/input5
+share/examples/sr/other/heartbeat/input6
+share/examples/sr/other/heartbeat/main.sr
+share/examples/sr/other/heartbeat/node.sr
+share/examples/sr/other/heartbeat/printer.sr
+share/examples/sr/other/mbrot/No_input.std
+share/examples/sr/other/mbrot/Script
+share/examples/sr/other/mbrot/bkend.c
+share/examples/sr/other/mbrot/main.sr
+share/examples/sr/other/mbrot/mbrot.c
+share/examples/sr/other/mbrot/remote.sr
+share/examples/sr/other/probe/Script
+share/examples/sr/other/probe/in1.1.std
+share/examples/sr/other/probe/in1.3.std
+share/examples/sr/other/probe/in2.2.std
+share/examples/sr/other/probe/in2.4.std
+share/examples/sr/other/probe/in3.3.std
+share/examples/sr/other/probe/in4.3.std
+share/examples/sr/other/probe/in4.4.std
+share/examples/sr/other/probe/in4.5.std
+share/examples/sr/other/probe/in5.1.std
+share/examples/sr/other/probe/in5.4.std
+share/examples/sr/other/probe/in6.2.std
+share/examples/sr/other/probe/in6.7.std
+share/examples/sr/other/probe/input1
+share/examples/sr/other/probe/input2
+share/examples/sr/other/probe/input3
+share/examples/sr/other/probe/input4
+share/examples/sr/other/probe/input5
+share/examples/sr/other/probe/input6
+share/examples/sr/other/probe/main.sr
+share/examples/sr/other/probe/node.sr
+share/examples/sr/other/probe/printer.sr
+share/examples/sr/other/queens/No_input.std
+share/examples/sr/other/queens/Script
+share/examples/sr/other/queens/queens.sr
+share/examples/sr/other/remote/Script
+share/examples/sr/other/remote/remote.sr
+share/examples/sr/other/tty/No_input.std
+share/examples/sr/other/tty/Script
+share/examples/sr/other/tty/tty.sr
+share/examples/sr/other/wondrous/No_input.std
+share/examples/sr/other/wondrous/Script
+share/examples/sr/other/wondrous/wondrous.sr
+share/examples/sr/sranimator/Makefile
+share/examples/sr/sranimator/README
+share/examples/sr/sranimator/bbdriver.sr
+share/examples/sr/sranimator/bbin.sr
+share/examples/sr/sranimator/bbproc.sr
+share/examples/sr/sranimator/bubblesort.sr
+share/examples/sr/sranimator/dining.sr
+share/examples/sr/sranimator/hello.sr
+share/examples/sr/sranimator/quicksort.sr
+share/examples/sr/sranimator/rwdriver.sr
+share/examples/sr/sranimator/rwfair.sr
+share/examples/sr/sranimator/rwstarve.sr
+share/examples/sr/sranimator/tfonts.sr
+share/examples/sr/sranimator/tlines.sr
+share/examples/sr/sranimator/tresize.sr
+share/examples/sr/sranimator/tsteps.sr
+share/examples/sr/sranimator/tzoom.sr
+share/examples/sr/srwin/Makefile
+share/examples/sr/srwin/README
+share/examples/sr/srwin/button.sr
+share/examples/sr/srwin/colors.100
+share/examples/sr/srwin/colors.20
+share/examples/sr/srwin/colors.50
+share/examples/sr/srwin/demo.sr
+share/examples/sr/srwin/gauss.sr
+share/examples/sr/srwin/hello.sr
+share/examples/sr/srwin/mandel.sr
+share/examples/sr/srwin/qsort.sr
+share/examples/sr/srwin/winquad.sr
+@dirrm share/examples/sr/srwin
+@dirrm share/examples/sr/sranimator
+@dirrm share/examples/sr/other/wondrous
+@dirrm share/examples/sr/other/tty
+@dirrm share/examples/sr/other/remote
+@dirrm share/examples/sr/other/queens
+@dirrm share/examples/sr/other/probe
+@dirrm share/examples/sr/other/mbrot
+@dirrm share/examples/sr/other/heartbeat
+@dirrm share/examples/sr/m2sr/timer
+@dirrm share/examples/sr/m2sr/noproc
+@dirrm share/examples/sr/m2sr/nocv
+@dirrm share/examples/sr/m2sr/cscan2
+@dirrm share/examples/sr/m2sr/cscan1
+@dirrm share/examples/sr/m2sr/critsec
+@dirrm share/examples/sr/m2sr/bb2
+@dirrm share/examples/sr/m2sr/bb1
+@dirrm share/examples/sr/m2sr/barrier2
+@dirrm share/examples/sr/m2sr/barrier1
+@dirrm share/examples/sr/csp2sr/wxe2
+@dirrm share/examples/sr/csp2sr/wxe1
+@dirrm share/examples/sr/csp2sr/sort2
+@dirrm share/examples/sr/csp2sr/sort1
+@dirrm share/examples/sr/csp2sr/sieve
+@dirrm share/examples/sr/csp2sr/pair3
+@dirrm share/examples/sr/csp2sr/pair2
+@dirrm share/examples/sr/csp2sr/pair1
+@dirrm share/examples/sr/csp2sr/nest
+@dirrm share/examples/sr/csp2sr/dp2
+@dirrm share/examples/sr/csp2sr/dp1
+@dirrm share/examples/sr/csp2sr/8
+@dirrm share/examples/sr/csp2sr/7
+@dirrm share/examples/sr/csp2sr/6
+@dirrm share/examples/sr/csp2sr/5
+@dirrm share/examples/sr/csp2sr/4
+@dirrm share/examples/sr/csp2sr/3
+@dirrm share/examples/sr/csp2sr/2
+@dirrm share/examples/sr/csp2sr/1
+@dirrm share/examples/sr/chap18
+@dirrm share/examples/sr/chap17
+@dirrm share/examples/sr/chap16
+@dirrm share/examples/sr/chap15
+@dirrm share/examples/sr/chap14
+@dirrm share/examples/sr/chap13
+@dirrm share/examples/sr/chap12
+@dirrm share/examples/sr/chap11
+@dirrm share/examples/sr/chap10
+@dirrm share/examples/sr/chap09
+@dirrm share/examples/sr/chap08
+@dirrm share/examples/sr/chap07
+@dirrm share/examples/sr/chap05
+@dirrm share/examples/sr/chap04
+@dirrm share/examples/sr/chap01
+@dirrm share/examples/sr/ccr2sr/twod
+@dirrm share/examples/sr/ccr2sr/rw
+@dirrm share/examples/sr/ccr2sr/oned
+@dirrm share/examples/sr/ccr2sr/5
+@dirrm share/examples/sr/ccr2sr/4
+@dirrm share/examples/sr/ccr2sr/3
+@dirrm share/examples/sr/ccr2sr/2
+@dirrm share/examples/sr/ccr2sr/1
+@dirrm share/examples/sr
diff --git a/lang/sr-examples/distinfo b/lang/sr-examples/distinfo
new file mode 100644
index 00000000000..5fbb244610e
--- /dev/null
+++ b/lang/sr-examples/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/25 16:24:07 is Exp $
+
+SHA1 (vs.tar.Z) = a54217f1474c27f6c7e4480294325e738dba5df2
+Size (vs.tar.Z) = 486629 bytes