Cheer Xiao
7605eff82f
Add a Source method to Evaluator. Simplify the main package.
2015-01-22 23:15:54 +01:00
Cheer Xiao
dd2a47152c
Let channel output on terminal use Repr instead of String
2015-01-21 23:55:10 +01:00
Cheer Xiao
d7ca67f3fd
Import store package in main.go
...
This is needed to ensure that dependencies of the store package are installed
with `go get` so that `go test ./store` can be run.
2015-01-21 20:56:52 +01:00
Cheer Xiao
1ad8fcaa1f
**.go: xiaq/elvish -> elves/elvish
2014-10-29 20:50:10 +01:00
Cheer Xiao
47f22c64e8
Channel output in interactive mode is supported (again).
...
This is implemented by making ev.ports[1] a hybrid port. Channel outputs are
collected with a goroutine and written to stdout prepended by some fancy
Unicode symbols.
This resolves issue #23 .
2014-09-21 00:32:09 +02:00
Cheer Xiao
9c1a6fb638
main.go: Don't assume Evaluator.Eval returns ContextualError
2014-07-30 17:02:42 +08:00
Cheer Xiao
8157620ba8
Support execution of script file.
...
Unfortunately the parser seems to be unable to go beyond the first line.
2014-05-25 17:55:53 +08:00
Cheer Xiao
a7bfa40302
edit.New -> .NewEditor
2014-03-20 13:16:20 +08:00
Cheer Xiao
af03fe9014
main: DON'T PANIC
2014-03-16 23:16:27 +08:00
Cheer Xiao
dfb8e16c2c
Revert the accidental commenting of signal.Notify in main
2014-03-10 21:24:03 +08:00
Cheer Xiao
0624368bcc
Use util.AsyncReader to build a new async edit.Reader
...
Now we can start really dealing with signals!
2014-03-10 21:22:54 +08:00
Cheer Xiao
b2f4e8f781
edit: ReadLine now accepts funcs as prompt and rprompt.
...
The prompt is now correctly updated when cding in navigation mode
2014-03-10 14:51:37 +08:00
Cheer Xiao
3365759b21
Print eval errors with fmt.Print, not fmt.Println
2014-03-06 16:42:03 +08:00
Cheer Xiao
4be72a848a
Handle signals by ignoring them (for now)
2014-03-03 17:53:23 +08:00
Cheer Xiao
f5d6fdc6da
Make eval.Env zero value useful by populating it on use
2014-02-10 21:35:15 +08:00
Cheer Xiao
42fcb8eb22
goimports
2014-02-10 11:33:53 +08:00
Cheer Xiao
9b4713e727
Make edit.Editor instance persistent
2014-02-08 21:21:01 +08:00
Cheer Xiao
e50b08466b
Reword main package doc
2014-02-08 19:26:06 +08:00
Cheer Xiao
7d7814ef9b
golint fixes
2014-01-31 19:18:10 +08:00
Cheer Xiao
3ce8ab1e6f
Document main package
2014-01-30 22:09:04 +08:00
Cheer Xiao
c1711bbd0a
Project rename: das -> elvish
2014-01-29 18:44:07 +08:00
Cheer Xiao
fa8981fbf6
Move package main to root, simplify go get
2014-01-28 19:51:52 +08:00