HCoop
/
jackhill
/
mal.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Travis: split build and test into separate scripts.
[jackhill/mal.git]
/
bash
/
step0_repl.sh
Commit
Line
Data
7838e339
1
#!/usr/bin/env bash
31690700
JM
2
3
READ () {
4
read -u 0 -e -p "user> " r
5
}
6
7
EVAL () {
10b07148
8
r="${1}"
31690700
JM
9
}
10
11
PRINT () {
12
r="${1}"
13
}
14
15
while true; do
16
READ
17
EVAL "${r}"
18
PRINT "${r}"
19
echo "${r}"
20
done