-
2eebfe8ba1
ci: disable libc++ for clang for now
master
Daniel Kolesa
2022-04-20 00:53:13 +0200
-
e34186b9f6
add libc++ into the ci env
Daniel Kolesa
2022-04-20 00:50:55 +0200
-
a35cf1a1fd
release 1.0.0 alpha1
Daniel Kolesa
2022-04-20 00:41:53 +0200
-
d748b0e671
remove state::get_idents
Daniel Kolesa
2021-05-16 00:51:16 +0200
-
4fb6b9a0bc
add ident getter by index, + ident count method on state
Daniel Kolesa
2021-05-16 00:50:14 +0200
-
8086c23a77
memory safe error stack state
Daniel Kolesa
2021-05-15 23:27:34 +0200
-
3189d87ac9
use a reference for the ident in stack node
Daniel Kolesa
2021-05-15 04:23:47 +0200
-
b5127c52bf
simplify exec_alias more
Daniel Kolesa
2021-05-14 23:31:27 +0200
-
72c3ecedb1
move cs thread call stack off real thread call stack
Daniel Kolesa
2021-05-14 23:14:48 +0200
-
203e0bd5e4
exec_alias cleanups
Daniel Kolesa
2021-05-14 22:42:19 +0200
-
263b12c1c4
stop using reinterpret_cast
Daniel Kolesa
2021-05-14 22:10:16 +0200
-
6ffdc7fa91
various vm cleanups
Daniel Kolesa
2021-05-14 19:18:11 +0200
-
036362683c
kill call_with_args template
Daniel Kolesa
2021-05-14 02:54:29 +0200
-
8b04bd1488
refactor vm scope guard
Daniel Kolesa
2021-05-14 02:36:16 +0200
-
36fb06425b
do not use lambdas with captures in vm
Daniel Kolesa
2021-05-13 04:48:55 +0200
-
523586e3a6
mask vm loop always by opcode (fewer switch cases)
Daniel Kolesa
2021-05-13 00:43:44 +0200
-
a5536d6974
more vm type handling cleanups
Daniel Kolesa
2021-05-12 04:08:47 +0200
-
775d69cf1c
minor vm cleanups
Daniel Kolesa
2021-05-12 03:55:20 +0200
-
497502bdb0
drop util::print_stack
Daniel Kolesa
2021-05-10 01:49:14 +0200
-
43898b4798
make pcall not collect the entire bt, call body per level instead
Daniel Kolesa
2021-05-10 01:48:09 +0200
-
a8d2bfc442
don't use print_stack in repl
Daniel Kolesa
2021-05-10 01:16:27 +0200
-
1739cbed6e
remove separate stack_state
Daniel Kolesa
2021-05-09 20:21:35 +0200
-
fdcc8a09e9
remove gap property from stack_state
Daniel Kolesa
2021-05-09 20:01:47 +0200
-
6e779f827f
cap default recursion limit at 1024
Daniel Kolesa
2021-05-08 21:41:13 +0200
-
201d6031b0
add missing file
Daniel Kolesa
2021-05-08 17:26:23 +0200
-
54a7b4b7f1
add assert in lib_base, remove formatting public error api
Daniel Kolesa
2021-05-08 17:20:56 +0200
-
dec7e844e7
use a regular union for any_value
Daniel Kolesa
2021-05-08 06:42:47 +0200
-
7f74602b7e
add convenience constructors and assignment ops to any_value
Daniel Kolesa
2021-05-07 01:56:43 +0200
-
1c56ea36ff
remove save_val
Daniel Kolesa
2021-05-07 01:13:02 +0200
-
9437e0951b
eliminate type separation between IVAR/FVAR/SVAR
Daniel Kolesa
2021-05-07 00:07:13 +0200
-
6218adb78a
remove public type specializations for vars
Daniel Kolesa
2021-05-06 23:13:48 +0200
-
6fede13b97
remove set_value() specialization per-vartype
Daniel Kolesa
2021-05-06 04:13:11 +0200
-
fa5e38afad
remove the call() specializations per-vartype
Daniel Kolesa
2021-05-06 04:07:45 +0200
-
6a892b4b2c
move set_raw_value to builtin_var
Daniel Kolesa
2021-05-06 04:01:29 +0200
-
74f437f851
s/global_var/builtin_var/
Daniel Kolesa
2021-05-06 03:47:38 +0200
-
139ead5d72
fold BC_INST_IVAR/FVAR/SVAR into one instruction
Daniel Kolesa
2021-05-06 03:42:58 +0200
-
a57072fb73
use any_value for var storage and return it from value()
Daniel Kolesa
2021-05-06 03:34:25 +0200
-
344bba07f3
remove is_ helpers for ident types (except is_var)
Daniel Kolesa
2021-05-05 03:24:41 +0200
-
bd1e7825d8
be consistent with usage of get_/set_ prefixes
Daniel Kolesa
2021-05-05 03:16:32 +0200
-
03325af1e6
pass old and new values to var_changed
Daniel Kolesa
2021-05-05 00:37:12 +0200
-
7febb8f5b1
remove internal_error
Daniel Kolesa
2021-05-03 00:39:00 +0200
-
5b54c74f2a
remove call() methods from state
Daniel Kolesa
2021-05-02 22:44:38 +0200
-
4dd1518f6c
s/run/call/
Daniel Kolesa
2021-04-30 02:55:20 +0200
-
9c14e6ca65
rename r type to v
Daniel Kolesa
2021-04-29 20:02:04 +0200
-
5d4bcaf797
use an ellipsis for variadics instead of V
Daniel Kolesa
2021-04-29 19:56:48 +0200
-
e14d5c4aa3
remove automatic concatenating variadics
Daniel Kolesa
2021-04-29 19:29:51 +0200
-
e52720ebb2
rename N in arglist to #
Daniel Kolesa
2021-04-29 04:15:16 +0200
-
da7548664c
remove b and F arg types + renames + set default args to none
Daniel Kolesa
2021-04-29 01:24:05 +0200
-
a9afa89af6
rework API for by-name lookups/assignments, simplify VM for that
Daniel Kolesa
2021-04-28 03:20:36 +0200
-
acdb9a4a0e
remove unused prototype
Daniel Kolesa
2021-04-26 02:44:31 +0200
-
92281e88c1
remove state::get_alias(), make get_ident() return an optional
Daniel Kolesa
2021-04-26 02:42:08 +0200
-
fadee6ab6f
alias_local belongs in ident.hh, not util.hh
Daniel Kolesa
2021-04-25 00:48:04 +0200
-
43e6dc9341
remove get_ utilities from ident
Daniel Kolesa
2021-04-25 00:44:36 +0200
-
f19fd57549
get rid of some more pointers in API
Daniel Kolesa
2021-04-24 23:50:06 +0200
-
3e8db1042a
fix ivar and fvar lookup code
Daniel Kolesa
2021-04-24 23:43:34 +0200
-
f4b8d077bb
alias_local and get_ident() memory safety (always return refs)
Daniel Kolesa
2021-04-24 23:33:19 +0200
-
960f463259
complete the public API documentation
Daniel Kolesa
2021-04-23 03:20:53 +0200
-
0a432d2f19
document values
Daniel Kolesa
2021-04-22 05:19:47 +0200
-
e7578f7e17
document error, ident
Daniel Kolesa
2021-04-20 02:52:27 +0200
-
a1b5575a9a
fix running tests in wine
Daniel Kolesa
2021-04-15 21:20:59 +0200
-
37ad7e7589
update compiler compat note + lowercase windows.h in linenoise
Daniel Kolesa
2021-04-15 20:59:30 +0200
-
9a6c3798b3
CI: use bash for CI scripts
Daniel Kolesa
2021-04-15 20:53:35 +0200
-
86f9cbdc07
try enabling mingw CI
Daniel Kolesa
2021-04-15 20:49:36 +0200
-
816d6e521d
support user conf file
Daniel Kolesa
2021-04-15 20:40:34 +0200
-
84f6d1f0d6
make std::span user replaceable
Daniel Kolesa
2021-04-15 20:26:49 +0200
-
8b1aaa63fe
add initial doxygen documentation infra
Daniel Kolesa
2021-04-15 02:42:06 +0200
-
c4e311d71a
fix msvc warning
Daniel Kolesa
2021-04-13 02:53:18 +0200
-
c42e58b868
add initial test infrastructure
Daniel Kolesa
2021-04-13 02:49:38 +0200
-
de4a0c65c7
update readme
Daniel Kolesa
2021-04-12 20:46:58 +0200
-
36bf0e368f
drop readline support in repl
Daniel Kolesa
2021-04-12 20:41:07 +0200
-
ad1c345401
reenable macos in CI
Daniel Kolesa
2021-04-12 20:02:05 +0200
-
a5003678da
fix build with libc++, and try using it in CI with clang
Daniel Kolesa
2021-04-12 19:53:24 +0200
-
5e9aefb52a
disable mac and mingw cross CI builds for now
Daniel Kolesa
2021-04-12 03:56:59 +0200
-
8bdb68b298
use gcc10 for linux, fix windows build script typo
Daniel Kolesa
2021-04-12 03:44:34 +0200
-
f31a4f00f9
add CI infra
Daniel Kolesa
2021-04-12 03:36:36 +0200
-
8114279816
fix warning with msvc
Daniel Kolesa
2021-04-12 00:17:07 +0200
-
8207ef0ce3
use overloads for new var methods
Daniel Kolesa
2021-04-11 20:49:26 +0200
-
b26bae3ec5
move standard library init outside state, make it never error
Daniel Kolesa
2021-04-11 19:36:20 +0200
-
a2c50744da
remove public state::destroy()
Daniel Kolesa
2021-04-11 18:56:08 +0200
-
e644674724
hide internal_state from all public headers
Daniel Kolesa
2021-04-11 18:46:45 +0200
-
3ed7b59d0b
only store trivial types in any_value (manage strrefs manually)
Daniel Kolesa
2021-04-11 03:54:06 +0200
-
d358dd83e7
halve the size of any_value by removing state pointer from it
Daniel Kolesa
2021-04-11 03:32:14 +0200
-
7229672f56
clean up command call parsing
Daniel Kolesa
2021-04-11 00:13:10 +0200
-
0ee0ebfb42
clean up the main parser path
Daniel Kolesa
2021-04-10 19:32:01 +0200
-
51f09c3dfb
clean up some more parser routines
Daniel Kolesa
2021-04-10 07:32:44 +0200
-
a6426c60ee
rewrite compilearg
Daniel Kolesa
2021-04-10 05:53:17 +0200
-
e5cf9452f2
rewirte compileblockmain
Daniel Kolesa
2021-04-10 05:32:07 +0200
-
eac137e3c8
rewrite compileblocksub
Daniel Kolesa
2021-04-10 04:51:11 +0200
-
c4d39caa61
rewrite compilelookup
Daniel Kolesa
2021-04-10 04:40:58 +0200
-
416c6ba8fb
do not access parser state from error
Daniel Kolesa
2021-04-10 03:50:05 +0200
-
83aa8bfd07
hide bcode pointers from public api
Daniel Kolesa
2021-04-10 03:37:59 +0200
-
6d6a115d0c
remove leftover junk
Daniel Kolesa
2021-04-10 03:01:13 +0200
-
d2b53b174e
move all codegen stuff, make instruction vector private
Daniel Kolesa
2021-04-10 02:56:49 +0200
-
05661662d2
more codegen conversions
Daniel Kolesa
2021-04-10 02:15:06 +0200
-
63023f8c5e
remove parser_state::gen_main
Daniel Kolesa
2021-04-10 00:54:28 +0200
-
1bc94bf5af
move some more codegen into proper place
Daniel Kolesa
2021-04-10 00:40:57 +0200
-
295c905c32
more codegen utils
Daniel Kolesa
2021-04-09 03:34:48 +0200
-
3790435c34
add more codegen utils
Daniel Kolesa
2021-04-09 03:22:34 +0200
-
51da22be06
add ivar/fvar/svar lookup funcs in codegen
Daniel Kolesa
2021-04-09 03:14:12 +0200
-
bac186a0c7
move compileblockstr/compileunescapestr logic into gen
Daniel Kolesa
2021-04-09 02:54:36 +0200