Single-collection package.
This commit is contained in:
parent
deb7b1958b
commit
2a2e557308
|
@ -1,2 +1,3 @@
|
||||||
compiled/
|
compiled/
|
||||||
|
doc/
|
||||||
scratch/
|
scratch/
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,12 +1,10 @@
|
||||||
COLLECTIONS=marketplace
|
|
||||||
|
|
||||||
all: setup
|
all: setup
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name compiled -type d | xargs rm -rf
|
find . -name compiled -type d | xargs rm -rf
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
raco setup $(COLLECTIONS)
|
raco setup $$(basename $$(pwd))
|
||||||
|
|
||||||
link:
|
link:
|
||||||
raco pkg install --link $$(pwd)
|
raco pkg install --link $$(pwd)
|
||||||
|
|
20
README.md
20
README.md
|
@ -26,25 +26,23 @@ A (draft) manual for Marketplace is available
|
||||||
|
|
||||||
## The code
|
## The code
|
||||||
|
|
||||||
This repository contains a [Racket](http://racket-lang.org/) package
|
This repository contains a [Racket](http://racket-lang.org/) package,
|
||||||
containing a single
|
|
||||||
[collection](http://docs.racket-lang.org/reference/collects.html),
|
|
||||||
`marketplace`, which includes
|
`marketplace`, which includes
|
||||||
|
|
||||||
- the implementation of the `#lang marketplace` language, in
|
- the implementation of the `#lang marketplace` language, in the
|
||||||
[`marketplace/`](https://github.com/tonyg/marketplace/tree/master/marketplace/).
|
[top directory](https://github.com/tonyg/marketplace/tree/master/).
|
||||||
|
|
||||||
- a TCP echo server example, in
|
- a TCP echo server example, in
|
||||||
[`marketplace/examples/echo-paper.rkt`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/echo-paper.rkt).
|
[`examples/echo-paper.rkt`](https://github.com/tonyg/marketplace/tree/master/examples/echo-paper.rkt).
|
||||||
|
|
||||||
- a TCP chat server example, in
|
- a TCP chat server example, in
|
||||||
[`marketplace/examples/chat-paper.rkt`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/chat-paper.rkt).
|
[`examples/chat-paper.rkt`](https://github.com/tonyg/marketplace/tree/master/examples/chat-paper.rkt).
|
||||||
|
|
||||||
- Haskell, Erlang and Python implementations of the chat server for comparison, in
|
- Haskell, Erlang and Python implementations of the chat server for comparison, in
|
||||||
[`marketplace/examples/chat.hs`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/chat.hs),
|
[`examples/chat.hs`](https://github.com/tonyg/marketplace/tree/master/examples/chat.hs),
|
||||||
[`chat.erl`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/chat.erl),
|
[`chat.erl`](https://github.com/tonyg/marketplace/tree/master/examples/chat.erl),
|
||||||
and
|
and
|
||||||
[`chat.py`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/chat.py)
|
[`chat.py`](https://github.com/tonyg/marketplace/tree/master/examples/chat.py)
|
||||||
respectively.
|
respectively.
|
||||||
|
|
||||||
## Compiling and running the code
|
## Compiling and running the code
|
||||||
|
@ -65,7 +63,7 @@ it still takes around 2 minutes.
|
||||||
|
|
||||||
At this point, you may load and run any of the example `*.rkt` files
|
At this point, you may load and run any of the example `*.rkt` files
|
||||||
in the
|
in the
|
||||||
[`marketplace/examples/`](https://github.com/tonyg/marketplace/tree/master/marketplace/examples/)
|
[`examples/`](https://github.com/tonyg/marketplace/tree/master/examples/)
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
Note that both the echo server and chat server examples do not print
|
Note that both the echo server and chat server examples do not print
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
doc/
|
|
Loading…
Reference in New Issue