libcubescript/src
Daniel Kolesa b00a08ea88 remove most variable code and leave it to user-defined handlers
the user can now define commands '//ivar', '//fvar' and '//svar'
which take identity (which is the variable) as the first argument
followed by any number of user defined arguments with types (one
can use the N argument type to check argument count, and when no
value arguments are provided, print the variable); this allows us
to implement different styles of variable setting without the
interpreter itself knowing about it, as well as ditch all the
stuff with overridden vars and hex vars and whatnot since this is
all specific to the engine and has no place in here

there is still leftover code remaining, which will get cleaned up
afterwards...
2021-04-03 03:16:57 +02:00
..
cs_bcode.cc remove some more raw bcode usage 2021-04-01 05:25:21 +02:00
cs_bcode.hh remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_error.cc move public state methods where they belong 2021-03-27 00:26:59 +01:00
cs_gen.cc remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_gen.hh msvc warning fixes 2021-03-31 02:21:32 +02:00
cs_ident.cc remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_ident.hh simplify alias_stack push/pop a bit 2021-04-02 23:50:35 +02:00
cs_parser.cc remove more problematic public members 2021-03-31 01:48:56 +02:00
cs_parser.hh rename namespace to cubescript 2021-03-23 23:32:25 +01:00
cs_state.cc remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_state.hh remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_std.cc make p_tstate actually private 2021-03-26 03:05:14 +01:00
cs_std.hh remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_strman.cc up the default warning level, turn off rtti by default 2021-03-31 01:35:02 +02:00
cs_strman.hh rename namespace to cubescript 2021-03-23 23:32:25 +01:00
cs_thread.cc per-thread alias stack (the vm should be mostly resumable now) 2021-04-02 19:13:34 +02:00
cs_thread.hh per-thread alias stack (the vm should be mostly resumable now) 2021-04-02 19:13:34 +02:00
cs_val.cc remove all raw bcode passing in public api 2021-04-01 05:06:26 +02:00
cs_vm.cc remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
cs_vm.hh remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
lib_base.cc remove most variable code and leave it to user-defined handlers 2021-04-03 03:16:57 +02:00
lib_list.cc rename alias_stack to alias_local 2021-04-02 04:43:57 +02:00
lib_math.cc msvc warning fixes 2021-03-31 02:21:32 +02:00
lib_str.cc msvc warning fixes 2021-03-31 02:21:32 +02:00
meson.build always define LIBCUBESCRIPT_BUILD for build 2021-04-01 04:39:13 +02:00