Commit Graph

1442 Commits

Author SHA1 Message Date
Qi Xiao
83cbe3b230 Introduce a Lener interface. 2016-02-19 11:49:19 +01:00
Qi Xiao
2ac73b4eba Implement two-way syncing between $env:PATH and $paths. 2016-02-19 02:12:10 +01:00
Qi Xiao
4ca7fbca03 Move the "contributing" section to a shiny CONTRIBUTING.md file 2016-02-19 00:13:35 +01:00
Qi Xiao
e6a9e79ea0 Restructure the eval package. 2016-02-18 22:52:05 +01:00
Qi Xiao
c2a3e78d5f Fix Repr of empty list. 2016-02-18 19:42:06 +01:00
Qi Xiao
cc412f8684 Syncing from $env:PATH to $paths and ev.searchPaths.
This addresses #139.
2016-02-18 19:30:08 +01:00
Qi Xiao
ce4d6ff7f2 Disable a test failing on OS X. 2016-02-17 01:53:10 +01:00
Qi Xiao
be3ca4d050 Use "ls -A" to test against RootNames. 2016-02-17 01:47:44 +01:00
Qi Xiao
eebb759edb Fully cover util/exception.go. 2016-02-17 01:43:58 +01:00
Qi Xiao
31fb99daa7 Test against util.RootNames. 2016-02-17 01:41:00 +01:00
Qi Xiao
81422c1f70 Fix an incomplete database. 2016-02-17 01:40:46 +01:00
Qi Xiao
284b99c858 Fully cover util/strings.go. 2016-02-17 01:32:52 +01:00
Qi Xiao
7cb9a9496e util: Test Getwd thoroughly. 2016-02-17 01:27:51 +01:00
Qi Xiao
ffc1634ce5 util: GetHome now uses $HOME as override instead of fallback. 2016-02-17 01:23:36 +01:00
Qi Xiao
7f58514b37 parse: Test against bogus command leader. 2016-02-17 01:15:13 +01:00
Qi Xiao
8affd31812 parse: Remove unused code. 2016-02-17 01:13:07 +01:00
Qi Xiao
587bac7317 parse: Test against Pprint{AST,ParseTree}. 2016-02-17 01:05:51 +01:00
Qi Xiao
903de40d60 glob: More test cases. 2016-02-17 00:44:35 +01:00
Qi Xiao
84d9e34ab1 Remove badge for the print package. 2016-02-17 00:36:03 +01:00
Qi Xiao
fe449c66bc Merge the print package into util. 2016-02-17 00:35:20 +01:00
Qi Xiao
2ec7c6103f Use https for gocover.io badge URLs. 2016-02-17 00:30:11 +01:00
Qi Xiao
ecaf1b73f9 Fix loading of external modules. 2016-02-16 23:24:09 +01:00
Qi Xiao
c37a51c2ed Implement the use builtin.
This addresses #135.
2016-02-16 23:15:12 +01:00
Qi Xiao
ef1112d53f Update README.md 2016-02-16 20:01:34 +01:00
Qi Xiao
99eb48b2b5 Fix display of parser error 2016-02-16 19:58:47 +01:00
Qi Xiao
7812824eff Remove the badge for main package. 2016-02-16 19:16:12 +01:00
Qi Xiao
5db90fd20f Merge *util packages into an util package. 2016-02-16 19:15:29 +01:00
Qi Xiao
a8cad30a20 Add trailing slashes to all gocover.io badge URLs. 2016-02-16 19:07:16 +01:00
Qi Xiao
7d18431a8b Add gocover.io test coverage badges. 2016-02-16 19:04:15 +01:00
Qi Xiao
ff4d09090b Merge pull request #133 from hexchain/patch-1
Fix typo
2016-02-16 15:40:08 +01:00
Hexchain Tong
f1dee4ab29 Fix typo
FreeBDS -> FreeBSD
2016-02-16 22:37:16 +08:00
Qi Xiao
d88f0447c3 Parse incomplete lists correctly. 2016-02-16 14:51:49 +01:00
Qi Xiao
c19a48ea8a Support defining recursive functions with fn. 2016-02-16 14:49:22 +01:00
Qi Xiao
64c9bf842d edit: Hide errors at the end. 2016-02-16 14:47:14 +01:00
Qi Xiao
b86ff2eb06 Show parser errors as well. 2016-02-16 14:32:35 +01:00
Qi Xiao
9ca0f83256 Show content of compiler error. 2016-02-16 13:55:10 +01:00
Qi Xiao
a016fb8cbe Add an XXX about concurrency-safety. 2016-02-16 13:04:43 +01:00
Qi Xiao
4a5f836626 Show output of key-bound function in notification. 2016-02-16 12:13:35 +01:00
Qi Xiao
6b6532f953 Fix broken test. 2016-02-16 01:54:19 +01:00
Qi Xiao
cdea3cc9b5 Let = use the error channel instead of output 2016-02-15 23:43:08 +01:00
Qi Xiao
b8e831f709 Implement builtin len. 2016-02-15 23:00:21 +01:00
Qi Xiao
5000c60813 add Eval.Struct, use it to wrap structs. 2016-02-15 22:36:37 +01:00
Qi Xiao
c863ac6381 eval: add roVariable. 2016-02-15 22:19:51 +01:00
Qi Xiao
fa8a69c5d3 edit: Fix interface of BindingTable. 2016-02-15 18:34:31 +01:00
Qi Xiao
a73efadf4d Add a count builtin. 2016-02-15 15:15:40 +01:00
Qi Xiao
5609dd1a84 Implement IndexerCaller.
Now we have M-expression!
2016-02-15 15:00:34 +01:00
Qi Xiao
a2635d78b7 eval: getCaller -> mustCaller 2016-02-15 14:54:41 +01:00
Qi Xiao
5219fbcbdf Make Indexer.Index take []Value and return []Value 2016-02-15 14:53:27 +01:00
Qi Xiao
ed2855c595 Fix using Indexer as Caller. 2016-02-15 14:31:59 +01:00
Qi Xiao
0fdf595633 eval: factor out captureOutput. 2016-02-15 14:28:32 +01:00