Commit Graph

429 Commits (master)

Author SHA1 Message Date
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
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 f0f5fbc1ba clean up constructors and hide Command away from public API 2016-08-18 02:00:44 +01:00
Daniel Kolesa 3f406de1de unify TaggedValue and IdentValue (no more separate valtype etc) 2016-08-18 01:19:12 +01:00
Daniel Kolesa 479c245190 safe typecasting accessors for Ident 2016-08-17 23:54:57 +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 ae00cf2ebb export the ident types 2016-08-17 22:31:47 +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 03c3145956 store idents by pointer 2016-08-17 21:21:16 +01:00
Daniel Kolesa 32335049fa reduce the amount of direct idents accesses 2016-08-17 21:03:11 +01:00
Daniel Kolesa 52c6889332 format 2016-08-17 19:52:18 +01:00
Daniel Kolesa 85bdcae6ee cleanup lib_list 2016-08-17 19:51:21 +01:00
Daniel Kolesa 1cf98dab50 cleanup lib_math 2016-08-17 19:17:12 +01:00
Daniel Kolesa f57d9d8d64 format 2016-08-17 18:21:24 +01:00
Daniel Kolesa e0739608f1 string lib cleanup 2016-08-17 18:20:19 +01:00
Daniel Kolesa caf30eaa03 clean up cubescript.cc 2016-08-17 17:53:38 +01:00
Daniel Kolesa 6a9be3885f simplify float parsing 2016-08-17 17:10:55 +01:00
Daniel Kolesa 5aa4b871cb unify float parsing code 2016-08-17 17:08:14 +01:00
Daniel Kolesa 358e3db541 clean up cs_vm.hh 2016-08-17 04:02:53 +01:00