yeti
yeti copied to clipboard
failed: rlwrap
Mac OS X 10.10.5
$ git clone https://github.com/mth/yeti.git
Cloning into 'yeti'...
remote: Counting objects: 14050, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 14050 (delta 6), reused 0 (delta 0), pack-reused 14038
Receiving objects: 100% (14050/14050), 7.57 MiB | 5.49 MiB/s, done.
Resolving deltas: 100% (7301/7301), done.
Checking connectivity... done.
$ cd yeti/
$ ls
Makefile build.xml doc/ lib/ tests/ yc*
TODO c/ examples/ modules/ util/
$ make
ant compiler
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=784m; support was removed in 8.0
Buildfile: /Users/xyzpdq/Dev/yeti/build.xml
checklib:
prepare-build:
fetch:
[mkdir] Created dir: /Users/xyzpdq/Dev/yeti/.build/util
[get] Getting: http://dot.planet.ee/yeti/asm-5.0.3.jar
[get] To: /Users/xyzpdq/Dev/yeti/.build/asm-5.0.3.jar
[get] ....
[javac] Compiling 1 source file to /Users/xyzpdq/Dev/yeti/.build/util
lib:
[javac] Compiling 1 source file to /Users/xyzpdq/Dev/yeti/.build/util
[javac] Compiling 56 source files to /Users/xyzpdq/Dev/yeti/.build/lib
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
[javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
compiler:
[mkdir] Created dir: /Users/xyzpdq/Dev/yeti/.build/compiler
[javac] Compiling 23 source files to /Users/xyzpdq/Dev/yeti/.build/compiler
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
[javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
BUILD SUCCESSFUL
Total time: 3 seconds
$ ls
Makefile asm-5.0.3y.jar c/ examples/ modules/ util/
TODO build.xml doc/ lib/ tests/ yc*
$ ./yc
./yc: line 2: rlwrap: command not found
The yc script uses rlwrap, as it is really useful to make using the REPL easier. If you want, you can patch it to check whether rlwrap exists and run the yeti.jar without rlwrap if its not available. On the other hand you could just compile the util/yeti.c that implements the same functionality in better way and already has the check.