Commit Graph

18 Commits (da7548664c81b9243ced65dc75ab79efe77b95dc)

Author SHA1 Message Date
Daniel Kolesa da7548664c remove b and F arg types + renames + set default args to none
setting default args to none rather than whatever default
value allows for easily checking whether the arg was set,
without losing anything (since e.g. calling get_integer on
a none value still returns a 0)

'b' and 'F' were kinda ugly and handled special niches, which
are no longer a thing now that we're defaulting to none
2021-04-29 01:40:55 +02:00
Daniel Kolesa a9afa89af6 rework API for by-name lookups/assignments, simplify VM for that 2021-04-28 03:23:17 +02:00
Daniel Kolesa acdb9a4a0e remove unused prototype 2021-04-26 02:44:31 +02:00
Daniel Kolesa 92281e88c1 remove state::get_alias(), make get_ident() return an optional 2021-04-26 02:42:08 +02:00
Daniel Kolesa 960f463259 complete the public API documentation 2021-04-23 03:20:53 +02:00
Daniel Kolesa 816d6e521d support user conf file 2021-04-15 20:40:34 +02:00
Daniel Kolesa 84f6d1f0d6 make std::span user replaceable
this will allow usage on some older compilers for those who want it
2021-04-15 20:27:24 +02:00
Daniel Kolesa 8b1aaa63fe add initial doxygen documentation infra 2021-04-15 02:42:06 +02:00
Daniel Kolesa 8207ef0ce3 use overloads for new var methods 2021-04-11 20:49:26 +02:00
Daniel Kolesa b26bae3ec5 move standard library init outside state, make it never error 2021-04-11 19:36:41 +02:00
Daniel Kolesa a2c50744da remove public state::destroy() 2021-04-11 18:56:08 +02:00
Daniel Kolesa e644674724 hide internal_state from all public headers 2021-04-11 18:46:45 +02:00
Daniel Kolesa 3d06157dbc guarantee valid result from new_command 2021-04-05 20:05:41 +02:00
Daniel Kolesa 8c8aa26c20 return refs for new_*var and new_ident (guarantee valid result) 2021-04-05 19:52:13 +02:00
Daniel Kolesa 1a68dd1c25 move callable into internal namespace 2021-04-05 19:22:40 +02:00
Daniel Kolesa 194d5f960b drop ret-by-reference run APIs 2021-04-05 18:32:45 +02:00
Daniel Kolesa f64df83dd8 add getter/setter api on alias, drop old broken api 2021-04-05 18:20:07 +02:00
Daniel Kolesa a8cfa08bd8 split up cubescript.hh into individual files 2021-04-05 04:40:52 +02:00