BWindey
|
12eea4a98d
|
[STDLIB] Add macro return types (#2487)
* add return types to macros where applicable
* std::time::clock::now() -> clock::now()
|
2025-09-18 14:06:58 +02:00 |
|
Christoffer Lerno
|
0a9bb2e8e0
|
Fix to simple a += b overload fallback. Renaming and reordering in the stdlib.
|
2025-04-15 12:01:58 +02:00 |
|
Christoffer Lerno
|
25bccf4883
|
New faults and syntax (#2034)
- Remove `[?]` syntax.
- Change `int!` to `int?` syntax.
- New `fault` declarations.
- Enum associated values can reference the calling enum.
|
2025-03-10 00:11:35 +01:00 |
|
Christoffer Lerno
|
2439405e70
|
- $foreach "()" replaced by trailing ":" $foreach ($x, $y : $foo) -> $foreach $x, $y : $foo:
- `$for` "()" replaced by trailing ":" `$for (var $x = 0; $x < FOO; $x++)` -> `$for var $x = 0; $x < FOO; $x++:`
- `$switch` "()" replaced by trailing ":" `$switch ($Type)` -> `$switch $Type:`
- Empty `$switch` requires trailing ":" `$switch` -> `$switch:`
|
2025-03-04 16:13:47 +01:00 |
|
Christoffer Lerno
|
a665978b64
|
Fixing some whitespace issues.
|
2024-10-08 19:38:31 +02:00 |
|
Christoffer Lerno
|
748c737e8f
|
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for @ in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows .def files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs. output project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary #1118. Fix of $$MODULE in nested macros #1117. Fix debug info on globals. out now correctly detects subscript[] use #1116. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for --lib. Fix raylib snake example. Overzealous local escape check corrected #1127. Improved yacc grammar #1128. --linker argument #1067. Fixes to the matrix operations #1130. Added GenericList.
|
2024-02-15 21:39:33 +01:00 |
|
Christoffer Lerno
|
d1bb9c55ee
|
Add blocking connection with timeout, and initial poll functionality.
|
2023-09-03 19:03:00 +02:00 |
|
Christoffer Lerno
|
9a6d83f526
|
Updated stream API.
|
2023-09-03 01:14:15 +02:00 |
|
Christoffer Lerno
|
a6cff5c2a5
|
Removal of old Network, added nonblocking set and async connect.
|
2023-09-02 17:39:51 +02:00 |
|