Commit Graph

66 Commits

Author SHA1 Message Date
Qi Xiao
1b7bbe5d6e edit: The Binding method in Mode interface now takes an *Editor. 2018-02-06 15:05:13 -08:00
Qi Xiao
78bd1beadc eval: Rehaul helper methods of Ns. 2018-02-06 11:39:40 -08:00
Qi Xiao
56dffc4482 edit: Remove variable registry. 2018-02-06 01:05:58 -08:00
Qi Xiao
d6a75450ff edit: Migrate prompt configs off RegisterVariable. 2018-02-06 01:04:31 -08:00
Qi Xiao
20fa95b9d1 edit: Migrate more off RegisterVariable. 2018-02-06 00:49:41 -08:00
Qi Xiao
895998d7ce edit: Use embedded fields for editor modularization. 2018-02-06 00:21:36 -08:00
Qi Xiao
8418587cf4 eval: Add two helper methods Set{Ns,Fn} to Ns. 2018-02-04 23:49:28 -08:00
Qi Xiao
6f105755f4 edit: Slightly simplify namespace building. 2018-02-04 23:42:18 -08:00
Qi Xiao
596816f8cf eval/types: Remove the Value type.
Just use the good old interface{} type...
2018-01-29 17:39:41 +00:00
Qi Xiao
99921ea222 Get rid of types.String.
Elvish strings are now simply Go strings. \o/ This addresses #573.
2018-01-25 22:50:42 +00:00
Qi Xiao
68bc4d925d Make Value an empty interface.
This addresses #573. The implementations of Value are not yet changed.
2018-01-25 22:50:41 +00:00
Qi Xiao
085fe8b18c eval: Add a Source type for exposing source info.
A builtin src has been provided to expose this info. This fixes #327.
2018-01-05 04:07:11 +00:00
Qi Xiao
837f124f13 edit: Default binding is now set in Elvish script. 2018-01-03 07:27:46 +00:00
Qi Xiao
0a9cb699ef eval: Move Variable-related types to eval/vartypes. 2018-01-03 01:13:51 +00:00
Qi Xiao
8c1f9d9c27 eval: Move String to eval/types. 2018-01-02 01:34:09 +00:00
Qi Xiao
61bf413954 Cosmetics. 2018-01-01 15:12:34 +00:00