aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-10-18 23:58:52 +0200
committerCamil Staps2016-10-18 23:58:52 +0200
commit8be1e7b05aaed9fbd61987b711645506b36b30c0 (patch)
tree2de2f5a5615a1439edb452c34e0fd733c5b9863c
parentTemplate file (diff)
cleanup
-rw-r--r--Dockerfile2
-rw-r--r--README.md21
2 files changed, 6 insertions, 17 deletions
diff --git a/Dockerfile b/Dockerfile
index ffc1058..b1445e3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM camilstaps/clean:itasks
RUN apt-get update -qq && apt-get install -qq libreadline-dev
-RUN touch /home/.iclean_history
+RUN touch /home/.iclean_history /home/.iclean_template
RUN mkdir -p /usr/src/iclean
COPY . /usr/src/iclean
diff --git a/README.md b/README.md
index ca99089..668e345 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,9 @@
# iClean
Interactive Clean
-This module allows you to evaluate [Clean][] expressions interactively, similar
-to GHCi or the Python shell. Functionality is very limited. In particular there
-is **no memory**, so you're restricted to one-liners.
+This module allows you to evaluate [Clean][] expressions interactively, similar to GHCi or the Python shell.
-Copyright © 2016 Camil Staps. This project is licensed under the MIT
-license. For more details, see the LICENSE file.
+Copyright © 2016 Camil Staps. This project is licensed under the MIT license. For more details, see the LICENSE file.
## Example session
@@ -25,11 +22,9 @@ Use `docker pull camilstaps/iclean` to pull the latest iClean version.
Run iClean with `docker run --rm -it camilstaps/iclean`.
-If you want history, add `-v ~/.iclean_history:/home/.iclean_history` and
-`touch ~/.iclean_history` on the host.
+If you want history, add `-v ~/.iclean_history:/home/.iclean_history` and `touch ~/.iclean_history` on the host.
-You can add imports by creating a template in `~/.iclean_template`, then adding
-it to the container with `-v ~/.iclean_template:/home/.iclean_template`.
+You can add imports by creating a template in `~/.iclean_template`, then adding it to the container with `-v ~/.iclean_template:/home/.iclean_template`.
Make all this an alias:
@@ -40,12 +35,6 @@ alias iclean="docker run --rm -it -v ~/.iclean_history:/home/.iclean_history -v
## Without Docker
Use `make iclean` to build.
-Use either `./iclean` or `make run`. You can of course add the executable
-`iclean` to your path.
-
-## Todo
-
-* Implement memory (e.g. to first declare a function / constant and then use it)
-* Allow extra imports
+Use either `./iclean` or `make run`. You can of course add the executable `iclean` to your path.
[Clean]:http://clean.cs.ru.nl/Clean