Commit Graph

24 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 4fb6b9a0bc add ident getter by index, + ident count method on state 2021-05-16 00:50:14 +02:00
Daniel Kolesa 6218adb78a remove public type specializations for vars 2021-05-06 23:13:48 +02:00
Daniel Kolesa a57072fb73 use any_value for var storage and return it from value() 2021-05-06 03:34:25 +02:00
Daniel Kolesa 344bba07f3 remove is_ helpers for ident types (except is_var) 2021-05-05 03:24:41 +02:00
Daniel Kolesa bd1e7825d8 be consistent with usage of get_/set_ prefixes 2021-05-05 03:16:32 +02:00
Daniel Kolesa 8c8aa26c20 return refs for new_*var and new_ident (guarantee valid result) 2021-04-05 19:52:13 +02:00
Daniel Kolesa d8736a059b greatly simplify internal alias stack handling
this should be more efficient too (no value moves)
2021-04-01 03:41:40 +02:00
Daniel Kolesa 6068a7259b switch to modified cpp-linenoise, use it on windows 2021-03-31 23:48:22 +02:00
Daniel Kolesa b9b344cba6 remove cs_ namespace in all API 2021-03-23 23:29:32 +01:00
Daniel Kolesa 82d366366e drop libostd requirement entirely 2021-03-20 08:23:51 +01:00
Daniel Kolesa 5648c1a757 use string_view everywhere that returns or takes a string 2021-03-20 04:10:27 +01:00
Daniel Kolesa 3224a33645 fix warnings 2020-09-11 23:41:09 +02:00
Daniel Kolesa ccb35eb1c4 fixes 2017-06-19 20:13:54 +02:00
Daniel Kolesa 8343979e03 fix build after style update 2017-02-16 19:07:22 +01:00
Daniel Kolesa 41eb8b211f begin naming scheme rework 2017-02-13 18:11:19 +01:00
Daniel Kolesa 58bf658409 update according to ostd 2017-01-30 19:38:11 +01:00
Daniel Kolesa 8dc423dcaa update according to ostd 2017-01-30 01:18:55 +01:00
Daniel Kolesa d14c8f8593 update to latest ostd 2017-01-25 01:57:33 +01:00
Daniel Kolesa da8120f5c8 repl cleanup 2016-10-05 21:33:59 +02:00
Daniel Kolesa ce62593840 move idents/identmap into internal state 2016-09-12 20:04:59 +02:00
Daniel Kolesa 931f7294de repl cleanup 2016-09-11 23:33:02 +02:00
Daniel Kolesa fb8a793d66 allow SIGINT to interrupt infinite loops 2016-09-05 21:50:24 +02:00
Daniel Kolesa 6aca518614 re-expose command and add hints/completion for now at least with linenoise 2016-09-02 17:20:53 +01:00
Daniel Kolesa 9672a1091e add support for several line editing approaches (pure stdin, linenoise, libedit, readline) 2016-09-01 17:50:02 +01:00