Commit Graph

212 Commits

Author SHA1 Message Date
Cheer Xiao
1f19c31de3 libdasc/editor: Add code highlighting 2013-09-12 23:23:50 +08:00
Cheer Xiao
823b892290 libdasc/editor: Add comments 2013-09-12 21:15:22 +08:00
Cheer Xiao
3811391d25 libdasc/editor: Move type cell to separate file 2013-09-07 23:22:02 +08:00
Cheer Xiao
70c09e68dc libdasc/editor: Remove an unused global 2013-09-07 22:18:58 +08:00
Cheer Xiao
e222e5cce2 dasc: Remove yet another unused function 2013-09-06 22:27:47 +08:00
Cheer Xiao
cd4675304c dasc: Remove an unused function 2013-09-06 22:27:10 +08:00
Cheer Xiao
274aa5dbb4 dasc: Remove an unused file 2013-09-06 22:25:30 +08:00
Cheer Xiao
9824c24189 libdasc/editor: Fix a quirky cell literal 2013-09-06 22:23:51 +08:00
Cheer Xiao
28128cbc0f libdasc/editor: Implement indent properly 2013-09-06 22:11:13 +08:00
Cheer Xiao
37f46d0c54 libdasc/editor: Handle error returned from Editor.refresh 2013-09-06 21:59:30 +08:00
Cheer Xiao
bed5cf706d libdasc/editor: Editor now keeps a buffer. writer.go integrated into editor.go 2013-09-06 21:57:30 +08:00
Cheer Xiao
c788f38406 libdasc/editor: Make terminal fd a parameter of Editor 2013-09-05 22:13:01 +08:00
Cheer Xiao
834e0a3e19 libdasc/editor: clean up Init a little bit 2013-09-05 17:05:49 +08:00
Cheer Xiao
38a58e50b3 libdasc/editor: Keep editor status in struct, not global 2013-09-05 16:59:57 +08:00
Cheer Xiao
947bfe9906 Let the lexer continue parsing on unterminated tokens 2013-09-04 22:30:35 +08:00
Cheer Xiao
3d6de0001d libdasc/parse: Expose lexer API 2013-09-04 22:11:04 +08:00
Cheer Xiao
39ce4c2ffe Add libdasc/editor.
Also, .gitignore is removed from Tuprules.tup. Messy commit.
2013-09-03 22:22:28 +08:00
Cheer Xiao
ddbee46313 Experimental completion-aware lexer and parser.
Subject to change...
2013-08-20 23:03:33 +08:00
Cheer Xiao
b9365cc429 dasc: Split into two packages, main and libdasc 2013-08-18 17:17:37 +08:00
Cheer Xiao
aed2b59c1c Make metadata.md valid markdown by using ``` 2013-08-17 20:06:16 +08:00
Cheer Xiao
fc35e1d20a Add doc metachar.md 2013-08-17 20:08:08 +08:00
Cheer Xiao
6d55ec25f0 dasc: Support stdout redirection 2013-08-17 20:06:06 +08:00
Cheer Xiao
a60463b95f dasc: Fix a context message 2013-08-17 11:34:44 +08:00
Cheer Xiao
e05fdd4d36 dasc: don't announce search path 2013-08-15 16:37:19 +08:00
Cheer Xiao
4ad18ee49c dasc: add a parse package derived from text/template/parse 2013-08-15 16:36:29 +08:00
Cheer Xiao
f87f69df20 das server: close sockets properly on exit 2013-08-14 16:09:45 +08:00
Cheer Xiao
cceb063d3c dasc-dummy: send an exit message on exit 2013-08-14 16:08:07 +08:00
Cheer Xiao
2e8e7560fc Switch to tabs indentation in golang sources 2013-07-29 14:39:21 +08:00
Cheer Xiao
7ef102d68b das: Use execvp 2013-07-29 12:17:51 +08:00
Cheer Xiao
61d9cdf956 Another restructure... 2013-07-29 12:16:35 +08:00
Cheer Xiao
26906c97dc README: cosmetics 2013-07-29 11:27:20 +08:00
Cheer Xiao
3dab594726 Add license (BSD 2-clause) 2013-07-26 14:46:24 +08:00
Cheer Xiao
cfcf7ca987 Implement path searching 2013-07-19 14:56:45 +08:00
Cheer Xiao
4d0cfa0e75 dasc: Comment out response printing 2013-07-17 16:49:54 +08:00
Cheer Xiao
1ca191ff9a das.c -> main.c 2013-07-17 16:48:12 +08:00
Cheer Xiao
2d5161ff0a Properly handle exiting 2013-07-17 16:47:07 +08:00
Cheer Xiao
9c966b1638 src/cmd/ is now just src/ 2013-07-05 16:39:03 +08:00
Cheer Xiao
83d01d0b91 Put executables in bin/ 2013-07-05 16:31:05 +08:00
Cheer Xiao
72fe8263e0 Organize the repo as a workspace 2013-07-01 10:35:51 +08:00
Cheer Xiao
992e66f2ef Server: Get CMSG_SPACE and CMSG_LEN right 2013-06-26 10:42:31 +08:00
Cheer Xiao
2bac449143 Update README 2013-06-26 07:20:56 +08:00
Cheer Xiao
b5d0328f2d Fix outdated comment and usage message 2013-06-26 07:20:23 +08:00
Cheer Xiao
ea018e6815 Client: Print response with %s which is more useful 2013-06-26 07:16:01 +08:00
Cheer Xiao
f9316630a5 Server: Put TextTube to line buffer mode 2013-06-26 07:15:25 +08:00
Cheer Xiao
d9d1d6e1e3 Server: Add DieIf, implement DieIf_1 in terms of it 2013-06-26 06:50:22 +08:00
Cheer Xiao
e11be65825 Server: Check_1 -> DieIf_1, swap arguments order 2013-06-26 06:47:46 +08:00
Cheer Xiao
c9569a4931 Server: Close output redirection destination in parent 2013-06-26 05:53:13 +08:00
Cheer Xiao
ba0149fc0d Client: Don't redirect output to /dev/null :) 2013-06-26 05:49:25 +08:00
Cheer Xiao
35cf956d8c Server: Set FD_CLOEXEC on tubes in InitTubes 2013-06-26 05:48:28 +08:00
Cheer Xiao
559a21001b Client: Use int as type for fd, converting to uintptr where needed 2013-06-26 05:47:30 +08:00