Commit Graph

251 Commits (87a961d8a7ded618c76180ab0392fd035aafc71c)

Author SHA1 Message Date
Daniel Kolesa 87a961d8a7 direct url 2016-09-04 21:46:16 +02:00
Daniel Kolesa 1af9144656 halfassed hint support in readline code 2016-09-03 00:49:31 +01:00
Daniel Kolesa 78d7ab73bd add tab completion for readline 2016-09-02 22:15:05 +01:00
Daniel Kolesa fd8a07f47a more internal changes 2016-09-02 21:49:05 +01:00
Daniel Kolesa 25894b469e make the arg/code APIs for CsAlias purely internal 2016-09-02 21:42:10 +01:00
Daniel Kolesa b687bd6016 cleanups 2016-09-02 20:30:00 +01:00
Daniel Kolesa 52eb44e0bc hide command members 2016-09-02 20:27:37 +01:00
Daniel Kolesa bb4c34a3fb better type list verification, don't print message on bad new_command 2016-09-02 19:34:59 +01:00
Daniel Kolesa 6c0b6da94d overridable print_var stuff and overridable out/err streams 2016-09-02 19:22:19 +01:00
Daniel Kolesa 8f1be31ba2 remove io library (not general enough) 2016-09-02 18:59:04 +01:00
Daniel Kolesa 1b12781473 rename add_command to new_command 2016-09-02 18:03:01 +01:00
Daniel Kolesa d36d24808c many cleanups and api updates 2016-09-02 18:01:25 +01: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 0ff65e5ed4 no need to include ctype.h 2016-09-01 17:52:43 +01:00
Daniel Kolesa 2b02d44b28 mention linenoise git rev 2016-09-01 17:51:39 +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
Daniel Kolesa 3ca2a397dd use ostd stdin 2016-08-31 22:21:45 +01:00
Daniel Kolesa c9f6ac8be9 add initial simplistic REPL 2016-08-31 22:00:31 +01:00
Daniel Kolesa ae2a65749b fix garbage buffers 2016-08-31 21:50:43 +01:00
Daniel Kolesa 5ee9668bfc fix ambiguous ctor 2016-08-31 21:46:25 +01:00
Daniel Kolesa 1bd79d7589 fix format 2016-08-31 20:09:30 +01:00
Daniel Kolesa 5cfec4ac4e move some code around 2016-08-31 19:54:08 +01:00
Daniel Kolesa 6494870a54 value getter for CsAlias 2016-08-31 19:18:53 +01:00
Daniel Kolesa f3164c690a note 2016-08-31 19:00:07 +01:00
Daniel Kolesa a597a34050 remove more unnecessary APIs 2016-08-31 18:59:05 +01:00
Daniel Kolesa 2a71bd3409 use CsStackedValue appropriately 2016-08-31 18:49:24 +01:00
Daniel Kolesa 57620a7bd2 fix StackedValue 2016-08-30 23:19:28 +01:00
Daniel Kolesa 9a95347709 use a strongly typed enum for CsValue type 2016-08-30 22:30:40 +01:00
Daniel Kolesa 5e1d4c3f39 raw members of CsValue are now private 2016-08-30 21:55:35 +01:00
Daniel Kolesa 83c50ebf67 cleanups 2016-08-30 21:29:09 +01:00
Daniel Kolesa b8d35ae0ee delete some ctors 2016-08-29 18:26:35 +01:00
Daniel Kolesa f411b33e4d private constructors (prevent allocation outside of add_ident) 2016-08-29 18:23:51 +01:00
Daniel Kolesa fd6eca6529 prefix APIs 2016-08-29 18:17:11 +01:00
Daniel Kolesa 48cd1efa80 Bytecode -> CsBytecode 2016-08-28 18:40:18 +01:00
Daniel Kolesa 29e833dae6 more extensive readme 2016-08-27 19:26:52 +01:00
Daniel Kolesa e638b388f2 move some implementations 2016-08-25 21:24:23 +01:00
Daniel Kolesa 21054f3433 make src_file and src_str static vars (eventually thread_local) 2016-08-24 19:31:50 +01:00
Daniel Kolesa 61d700b73d Revert "get rid of shared state for src_file/src_str"
This reverts commit 4531fc04b8.
2016-08-24 19:23:57 +01:00
Daniel Kolesa 4531fc04b8 get rid of shared state for src_file/src_str 2016-08-24 19:20:25 +01:00
Daniel Kolesa d288833c65 no need to store the core vars in the state struct 2016-08-24 18:54:24 +01:00
Daniel Kolesa c29cd02263 internal storage for vars 2016-08-22 18:43:58 +01:00
Daniel Kolesa 3ad72a795e get_var_value -> get_value 2016-08-22 18:18:22 +01:00
Daniel Kolesa b8f3e527d5 initial support for custom allocators 2016-08-21 01:34:33 +01:00
Daniel Kolesa d80e922913 more cleanups 2016-08-21 00:51:45 +01:00
Daniel Kolesa 5c3aa477d2 cleanups 2016-08-21 00:37:34 +01:00
Daniel Kolesa 4408b849da type-generic add_ident 2016-08-20 16:52:54 +01:00
Daniel Kolesa 77b35f2d52 cleanup preparations 2016-08-20 16:40:00 +01:00
Daniel Kolesa 8be7f74f5f make init_libs a method on state 2016-08-18 19:47:29 +01:00
Daniel Kolesa 303e219ad0 rename TaggedValue 2016-08-18 19:38:30 +01:00
Daniel Kolesa 84f2cb16e0 expand run_file api 2016-08-18 19:34:24 +01:00