FalsePattern
cf211cd599
update casting builtins
2023-06-21 17:08:10 +02:00
Lee Cannon
f8e8371f04
Fixed compatibility with latest builds of Zig ( #1246 )
...
* zig_change: `alignForward` requires type parameter
* zig_change: `std.builtin.Version` -> `std.SemanticVersion`
2023-06-18 17:29:24 -04:00
FalsePattern
4b35e80f96
Replace deprecated calls
...
std.math.min,
std.math.max,
std.math.inf_f32
Were removed from the standard library and no longer compile.
2023-06-17 16:32:09 +02:00
Techatrix
c446087231
set Enum completion kind to .EnumMember
2023-06-09 23:35:27 +02:00
Eric Joldasov
905f531a08
update to Zig 0.11.0-dev.3312+ab37ab33c
...
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-05-27 16:21:30 -07:00
Techatrix
029f5094ff
various intern pool & comptime interpreter changes ( #1179 )
...
* intern_pool: add getUnsignedInt
* add an empty struct literal
* resolve array length as usize in comptime interpreter
* use only one global intern pool
* store analysis errors in `DocumentStore.Handle`
* add typed undefined value
* add typed null value
2023-05-09 00:25:26 -04:00
travisstaloch
1ef3944cb0
chore: use new @memset api ( #1156 )
2023-04-27 18:27:59 -04:00
Techatrix
31aec11b38
InternPool: add c_char type
2023-04-17 22:14:41 +02:00
Techatrix
12014cd93d
fix typos
2023-03-15 17:34:23 +01:00
Techatrix
ff467f9878
InternPool: add more helper functions and debug formatting ( #1043 )
2023-03-11 12:37:06 -05:00
Techatrix
30869d7d87
InternPool: replace untyped values with typed values ( #1023 )
...
* InternPool: replace untyped values with typed values
* InternPool: remove `indexToTag`
* InternPool: rework representation of optional values
* add representation for unknown values and types
* ComptimeInterpreter: use InternPool typed-values
* ComptimeInterpreter: field access test
* ComptimeInterpreter: improve handling of if expressions
* InternPool: fix typeOf on a comptime float
* ComptimeInterpreter: implement TypeOf with multiple parameters
2023-02-27 17:53:46 -05:00
Techatrix
0f77fd5b0e
add multi object for loop support ( #1011 )
...
* run `zig fmt`
* add support for multi object for loops
* add completion tests on multi object for loops
* update minimum zig build version
* use multi object for loops in codebase
* Update tres to latest version
* fix panics when generating document scope on invalid for loops
2023-02-21 17:11:35 -05:00
Techatrix
99b5fd4f69
small refactor
2023-02-11 20:45:51 +01:00
Techatrix
654913ae47
implement coerceInMemoryAllowedErrorSets
2023-02-11 20:37:26 +01:00
Techatrix
6d387bca11
improve comptime interpreter dot completions
2023-02-11 00:34:30 +01:00
Techatrix
5cb0c98db1
fix function call resolution
2023-02-11 00:04:08 +01:00
Techatrix
3fda3b5414
remove some InternPool test boilerplate
2023-02-10 22:57:46 +01:00
Techatrix
09c35b8eaa
update onePossibleValue for arrays
2023-02-10 22:44:26 +01:00
Techatrix
83f33f1c16
implement intInfo for enums
2023-02-10 19:39:21 +01:00
Techatrix
d98060b3d6
more closely match Zir.Inst.Ref to InternPool.Index
2023-02-10 19:10:58 +01:00
Techarix
57fc10eec0
add predefined values to Index
2023-02-08 21:01:15 +01:00
Techarix
5258a60f0e
resolve bit size based target
2023-02-03 23:25:42 +01:00
Techatrix
3c7e9e13ce
better error messages on field access
2023-01-28 19:01:49 +01:00
Techatrix
32b70117ef
use SegmentedList
2023-01-28 18:53:42 +01:00
Techatrix
55364f2e2b
do not intern Structs, Enums and Unions
2023-01-28 18:02:29 +01:00
Techatrix
b09c317ae7
bug hunting
2023-01-24 22:07:19 +01:00
Techatrix
05ad3294f1
use ArrayList for dotCompletions
2023-01-24 17:00:14 +01:00
Techatrix
3577e719fb
equality compare floats with bitcast in InternPool
2023-01-24 16:59:01 +01:00
Techatrix
95139e09ec
move InternPool and encoding into analyser folder
2023-01-23 22:26:56 +01:00
Techatrix
829f4aa9c4
use analyser/completions.zig
for completing comptime interpreter
2023-01-23 22:23:01 +01:00
Techatrix
d10837dca0
expand dot completions
2023-01-23 21:28:15 +01:00
Techatrix
6d12c640ee
add initial completions on InternPool
2023-01-20 22:24:39 +01:00