summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-11-05 22:12:58 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-11-05 22:12:58 +0100
commita28cc3912bee28c36f21660d15c0a59e6666ea9c (patch)
tree5f3cdd94aea38dc8211c1fc32b564cf76f95fcd9
parentd72faf5b2098d81f24fee1a586338c4c379d88aa (diff)
Reorganize and simplify, thanks to the proper hungry-eol-sequences
-rw-r--r--README.md8
-rwxr-xr-xrun.sh2
-rw-r--r--wake-up.scm (renamed from depre/main.scm)3
3 files changed, 3 insertions, 10 deletions
diff --git a/README.md b/README.md
index 0e62f72..d558d70 100644
--- a/README.md
+++ b/README.md
@@ -9,14 +9,8 @@ You need to have `guile` installed.
## Running
-Just run the script provided
-
-```
-$ ./run.sh
-```
-
Or call with guile:
```
-$ guile depre/main.scm
+$ guile wake-up.scm
```
diff --git a/run.sh b/run.sh
deleted file mode 100755
index 33037d8..0000000
--- a/run.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/env sh
-guile --r6rs --no-debug -s depre/main.scm
diff --git a/depre/main.scm b/wake-up.scm
index 09f6418..4eb38ad 100644
--- a/depre/main.scm
+++ b/wake-up.scm
@@ -3,7 +3,8 @@
#:use-module (ice-9 textual-ports))
;; Clean indentation from strings
-(read-enable 'hungry-eol-escapes)
+(eval-when (expand load eval)
+ (read-enable 'hungry-eol-escapes))
;; Random seed
(set! *random-state* (random-state-from-platform))