-
00b8312ad5
move most thread state into an internal structure
Daniel Kolesa
2021-03-24 20:33:20 +0100
-
4ded59ce70
launder aligned_storage pointers
Daniel Kolesa
2021-03-24 02:42:33 +0100
-
d774db675a
separate cs_gen.hh, various refactors
Daniel Kolesa
2021-03-24 02:21:27 +0100
-
21aec59ad3
rename namespace to cubescript
Daniel Kolesa
2021-03-23 23:32:25 +0100
-
b9b344cba6
remove cs_ namespace in all API
Daniel Kolesa
2021-03-23 23:29:32 +0100
-
b3b4624af1
drop cubescript.cc, move parsing stuff from cs_std to cs_parser
Daniel Kolesa
2021-03-23 22:17:25 +0100
-
7139370990
move belonging stuff into cs_ident
Daniel Kolesa
2021-03-23 21:57:38 +0100
-
d06396f88f
move more stuff into cs_state.cc
Daniel Kolesa
2021-03-23 21:55:19 +0100
-
95e0da1fff
move some more stuff, don't use both_libraries() in meson
Daniel Kolesa
2021-03-23 02:48:14 +0100
-
b5b0d0adf5
move some public state api into cs_state, separate lib_base
Daniel Kolesa
2021-03-23 02:43:00 +0100
-
87e141ab36
move public ident interfaces to cs_ident.cc
Daniel Kolesa
2021-03-23 02:35:31 +0100
-
3d9f73c7b2
drop removed arg types in repl
Daniel Kolesa
2021-03-23 02:23:24 +0100
-
4b766a380f
drop the util namespace
Daniel Kolesa
2021-03-23 02:02:43 +0100
-
4b6c284ea1
separate cs_parser.cc, drop cs_util.cc
Daniel Kolesa
2021-03-23 02:00:11 +0100
-
68b66c0b28
move strref implementation to strman
Daniel Kolesa
2021-03-23 01:49:29 +0100
-
2cc1b0e271
add cs_std.cc, drop cs_util.hh
Daniel Kolesa
2021-03-23 01:45:35 +0100
-
f52aeead32
eliminate the strref friend kludge
Daniel Kolesa
2021-03-23 01:35:04 +0100
-
6821260c37
separate header/impl for strman
Daniel Kolesa
2021-03-23 01:25:47 +0100
-
4588ae2373
separate cs_state, cs_std
Daniel Kolesa
2021-03-23 01:11:21 +0100
-
702dca0809
separate ident and error impls into their own files
Daniel Kolesa
2021-03-22 22:33:01 +0100
-
f9a49ffba7
get rid of emptyblock
Daniel Kolesa
2021-03-22 22:01:49 +0100
-
83e92e6881
ditch a bunch of reinterpret_casts
Daniel Kolesa
2021-03-22 21:37:13 +0100
-
3d2f115de5
separate bytecode bits into its own file
Daniel Kolesa
2021-03-22 21:26:05 +0100
-
63251f0eac
add cs_callable to replace std::function
Daniel Kolesa
2021-03-22 00:58:35 +0100
-
f72a39f656
manage bytecode memory using the state allocator
Daniel Kolesa
2021-03-21 19:23:23 +0100
-
666f487a92
don't need full bcode_ref/unref in this case
Daniel Kolesa
2021-03-21 18:53:22 +0100
-
3f866baccb
strict reference counting for bytecode references
Daniel Kolesa
2021-03-21 18:45:59 +0100
-
45bf6ed7ef
fix crash on quit where interfaces are destroyed instead of impls
Daniel Kolesa
2021-03-21 06:20:56 +0100
-
a591384afd
use our allocator for more buffers
Daniel Kolesa
2021-03-21 06:13:45 +0100
-
a5b0ce5d72
drop cs_cmd_internal
Daniel Kolesa
2021-03-21 03:07:01 +0100
-
436098cc38
drop the whole cs_alias_internal nonsense
Daniel Kolesa
2021-03-21 02:59:37 +0100
-
f8eb07ee2b
hide implementation details of idents
Daniel Kolesa
2021-03-21 02:41:04 +0100
-
3905ff0e9d
fix/clean up compileblockstr
Daniel Kolesa
2021-03-20 23:59:38 +0100
-
be71d3a4b9
rework allocator errors and error message storage buffer
Daniel Kolesa
2021-03-20 21:06:26 +0100
-
d7c93fa8b9
make format errors internal errors
Daniel Kolesa
2021-03-20 19:54:46 +0100
-
2f3d5ea938
further clean up list parser api
Daniel Kolesa
2021-03-20 19:34:26 +0100
-
82d366366e
drop libostd requirement entirely
Daniel Kolesa
2021-03-20 08:22:15 +0100
-
cb926a5750
get rid of ostd requirements inside library entirely
Daniel Kolesa
2021-03-20 07:24:25 +0100
-
68669413cc
get rid of most remaining ostd usage
Daniel Kolesa
2021-03-20 06:52:10 +0100
-
10b2a81cec
redo (un)escape_string around output iterators
Daniel Kolesa
2021-03-20 06:18:31 +0100
-
320fdbaefd
use c++20 std::span
Daniel Kolesa
2021-03-20 05:41:25 +0100
-
4068c96ec2
remove the auxiliary run_<type> APIs, they are fairly useless now
Daniel Kolesa
2021-03-20 05:14:14 +0100
-
d626fba537
remove file exec api
Daniel Kolesa
2021-03-20 05:09:49 +0100
-
55d5397f4f
implement move behavior for cs_value
Daniel Kolesa
2021-03-20 04:49:47 +0100
-
5648c1a757
use string_view everywhere that returns or takes a string
Daniel Kolesa
2021-03-20 02:26:37 +0100
-
70d7e15ed5
eliminate cs_vector/cs_map, use our allocator for all state
Daniel Kolesa
2021-03-19 23:05:19 +0100
-
ac1af69d96
move cs_valbuf/charbuf before cs_shared_state
Daniel Kolesa
2021-03-19 22:54:22 +0100
-
f41462deaf
move cs_allocator out of cs_shared_state
Daniel Kolesa
2021-03-19 22:53:42 +0100
-
b81e419db6
get rid of cs_vector in most places
Daniel Kolesa
2021-03-19 22:49:29 +0100
-
0ca8561d5d
add cs_valbuf
Daniel Kolesa
2021-03-19 22:40:11 +0100
-
2e725771e4
eliminate remaining cs_string
Daniel Kolesa
2021-03-19 22:35:39 +0100
-
fece7ce769
get rid of most remaining cs_string
Daniel Kolesa
2021-03-19 22:32:28 +0100
-
4e5e0f5de8
get rid of cs_string in codegen
Daniel Kolesa
2021-03-19 22:25:38 +0100
-
b27f8dee91
use state's allocator to manage cs_strman resources
Daniel Kolesa
2021-03-19 03:10:02 +0100
-
47b87ab936
get rid of cs_string in lib_list
Daniel Kolesa
2021-03-19 02:55:59 +0100
-
e74d8b5bef
get rid of cs_string in lib_str
Daniel Kolesa
2021-03-19 02:50:48 +0100
-
5ee7e27839
add cs_charbuf (mutable buffer controlled by our allocator)
Daniel Kolesa
2021-03-19 02:44:29 +0100
-
5a4cccf194
move strref impl to cs_util
Daniel Kolesa
2021-03-19 02:28:30 +0100
-
08212df80f
move shared state into cs_util
Daniel Kolesa
2021-03-19 02:27:36 +0100
-
126d6ab2b6
use a stolen buffer for strupper/lower
Daniel Kolesa
2021-03-19 01:31:34 +0100
-
b42da1e56f
add custom buffer allocation into string manager
Daniel Kolesa
2021-03-19 01:00:11 +0100
-
af1a85fb91
get rid of public format_int/float (use cs_value)
Daniel Kolesa
2021-03-19 00:34:12 +0100
-
26bcc43578
get rid of tvals_concat in favor of simpler api
Daniel Kolesa
2021-03-19 00:30:54 +0100
-
64d9c0e749
make intstr/floatstr internal to cs_value
Daniel Kolesa
2021-03-19 00:12:47 +0100
-
b534a6d9af
get rid of some unnecessary string allocs
Daniel Kolesa
2021-03-19 00:01:57 +0100
-
d3ec4a47dd
ditch cs_string from public headers + style fix
Daniel Kolesa
2021-03-18 23:56:16 +0100
-
9d0494a9da
replace list_parser with a simpler api
Daniel Kolesa
2021-03-18 23:53:16 +0100
-
704f9217f7
unify enum style
Daniel Kolesa
2021-03-18 20:55:14 +0100
-
7023e09049
don't use memcpy for non-trivial structures
Daniel Kolesa
2021-03-18 01:37:38 +0100
-
6ed9ae1235
get rid of standard i/o inside vm
Daniel Kolesa
2021-03-18 00:03:30 +0100
-
fb8668a508
use more stringrefs
Daniel Kolesa
2021-03-17 23:32:38 +0100
-
7eaf3679a4
get rid of cs_value::get_strr
Daniel Kolesa
2021-03-17 21:57:47 +0100
-
2f5bb697eb
use string refs more instead of allocated strings
Daniel Kolesa
2021-03-17 21:46:37 +0100
-
8b7f36319d
eliminate length field in cs_value
Daniel Kolesa
2021-03-17 21:16:25 +0100
-
e3cff816c7
reduce copying strings around (ensure refs are not erased)
Daniel Kolesa
2021-03-17 21:00:19 +0100
-
64130a12bf
remove handling of constants from codegen, bytecode and cs_value
Daniel Kolesa
2021-03-17 20:40:32 +0100
-
8def7ce85c
intern all strings in cs_value
Daniel Kolesa
2021-03-17 02:47:34 +0100
-
c004db42c6
refactor cs_value and related structures to contain state
Daniel Kolesa
2021-03-17 01:26:16 +0100
-
8c77724f88
return alias value by value
Daniel Kolesa
2021-03-17 00:32:25 +0100
-
9a1b47196a
require meson 0.50
Daniel Kolesa
2021-03-16 00:56:19 +0100
-
5b104da85b
more generic handling of warning args and default to debugoptimized
Daniel Kolesa
2021-03-16 00:52:23 +0100
-
45b1535685
configure build for c++20
Daniel Kolesa
2021-03-16 00:50:16 +0100
-
dcae5b30b2
initial implementation of unique/interned string manager
Daniel Kolesa
2021-03-16 00:44:25 +0100
-
6018f6b6c2
Merge pull request #1 from Croydon/readme
T7g
2020-09-28 04:48:19 -0400
-
-
321b90937d
Update .gitignore and add .gitattributes
Croydon
2020-09-28 07:20:23 +0200
-
4e7b7159a0
Update readme
Croydon
2020-09-27 09:00:12 +0200
-
-
3224a33645
fix warnings
Daniel Kolesa
2020-09-11 23:41:09 +0200
-
d5158bdd47
switch license back to zlib
Daniel Kolesa
2020-04-27 14:11:53 +0200
-
8c873d9788
meson: update pkg-config descr
Daniel Kolesa
2018-10-28 02:09:23 +0100
-
e58c69bc99
mesonize libcubescript
Daniel Kolesa
2018-10-28 02:55:12 +0200
-
a36144ead6
clarify readme
Daniel Kolesa
2018-04-28 22:25:03 +0200
-
8805594bc2
style fixes
Daniel Kolesa
2018-04-27 23:53:55 +0200
-
fb78b4acdd
initial support for "threads"
Daniel Kolesa
2018-04-26 19:23:11 +0200
-
bd008ffb46
introduce list_range
Daniel Kolesa
2018-04-26 00:20:23 +0200
-
07666c7564
naming consistency
Daniel Kolesa
2018-04-25 01:49:58 +0200
-
d12e7f67ee
gcc warning fixes
Daniel Kolesa
2017-11-06 01:07:53 +0100
-
efdc82324e
fix includes
Daniel Kolesa
2017-06-20 21:21:39 +0200
-
ccb35eb1c4
fixes
Daniel Kolesa
2017-06-19 20:13:54 +0200
-
d01349886a
remove slice_until
Daniel Kolesa
2017-06-15 20:44:09 +0200
-
3744dec1f0
readme fix
Daniel Kolesa
2017-06-06 19:20:57 +0200