181 Commits (master)

Author SHA1 Message Date
Daniel Kolesa b5127c52bf simplify exec_alias more 1 month ago
Daniel Kolesa 72c3ecedb1 move cs thread call stack off real thread call stack 1 month ago
Daniel Kolesa 203e0bd5e4 exec_alias cleanups 1 month ago
Daniel Kolesa 263b12c1c4 stop using reinterpret_cast 1 month ago
Daniel Kolesa 6ffdc7fa91 various vm cleanups 1 month ago
Daniel Kolesa 036362683c kill call_with_args template 1 month ago
Daniel Kolesa 8b04bd1488 refactor vm scope guard 1 month ago
Daniel Kolesa 36fb06425b do not use lambdas with captures in vm 1 month ago
Daniel Kolesa 523586e3a6 mask vm loop always by opcode (fewer switch cases) 1 month ago
Daniel Kolesa a5536d6974 more vm type handling cleanups 1 month ago
Daniel Kolesa 775d69cf1c minor vm cleanups 1 month ago
Daniel Kolesa a8d2bfc442 don't use print_stack in repl 1 month ago
Daniel Kolesa 54a7b4b7f1 add assert in lib_base, remove formatting public error api 1 month ago
Daniel Kolesa 9437e0951b eliminate type separation between IVAR/FVAR/SVAR 1 month ago
Daniel Kolesa 6218adb78a remove public type specializations for vars 1 month ago
Daniel Kolesa 6a892b4b2c move set_raw_value to builtin_var 1 month ago
Daniel Kolesa 74f437f851 s/global_var/builtin_var/ 1 month ago
Daniel Kolesa 139ead5d72 fold BC_INST_IVAR/FVAR/SVAR into one instruction 1 month ago
Daniel Kolesa a57072fb73 use any_value for var storage and return it from value() 1 month ago
Daniel Kolesa 344bba07f3 remove is_ helpers for ident types (except is_var) 2 months ago
Daniel Kolesa bd1e7825d8 be consistent with usage of get_/set_ prefixes 2 months ago
Daniel Kolesa 5b54c74f2a remove call() methods from state 2 months ago
Daniel Kolesa 4dd1518f6c s/run/call/ 2 months ago
Daniel Kolesa 9c14e6ca65 rename r type to v 2 months ago
Daniel Kolesa 5d4bcaf797 use an ellipsis for variadics instead of V 2 months ago
Daniel Kolesa e14d5c4aa3 remove automatic concatenating variadics 2 months ago
Daniel Kolesa e52720ebb2 rename N in arglist to # 2 months ago
Daniel Kolesa da7548664c remove b and F arg types + renames + set default args to none 2 months ago
Daniel Kolesa a9afa89af6 rework API for by-name lookups/assignments, simplify VM for that 2 months ago
Daniel Kolesa 92281e88c1 remove state::get_alias(), make get_ident() return an optional 2 months ago
Daniel Kolesa f19fd57549 get rid of some more pointers in API 2 months ago
Daniel Kolesa f4b8d077bb alias_local and get_ident() memory safety (always return refs) 2 months ago
Daniel Kolesa 84f6d1f0d6 make std::span user replaceable 2 months ago
Daniel Kolesa d358dd83e7 halve the size of any_value by removing state pointer from it 2 months ago
Daniel Kolesa 83aa8bfd07 hide bcode pointers from public api 2 months ago
Daniel Kolesa 63023f8c5e remove parser_state::gen_main 2 months ago
Daniel Kolesa c0fc1aa452 abstract away ugly bcode reference creation 2 months ago
Daniel Kolesa dcd5f61748 fewer direct accesses to code vector 2 months ago
Daniel Kolesa e5a05a3199 remove parser_state::done() 2 months ago
Daniel Kolesa 283f23394d add more codegen utilities 2 months ago
Daniel Kolesa 5f67b205df initial bits for separation of codegen from parser 2 months ago
Daniel Kolesa ccb0c09d59 rename codegen_state to parser_state and move it 2 months ago
Daniel Kolesa 2de2c9b46c remove get_raw_type from public interface 2 months ago
Daniel Kolesa f93042d7b9 add more utility methods for string_ref 3 months ago
Daniel Kolesa e531ab3434 clean up any_value APIs for consistency 3 months ago
Daniel Kolesa 8c8aa26c20 return refs for new_*var and new_ident (guarantee valid result) 3 months ago
Daniel Kolesa 194d5f960b drop ret-by-reference run APIs 3 months ago
Daniel Kolesa 06b1661afd hide thread_state, remove state::thread_pointer() 3 months ago
Daniel Kolesa 1624938c0b remove public is_in_loop api 3 months ago
Daniel Kolesa 04441f206d remove the 255 run-depth limitation 3 months ago