Commit Graph

16 Commits

Author SHA1 Message Date
Qi Xiao
aa2f8a54ee Implement Assoc for several types. 2017-09-01 01:07:34 +02:00
Qi Xiao
4f884b6dbf Add Hash to Value interface. 2017-08-30 20:52:27 +02:00
Qi Xiao
f1b9fb0b45 Eq -> Equal. 2017-08-30 19:47:50 +02:00
Qi Xiao
4a7a4184ed Add an Eqer interface, and implement for many types.
This is to prepare for the transition to using the custom persistent map
implementation, which requires an Eq method for key types.
2017-07-14 01:28:51 +01:00
Qi Xiao
dce8be6a18 eval.Fn -> Callable, eval.Iterator -> Iterable 2017-02-18 04:45:40 +00:00
Qi Xiao
7efd489df3 splice -> explode
The author just found out that he had a terrible misunderstanding of the
word "splice".
2016-10-13 14:12:14 +08:00
Qi Xiao
ad5a74d6c8 Support string indexing.
This fixes #243.
2016-10-10 02:42:32 +08:00
Qi Xiao
e42d700d39 Fix the completion for "$@". 2016-09-15 13:33:16 +02:00
Qi Xiao
73d50f77cc Eval and pass options to forms.
They are ignored for now, however.
2016-09-14 23:34:10 +02:00
Qi Xiao
425f19165f Add builtin resolve; change Repr of BuiltinFn. 2016-04-05 06:20:18 +02:00
Qi Xiao
a9d5672fad Export eval.ParseVariable. 2016-03-21 00:35:21 +01:00
Qi Xiao
1895a37073 Lots of renames. 2016-03-02 01:35:13 +01:00
Qi Xiao
2cdbf67147 Slightly simplify Repr. 2016-02-19 20:31:54 +01:00
Qi Xiao
2413edcc09 Implement pretty printing.
This fixes #112.
2016-02-19 20:11:31 +01:00
Qi Xiao
83cbe3b230 Introduce a Lener interface. 2016-02-19 11:49:19 +01:00
Qi Xiao
e6a9e79ea0 Restructure the eval package. 2016-02-18 22:52:05 +01:00