File: boss.l

package info (click to toggle)
picolisp 3.1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,100 kB
  • sloc: ansic: 14,205; lisp: 795; makefile: 290; sh: 13
file content (16 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 04oct11abu
# (c) Software Lab. Alexander Burger

# "boss" *Boss

(unless (info (tmp "+"))
   (call 'mkfifo (setq "boss" (tmp "+")))
   (call 'mkfifo (setq *Boss (tmp "-"))) )
(hear (open "boss"))

# (boss 'sym ['any ..])
(de boss @
   (out "boss" (pr (rest))) )

(de reply Exe  #> any
   (out *Boss (pr (eval Exe))) )