Browse Source

Document how to launch a REPL in the host (#117)

pull/118/head
Maykel Moya GitHub 4 years ago
parent
commit
7be6475ea2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      emul/README.md

+ 6
- 0
emul/README.md View File

@@ -32,6 +32,11 @@ Run `./forth` to get the Collapse OS prompt. Type `0 LIST` for help.
The program is a curses interface with a limited, fixed size so that it can
provide a AT-XY interface (which is yet to implement).

You can get a REPL by launching the program with [`rlwrap(1)`][rlwrap] like
this:

rlwrap -e '' -m -S '> ' ./forth /dev/stdin

## Problems?

If the `forth` executable works badly (hangs, spew garbage, etc.),
@@ -52,3 +57,4 @@ is broken, but that is rather rare: the repo on Github is plugged on Travis
and it checks that everything is smooth.

[libz80]: https://github.com/ggambetta/libz80
[rlwrap]: https://linux.die.net/man/1/rlwrap

Loading…
Cancel
Save