Commit Graph

103 Commits (b8f3e527d5cff5555dd3bd95acca7e56a20e6653)

Author SHA1 Message Date
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 661aef0c0f expose ListParser via public API 2016-08-15 18:48:06 +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 e518679451 split code parser/generator into its own source file 2016-08-14 16:14:10 +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
Daniel Kolesa 93b2a59e58 cleanup StackedValue 2016-08-12 04:16:35 +01:00
Daniel Kolesa a6d2cc0ef4 StackedValue changes 2016-08-12 04:13:33 +01:00
Daniel Kolesa 14c90e9da4 rename 2016-08-12 04:02:22 +01:00
Daniel Kolesa cd68185f40 StackedValue improvements 2016-08-12 04:01:29 +01:00
Daniel Kolesa 41a7eb7255 remove result from CsState 2016-08-11 18:21:18 +01:00
Daniel Kolesa 97c63951e5 pass result to command callbacks instead of setting it via struct 2016-08-11 18:14:18 +01:00
Daniel Kolesa 133857205d remove ID_STUFF from public header 2016-08-10 18:33:43 +01:00
Daniel Kolesa 96f8f2f7d0 make it easier to grep 2016-08-10 00:54:51 +01:00
Daniel Kolesa b7ae0c500a exponse concat/format code to API and properly utilize it 2016-08-10 00:12:32 +01:00
Daniel Kolesa f618bf2367 format 2016-08-07 21:39:27 +01:00
Daniel Kolesa d1e877eeb5 remove get_str_len 2016-08-06 20:07:41 +01:00
Daniel Kolesa 43bf22e625 make set_macro not public 2016-08-06 19:51:32 +01:00
Daniel Kolesa 60b0e60dfc bytecode is now an opaque type 2016-08-06 19:12:38 +01:00
Daniel Kolesa f1b85d9133 rename Bytecode to BytecodeRef 2016-08-06 18:38:05 +01:00
Daniel Kolesa a0130089cf add code_is_empty API to check for dummy bytecode and remove cs_private 2016-08-06 17:33:01 +01:00
Daniel Kolesa db98021883 merge baselib back to main cubescript and make it initialize always 2016-08-06 16:34:10 +01:00
Daniel Kolesa f4e1c1a32e add copy_arg to TaggedValue 2016-08-03 23:03:44 +01:00
Daniel Kolesa 395615e2cb start splitting into multiple source files 2016-08-02 01:23:47 +01:00
Daniel Kolesa c50445ec34 move length to IdentValue 2016-08-01 21:46:50 +01:00
Daniel Kolesa 38e4270b56 fixes and cleanups 2016-08-01 21:35:42 +01:00
Daniel Kolesa 7e35653a43 do not pass CsState, can easily capture it when adding command 2016-08-01 19:33:40 +01:00
Daniel Kolesa d979a51c88 allow lambda captures on commands 2016-08-01 19:17:13 +01:00
Daniel Kolesa c6db0900ac remove commandn entirely (all funcs are converted) 2016-08-01 19:05:47 +01:00
Daniel Kolesa 3b478b111d disallow zero and one argument commandn 2016-08-01 03:00:58 +01:00
Daniel Kolesa 14b13365ab limit commandn to 6 arguments at most 2016-08-01 01:31:56 +01:00