Christoffer Lerno
52d7e58c19
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
2023-01-29 01:32:35 +01:00
Christoffer Lerno
5ea15eb708
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
2023-01-29 01:32:35 +01:00
Christoffer Lerno
9a08c9d821
Fixes to wasm and function attributes.
2023-01-28 00:37:46 +01:00
Christoffer Lerno
a95710c93f
Add no-entry to project/command line. Add "link-args" to project. Add @wasm and @extern attributes. Added $$wasm_memory_size and $$wasm_memory_grow builtins.
2023-01-26 12:02:09 +01:00
Christoffer Lerno
b508a43f8f
Add lambdas.
2023-01-24 10:15:23 +01:00
Christoffer Lerno
ef7365224f
Added $include.
2022-12-29 16:12:03 +01:00
Christoffer Lerno
f622b3bd4c
Cleanup of naming change to optional. Fix of builtin optional handling.
2022-12-27 23:55:23 +01:00
Christoffer Lerno
abf0f64ac0
Share method extensions across modules by default. Fix bug in string split.
2022-12-14 13:18:01 +01:00
Christoffer Lerno
dcf0b4c580
Fix an issue with pointer debug info creation. Improve generated parameterized name. Version bump.
2022-12-13 19:20:14 +01:00
Christoffer Lerno
13cb637cb4
Fix missing early resolution on demand of parameterized types.
2022-12-08 19:48:36 +01:00
Christoffer Lerno
eaaa5362a5
Output messages at compile time.
2022-12-07 18:48:55 +01:00
Christoffer Lerno
1ea5625183
CT variables now follow CT scopes. It's now allowed to mutate CT variables in deeper runtime scopes.
2022-12-07 16:32:45 +01:00
Christoffer Lerno
e9181a75e6
Improve errors when a variable fails to properly analyse.
2022-12-06 20:29:07 +01:00
Christoffer Lerno
7647378e7c
Fix missing check when macro method incorrectly has a raw vararg argument.
2022-12-03 23:07:37 +01:00
Christoffer Lerno
49eacb8824
More support for test. Panic function update.
2022-11-14 11:48:12 +01:00
Christoffer Lerno
73619817ba
Update panic function and early work on tests. Optimize ABI lowering.
2022-11-03 19:38:34 +01:00
Christoffer Lerno
2d377ada45
Fix in parameter check.
2022-10-23 23:41:03 +02:00
Christoffer Lerno
02374c6aab
Generic modules also accepts integers and booleans.
2022-10-23 19:16:38 +02:00
Christoffer Lerno
160659c4e3
Optimize sret / byval. Fixes to types and failables.
2022-10-15 02:45:19 +02:00
Christoffer Lerno
5d9a7ab0a6
Extend "var" to allow type inference on variables.
2022-10-13 09:37:52 +02:00
Christoffer Lerno
9424bba49f
Version bump. More generous wildcard length matching and conversions.
2022-10-12 11:46:58 +02:00
Christoffer Lerno
fa064276bc
Disallow $offsetof / $alignof on types. Version bump.
2022-10-08 12:41:40 +02:00
Christoffer Lerno
bb20a38cdb
Updated membersof. "Type.kind" renamed "Type.kindof"
2022-10-07 14:41:10 +02:00
Christoffer Lerno
db06f99445
"[]=" now works as overload. Improved eval resolution. Added $$FUNCPTR
2022-10-05 22:58:28 +02:00
Christoffer Lerno
258a6ba97a
Bug fixes, addition of hash map implementation. ( #605 )
...
* Simple hash map. Fix of bug preventing cast of typeid. Allow declarations in global "$checks". Fix to non-constant default args. Correctly duplicate macro contracts. Allow typeid to add methods. Fix printing of subarrays. Fix bug when printing a function with a module. Fix bug with initializer and creating local variables. Add the compile-only option to the help.
2022-09-29 20:19:31 +02:00
Christoffer Lerno
e1b5b0b60c
Implement static finalize / initialize. Version bump.
2022-09-28 17:18:20 +02:00
Christoffer Lerno
a4d4c27ca6
General reorganization, set any empty expression statement to nop. Version bump.
2022-09-24 21:22:29 +02:00
Christoffer Lerno
81bea9bad6
Updated untyped lists.
2022-09-24 14:35:58 +02:00
Christoffer Lerno
52f3948026
Cleanup of untyped lists.
2022-09-23 10:47:56 +02:00
Christoffer Lerno
cc71b96c38
Rearranging code somewhat.
2022-09-22 00:05:22 +02:00
Christoffer Lerno
be5c82cfa6
Add "$checks". Fix where $y++ could appear inside a runtime scope.
2022-09-20 18:32:36 +02:00
Christoffer Lerno
6220bda4a3
Use @operator([]), @operator(&[]) and @operator([]=) instead of names.
2022-09-17 23:33:27 +02:00
Christoffer Lerno
81a2474f75
Add methods to basic types. Remove "intvec" and "floatvec" overloads. Update bits and math to use the new functionality. Introduces [<*>] and [<>] types. Bump version to 0.3.47
2022-09-17 22:00:28 +02:00
Christoffer Lerno
ba9b203c52
Cleanup.
2022-09-15 09:50:46 +02:00
Christoffer Lerno
3a09f71830
Added initial intvec/floatvec operator
2022-09-11 22:52:01 +02:00
Christoffer Lerno
b16e0b377e
In/out checks.
2022-09-09 23:37:03 +02:00
Christoffer Lerno
c9ae0779e7
Locals lookup is no longer hacked to be used for member search. Fixed bug where you could break out of an expression block using a labelled break. Bump to 0.3.29
2022-08-28 01:00:11 +02:00
Christoffer Lerno
6b1370ba76
Support varargs for macros. Bugfix member access. Support macro varargs.
2022-08-27 02:25:08 +02:00
Christoffer Lerno
52bcf4654a
Reduce max params to 127. Hint when using more. Allow function pointers to have default and named parameters. Bump version to 0.3.27
2022-08-25 17:55:25 +02:00
Christoffer Lerno
57e1084734
Improvements to parameter parsing. Update "splat" name. Allow more orderings of named parameters. Allow named args after variant.
2022-08-24 20:06:08 +02:00
Christoffer Lerno
821b6a7ffa
Updated pointer offset handling. Version bump. This fixes variant[2] { &&1, &&2 } init.
2022-08-20 11:43:00 +02:00
Christoffer Lerno
d95e0b4733
General refactoring and fix of compile time folding of pointers.
2022-08-17 21:54:47 +02:00
Christoffer Lerno
377f3eeb2e
Allow const access into arrays and structs.
2022-08-17 17:04:27 +02:00
Christoffer Lerno
08c9400e02
Fix bug with private methods in generic modules.
2022-08-17 11:45:58 +02:00
Christoffer Lerno
1a98fa0efe
Update linker args for Linux. Fix problem with int return mains. Bump to 0.3.16
2022-08-13 21:49:47 +02:00
Christoffer Lerno
fc943a98ef
Foreach_r, bump to 0.3.15
2022-08-13 03:04:09 +02:00
Christoffer Lerno
f513b6237f
Improved error messages for foo(void), foo(int!) declarations.
2022-08-11 12:59:55 +02:00
Christoffer Lerno
d4c1a08fcd
Rename "PREV" to "NOTE". Bump of version.
2022-08-11 11:17:48 +02:00
Christoffer Lerno
90dfc24491
General cleanup and rearranging code.
2022-08-11 02:20:22 +02:00
Christoffer Lerno
3eee9ddc06
Change exe name to follow the module of the main. Detect missing / multiple main functions.
2022-08-10 01:14:07 +02:00