168 Commits (7f74602b7e0e15048835e84eac088696978479ab)

Author SHA1 Message Date
Daniel Kolesa 9437e0951b eliminate type separation between IVAR/FVAR/SVAR 3 months ago
Daniel Kolesa 6218adb78a remove public type specializations for vars 3 months ago
Daniel Kolesa 6a892b4b2c move set_raw_value to builtin_var 3 months ago
Daniel Kolesa 74f437f851 s/global_var/builtin_var/ 3 months ago
Daniel Kolesa 139ead5d72 fold BC_INST_IVAR/FVAR/SVAR into one instruction 3 months ago
Daniel Kolesa a57072fb73 use any_value for var storage and return it from value() 3 months ago
Daniel Kolesa 344bba07f3 remove is_ helpers for ident types (except is_var) 3 months ago
Daniel Kolesa bd1e7825d8 be consistent with usage of get_/set_ prefixes 3 months ago
Daniel Kolesa 5b54c74f2a remove call() methods from state 3 months ago
Daniel Kolesa 4dd1518f6c s/run/call/ 3 months ago
Daniel Kolesa 9c14e6ca65 rename r type to v 3 months ago
Daniel Kolesa 5d4bcaf797 use an ellipsis for variadics instead of V 3 months ago
Daniel Kolesa e14d5c4aa3 remove automatic concatenating variadics 3 months ago
Daniel Kolesa e52720ebb2 rename N in arglist to # 3 months ago
Daniel Kolesa da7548664c remove b and F arg types + renames + set default args to none 3 months ago
Daniel Kolesa a9afa89af6 rework API for by-name lookups/assignments, simplify VM for that 3 months ago
Daniel Kolesa 92281e88c1 remove state::get_alias(), make get_ident() return an optional 3 months ago
Daniel Kolesa f19fd57549 get rid of some more pointers in API 3 months ago
Daniel Kolesa f4b8d077bb alias_local and get_ident() memory safety (always return refs) 3 months ago
Daniel Kolesa 84f6d1f0d6 make std::span user replaceable 4 months ago
Daniel Kolesa d358dd83e7 halve the size of any_value by removing state pointer from it 4 months ago
Daniel Kolesa 83aa8bfd07 hide bcode pointers from public api 4 months ago
Daniel Kolesa 63023f8c5e remove parser_state::gen_main 4 months ago
Daniel Kolesa c0fc1aa452 abstract away ugly bcode reference creation 4 months ago
Daniel Kolesa dcd5f61748 fewer direct accesses to code vector 4 months ago
Daniel Kolesa e5a05a3199 remove parser_state::done() 4 months ago
Daniel Kolesa 283f23394d add more codegen utilities 4 months ago
Daniel Kolesa 5f67b205df initial bits for separation of codegen from parser 4 months ago
Daniel Kolesa ccb0c09d59 rename codegen_state to parser_state and move it 4 months ago
Daniel Kolesa 2de2c9b46c remove get_raw_type from public interface 4 months ago
Daniel Kolesa f93042d7b9 add more utility methods for string_ref 4 months ago
Daniel Kolesa e531ab3434 clean up any_value APIs for consistency 4 months ago
Daniel Kolesa 8c8aa26c20 return refs for new_*var and new_ident (guarantee valid result) 4 months ago
Daniel Kolesa 194d5f960b drop ret-by-reference run APIs 4 months ago
Daniel Kolesa 06b1661afd hide thread_state, remove state::thread_pointer() 4 months ago
Daniel Kolesa 1624938c0b remove public is_in_loop api 4 months ago
Daniel Kolesa 04441f206d remove the 255 run-depth limitation 4 months ago
Daniel Kolesa c177013ea2 remove reliance on hardcoded indexes entirely 4 months ago
Daniel Kolesa e65e141741 sanitize var names, provide cached builtins for var handlers 4 months ago
Daniel Kolesa a789659387 minor cleanups 4 months ago
Daniel Kolesa bab8633a05 add proper var value setting helpers 4 months ago
Daniel Kolesa 6777eb73d5 re-add some support for persistent/overridable flags + fix unknown 4 months ago
Daniel Kolesa f0bb6b1410 make more api private 4 months ago
Daniel Kolesa 238e5a6ac5 unexpose get_flags from ident, replace with specific methods 4 months ago
Daniel Kolesa b2b83a8e5b clean up some leftover cruft 4 months ago
Daniel Kolesa b00a08ea88 remove most variable code and leave it to user-defined handlers 4 months ago
Daniel Kolesa 95e7ae320c simplify alias_stack push/pop a bit 4 months ago
Daniel Kolesa 881ba4bce9 prepare codebase for per-thread alias stack 4 months ago
Daniel Kolesa 99ec1a8583 make push_alias/alias_stack responsible for unsetting unknown flag 4 months ago
Daniel Kolesa 2b0392e27e remove some more raw bcode usage 4 months ago