Qi Xiao
a0c53d4c40
eval: BuiltinFn -> GoFn.
2019-04-18 22:58:06 +01:00
Qi Xiao
f6bdd0e079
Introduce $nil as a valid value.
...
The value uses the Go nil as the underlying value.
2019-04-07 22:54:51 +01:00
Qi Xiao
5979fd5c4f
eval/vars: Cleanups.
2018-11-18 15:23:31 +01:00
Qi Xiao
b9af6b9c75
eval: The builtin $args variable now always exists.
2018-09-28 20:08:32 +01:00
Qi Xiao
0223970d73
eval/vartypes -> eval/vars.
2018-02-15 08:59:49 +00:00
Qi Xiao
78bd1beadc
eval: Rehaul helper methods of Ns.
2018-02-06 11:39:40 -08:00
Qi Xiao
b7c853151f
eval: ReflectBuiltinFn -> BuiltinFn.
2018-02-06 00:02:27 -08:00
Qi Xiao
234bcbef26
edit: Remove BuiltinFn.
...
All users have been migrated to use ReflectBuiltinFn.
2018-02-06 00:00:19 -08:00
Qi Xiao
3c7a5f3422
Migrate daemon: and re: builtins to ReflectBuiltinFn.
2018-02-05 23:22:01 -08:00
Qi Xiao
104dc68d89
eval: Migrate all builtins to ReflectBuiltinFn.
2018-02-05 22:57:00 -08:00
Qi Xiao
17aa0cf96d
eval: Add registry for ReflectBuiltinFn.
2018-02-03 20:25:23 -08:00
Qi Xiao
a1d43bf8d6
Remove unnecessary conversions to string and bool.
2018-01-27 16:05:45 +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
f6c4daebd2
eval/vartypes: Remove Variable from type names.
2018-01-04 23:01:49 +00:00
Qi Xiao
0472d61747
eval: Move all variable types to eval/vartypes.
2018-01-04 22:54:04 +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
3efc92b00c
eval: Move Bool to eval/types.
2018-01-01 15:21:15 +00:00
Qi Xiao
86534000d8
Merge module imports into the main namespace.
...
A module called x is now the same as a variable called $x:, much like
how a function called f is the same as a variable called $f~.
Such module variables are not accessible yet though, due to limitations
of the current variable name resolution rules. However, those will be
fixed later.
2017-12-23 23:51:32 +00:00
Qi Xiao
7da036e187
File renames, preferring dashes.
2017-02-03 20:53:22 -08:00
Qi Xiao
84a0012b38
Use underscores in filenames.
2016-03-06 19:46:38 +01:00