Commit Graph

860 Commits

Author SHA1 Message Date
Cheer Xiao
98e2dbea29 Add a builtin special form "static-typeof" 2015-01-19 22:11:44 +01:00
Cheer Xiao
a25ffba632 Add a "typeof" builtin 2015-01-19 22:06:40 +01:00
Cheer Xiao
4fa9f46759 Allow setting var of type "any" to values of any type 2015-01-19 22:00:14 +01:00
Cheer Xiao
c970e2357c Update README to use new syntax of var/set 2015-01-19 21:57:07 +01:00
Cheer Xiao
4651821da9 Revert to more human, albeit less compact syntax for var and set 2015-01-19 16:46:40 +01:00
Cheer Xiao
0c77f30c4a Pipes are no longer statically typed.
Instead, all pipes are now hybrids of a byte pipe and a channel.

This change still needs some working; for instance, now `put [] | cat` results
in a hang instead of error.
2014-12-09 14:40:04 +01:00
Cheer Xiao
374c85bedc Revert "Override "script" in .travis.yml"
This reverts commit e8cfa60b41.
2014-10-31 21:07:56 +01:00
Cheer Xiao
e8cfa60b41 Override "script" in .travis.yml 2014-10-31 20:59:12 +01:00
Cheer Xiao
38f7912f45 Add .travis.yml (again) 2014-10-30 01:12:59 +01:00
Cheer Xiao
3c139037ad README: use the more fancy svg badge for godoc 2014-10-30 01:06:42 +01:00
Cheer Xiao
1ad8fcaa1f **.go: xiaq/elvish -> elves/elvish 2014-10-29 20:50:10 +01:00
Cheer Xiao
24535c03e5 README: xiaq/elvish -> elves/elvish 2014-10-29 20:47:12 +01:00
Cheer Xiao
72e89b1cfc Simply evaluator copying 2014-10-21 23:54:44 +02:00
Cheer Xiao
46d46e2c25 Minor cleanup 2014-10-21 23:54:31 +02:00
Cheer Xiao
c707490ed7 eval/eval.go: Use space instead of comma to separate reported status codes 2014-10-13 22:39:25 +02:00
Cheer Xiao
b0eade37f8 Organize Compiler and Evaluator to be similar to each other 2014-10-13 22:18:30 +02:00
Cheer Xiao
5e83242617 README: Add a licensing subsection to contributing 2014-10-12 00:35:19 +02:00
Cheer Xiao
8b0515ac45 godoc seems to have problems with https. Switch to http. 2014-10-08 18:26:16 +02:00
Cheer Xiao
63ef2bdb4c Fix a typo: Ambiguious -> Ambiguous
This fixes issue #37.
2014-10-08 11:36:39 +02:00
Cheer Xiao
bac383c93d README: Expand the paragraph on supported platforms 2014-10-06 23:30:55 +02:00
Cheer Xiao
9c2b6871b3 Define edit.tty.Termios entirely in terms of C.struct_termios
syscall and unsafe imports are no longer needed.
2014-10-06 23:22:28 +02:00
Cheer Xiao
ab4c961cf2 Ditch gorp dependency, use plain database/sql 2014-10-01 22:46:17 +02:00
Cheer Xiao
5fc47d8099 Bump go requirement 2014-10-01 02:09:59 +02:00
Cheer Xiao
5069fd9774 FreeBSD compatibility fix. 2014-10-01 02:07:11 +02:00
Cheer Xiao
1d1b04eadb select_darwin.go -> select_bsd.go
It is also built on other BSD systems
2014-10-01 01:12:14 +02:00
Cheer Xiao
868d1c5d1f Add store package. 2014-10-01 00:57:38 +02:00
Cheer Xiao
27f1a1e85f Remove package elvishd and service 2014-09-30 23:14:40 +02:00
Cheer Xiao
83830dac5e README: Expand "Notes for Contributors" 2014-09-28 11:41:44 +02:00
Cheer Xiao
a12d425d67 Makefile: PKG_COVERAGES -> PKG_COVERS 2014-09-28 11:22:28 +02:00
Cheer Xiao
bb446f8728 Merge pull request #36 from zguangyu0000/master
Add Mac OS X support
2014-09-28 11:20:51 +02:00
Guangyu Zhang
154517ceb0 eval symlink of ioutil.TempDir 2014-09-28 11:09:31 +08:00
Guangyu Zhang
e0212a7353 Add Mac OS X support 2014-09-28 10:29:20 +08:00
Cheer Xiao
d596a4f941 Call zero value of PrimaryType BadPrimary 2014-09-27 00:32:57 +02:00
Cheer Xiao
081ca989f1 Output capture is now called channel output capture.
Bytes output capture will be introduced with a different syntax.
2014-09-27 00:31:32 +02:00
Cheer Xiao
3c1fe5b579 Cosmetics 2014-09-25 23:47:27 +02:00
Cheer Xiao
91b16c3b54 eval: Also Test for eval errors 2014-09-25 23:43:52 +02:00
Cheer Xiao
dafd3155b1 Change the syntax of var/set forms. 2014-09-25 23:27:38 +02:00
Cheer Xiao
5cd0d675ce eval: Test status capture 2014-09-25 00:18:37 +02:00
Cheer Xiao
be27673a1e eval: Add test cases 2014-09-25 00:08:37 +02:00
Cheer Xiao
a9f08936bf In Makefile, shorten coverage to cover 2014-09-24 23:56:12 +02:00
Cheer Xiao
7776312341 parse: Add more test cases 2014-09-24 23:40:16 +02:00
Cheer Xiao
9da23c2fe0 README: Only linux is supported now 2014-09-23 20:49:56 +02:00
Cheer Xiao
ace01172cc Add parse.newTablePair 2014-09-23 09:48:48 +02:00
Cheer Xiao
87a833626a parse: Leave the opening symbols to Parser.{table closure} 2014-09-23 09:48:41 +02:00
Cheer Xiao
e39856f483 Add a parse test case 2014-09-22 13:43:08 +02:00
Cheer Xiao
dbec084cb8 README: -tabwidth was removed from goimports 2014-09-22 10:20:54 +02:00
Cheer Xiao
8a5f2513b3 edit: Remove Highlighter.
The new Highlighter will be a completely different thing.
2014-09-21 22:36:57 +02:00
Cheer Xiao
176abcb0b1 Move util/socket.go to service/ 2014-09-21 17:52:24 +02:00
Cheer Xiao
9f4d14dfb4 Subscript on string is now supported 2014-09-21 13:39:38 +02:00
Cheer Xiao
ea9dabd261 Add util.NthRune 2014-09-21 13:26:47 +02:00