Commit Graph

51 Commits (3a5b8492b568235b58d3eadee0ffaa7a988849fc)

Author SHA1 Message Date
Daniel Kolesa 3a5b8492b5 complete CsValue copy/move semantics 2016-09-06 23:39:09 +02:00
Daniel Kolesa 01c464c619 start re-doing the CsValue interface to support copy/move semantics 2016-09-06 22:23:12 +02:00
Daniel Kolesa 16c99e1f9e always cleanup when doing set_stuff 2016-09-06 20:48:24 +02:00
Daniel Kolesa f4e9cbf27f use AlignedUnion and fix leaks 2016-09-06 20:06:49 +02:00
Daniel Kolesa 605efea9e2 add a hook func that is called on every code invocation 2016-09-05 21:34:48 +02: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 52eb44e0bc hide command members 2016-09-02 20:27:37 +01:00
Daniel Kolesa 6c0b6da94d overridable print_var stuff and overridable out/err streams 2016-09-02 19:22:19 +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 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 2a71bd3409 use CsStackedValue appropriately 2016-08-31 18:49:24 +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 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 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 77b35f2d52 cleanup preparations 2016-08-20 16:40:00 +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
Daniel Kolesa 8418b8bb9e clean up the other var interfaces 2016-08-18 03:14:55 +01:00
Daniel Kolesa f3b3751f76 clean up Ident interface 2016-08-18 02:53:51 +01:00
Daniel Kolesa 3f406de1de unify TaggedValue and IdentValue (no more separate valtype etc) 2016-08-18 01:19:12 +01:00
Daniel Kolesa 066c6b045f move all var related info/storage to the respective var types 2016-08-17 23:36:37 +01:00
Daniel Kolesa f275f06a5f move all alias related stuff to Alias 2016-08-17 23:18:36 +01:00
Daniel Kolesa e7ce1d2b1e move more code around 2016-08-17 23:06:39 +01:00
Daniel Kolesa 55d90f89cf split away var stuff a bit 2016-08-17 22:29:31 +01:00
Daniel Kolesa 66c707a232 start splitting Ident 2016-08-17 22:04:43 +01:00
Daniel Kolesa 32335049fa reduce the amount of direct idents accesses 2016-08-17 21:03:11 +01:00
Daniel Kolesa 6cb2553533 remove unused headers 2016-08-17 03:59:46 +01:00
Daniel Kolesa 226a820ba2 clean up cs_vm.cc 2016-08-17 03:57:53 +01:00
Daniel Kolesa 93f20b1fae cleanups 2016-08-15 18:55:22 +01:00
Daniel Kolesa 7634251951 add cs_util with portable string->integer and string->float conversions 2016-08-15 02:19:59 +01:00
Daniel Kolesa 17511ab844 configuration header with types 2016-08-14 17:35:38 +01:00
Daniel Kolesa 52d8c23a4d ID_VAR is now ID_IVAR 2016-08-14 16:15:56 +01:00
Daniel Kolesa 0cf5bb210a move things around a bit more 2016-08-14 16:05:55 +01:00
Daniel Kolesa cf2a266511 move debug stuff to VM 2016-08-14 16:02:46 +01:00
Daniel Kolesa 75319a73ec cleanups (centralize bytecode deletes) 2016-08-13 00:26:16 +01:00
Daniel Kolesa 8f8abd9bc1 move some funcs around 2016-08-12 18:31:56 +01:00
Daniel Kolesa 0122971aab cleanups 2016-08-12 18:20:33 +01:00
Daniel Kolesa 839dd29299 make set_macro an API again (no point in blocking it for now) 2016-08-12 18:14:22 +01:00