Commit Graph

27 Commits

Author SHA1 Message Date
Qi Xiao
c88da9745e parse: Unexport (*Parser).{Done,Errors}. 2018-10-13 14:37:38 +01:00
Qi Xiao
fb80862ec4 Add a new package diag for diagnostic utils. 2018-10-11 00:20:32 +08:00
Qi Xiao
35d39961c2 eval: Add a stackTrace type. 2018-02-28 20:22:46 -05:00
Qi Xiao
8a15966ea3 Dead code removal. 2017-12-31 20:40:44 +00:00
Qi Xiao
d8dc0b6cf2 parse: Simplify parsing expressions in special contexts. 2017-12-31 18:51:26 +00:00
Qi Xiao
35929aa9b9 util: SourceContext -> SourceRange. 2017-12-19 01:14:26 +00:00
Qi Xiao
de3f45e28e util: Break (*SourceContext).Pprint into multiple stages. 2017-12-19 01:14:26 +00:00
Qi Xiao
c5ef69addc parse: More descriptive error message for unexpected rune. 2017-12-04 00:36:21 +00:00
Qi Xiao
35a34f36f1 parse: Expose Parser. 2017-05-31 22:46:26 +01:00
Qi Xiao
121a7b6a36 parse: Facilitate parsing non-chunk trees. 2017-05-30 01:10:21 +01:00
Qi Xiao
7a4d7b1e54 parse: Expose more of the parser. 2017-05-30 00:42:38 +01:00
Qi Xiao
910610f583 Make golint slightly happier. 2017-05-21 23:54:04 +01:00
Qi Xiao
3828475f77 Dead code elimination. 2017-02-03 20:47:42 -08:00
Qi Xiao
ee81f0680c Use specific error types for parse, compile and eval.
Generic error types in util are ditched.
2017-01-28 14:39:52 +00:00
Qi Xiao
7054a4f0fe Store a util.Traceback in util.PosError. 2016-10-13 23:03:17 +08:00
Qi Xiao
67c0dedb02 Make error traceback more pretty. 2016-10-11 20:26:42 +08:00
Qi Xiao
ef5cf8e037 Allow * ^ < > as command names.
This fixes #188.
2016-06-21 15:23:32 +00:00
Qi Xiao
254d63d55b Parse semicolons in list literals. 2016-03-08 01:08:39 +01:00
Qi Xiao
5db90fd20f Merge *util packages into an util package. 2016-02-16 19:15:29 +01:00
Qi Xiao
27a548488f More sensible parsing of command leaders. 2016-02-14 20:06:18 +01:00
Qi Xiao
0e981ee6de Preliminary parsing of control structures. 2016-02-14 15:29:00 +01:00
Qi Xiao
8125e2f9e6 golint fixes. 2016-02-07 23:23:16 +01:00
Qi Xiao
74ae20cb8e parse: Fix for last commit. 2016-02-06 23:29:38 +01:00
Qi Xiao
0ca923b38c parse: Put the cutset in parser. 2016-02-06 23:17:57 +01:00
Qi Xiao
015def2d01 Cosmetics. 2016-02-06 17:13:53 +01:00
Qi Xiao
5c8a8d5eec Make parse report all errors. 2016-02-06 00:08:39 +01:00
Qi Xiao
b775b97b66 parse: reader -> parser 2016-02-02 18:39:44 +00:00