Christoffer Lerno
1d808be4b9
Fix stdout defaults.
2022-07-26 15:07:37 +02:00
Christoffer Lerno
7065c28a08
Some fixes to string. Added fprintf and String.printf. Updated boolerr example.
2022-07-26 13:44:08 +02:00
Christoffer Lerno
4471ccff13
String works with printf. Example cleanup.
2022-07-26 01:15:36 +02:00
Christoffer Lerno
cdff5c3e26
Dev ( #500 )
...
Single code path for kind/inner/len/sizeof on type and typeid. Fix of #493 . Bump to 0.2.24. Remove ´func´ deprecated keyword. Unify builtin access. Enum and fault name reflection.
2022-07-26 00:56:59 +02:00
Christoffer Lerno
812bd8b3d0
Added $converable / $castable. Simplify and corrected if try/catch parsing. Fix bug with { [A] = 1 }
2022-07-24 15:10:04 +02:00
Christoffer Lerno
7e0a29ef40
Fix constant typeid comparisons. Allow methods to use & and * and constants. Improved error messages. Updated String type with generic append.
2022-07-24 15:10:04 +02:00
Christoffer Lerno
c1de3f059e
Updated error messages.
2022-07-23 21:08:17 +02:00
Christoffer Lerno
b313bec69d
Fix to "typeid.kind". Conversion unsigned int -> enum fixed. @autoimport -> @builtin. Comparison macros. Bump to 0.2.21
2022-07-22 17:09:49 +02:00
Christoffer Lerno
56a6e0b112
Fix bug preventing implicit & on optionals. Updated priority queue to return optionals. Changed the list API to have snake case on methods. Bump to 0.2.20
2022-07-21 22:21:50 +02:00
Christoffer Lerno
1d572f3e7c
Allow distinct printthrough in printf. Added tests.
2022-07-21 18:13:11 +02:00
David Kopec
6576725ed8
Add Binary-Heap Based Priority Queue to Standard Library ( #481 )
...
Priorityqueue
2022-07-20 12:22:43 +02:00
Christoffer Lerno
4afec24434
More advanced introspection.
2022-07-20 12:22:03 +02:00
Christoffer Lerno
29edd6e54e
Fix to extension methods in other modules. Version 0.2.17
2022-07-19 14:17:00 +02:00
Christoffer Lerno
6cf3c9f46b
Fix in nested block handling. @maydiscard and @nodiscard annotations. If the common type of int[x] and int[y] is int[]
2022-07-17 19:48:24 +02:00
Christoffer Lerno
4beb7eff8f
Add support for : slices. Version bumped to 0.2.16
2022-07-17 19:48:24 +02:00
Christoffer Lerno
48a31cfa48
Fix of error where {| |} with value return could have no final return.
2022-07-17 19:48:24 +02:00
Christoffer Lerno
cd1138447e
Update math.matrix.c3
...
Change module to std::math.
2022-07-16 15:33:09 +02:00
PixelRifts
c29ad77cdb
Matrix Math Library
2022-07-16 15:33:09 +02:00
Christoffer Lerno
a68efec5e8
Added swap and list swap to stdlib.
2022-07-14 14:58:11 +02:00
Christoffer Lerno
3f6b0646b3
An initial printf. Added type.inner and type.len. Bump to 0.2.15
2022-07-14 02:43:53 +02:00
Christoffer Lerno
ca21b1daac
Allow [in] to be used on subarray types. Added more to "conv" module.
2022-07-09 19:32:39 +02:00
Christoffer Lerno
d403912ec7
Add linker and linked dir arguments to build files.
2022-07-08 14:52:58 +02:00
Christoffer Lerno
c8a614e43f
LLVM 15 compatibility fixes ( #465 )
...
More variant code. Fixes to typekind. Fixes to macro with failable returns. Remove use of LLVMConstInsert etc. Version 0.2.8
2022-07-06 16:41:52 +02:00
Christoffer Lerno
bb28f6e61c
Fix stack setting after error return. Some fixes to examples.
2022-07-02 10:54:40 +02:00
Christoffer Lerno
b1d83e2ccd
Auto-import std::core. Fix module assignment of declarations. Introspection improvements. Deref null error panics in safe mode. Support for LLVM 15
2022-06-29 21:57:35 +02:00
Christoffer Lerno
09d50ebf6c
New import rules.
2022-06-04 01:41:23 +02:00
Christoffer Lerno
42b5445225
Fixes enum set with new ordinal based enums.
2022-05-09 12:25:33 +02:00
Christoffer Lerno
9691d50a6f
@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.
2022-05-08 22:16:33 +02:00
Christoffer Lerno
29a9769651
Ordinal based enums.
2022-05-08 21:39:00 +02:00
Christoffer Lerno
b99db4be24
Allocators. Rename of "optenum" to fault. Memcpy and memset added. Cleanup of declaration use.
2022-04-09 20:07:59 +02:00
Christoffer Lerno
8743223dd6
Allocators. Rename of "optenum" to fault. Memcpy and memset added. Cleanup of declaration use.
2022-04-09 20:07:59 +02:00
Christoffer Lerno
131bf5ed34
Cleanup and change of varcast.
2022-03-27 13:22:04 +02:00
Christoffer Lerno
78134316b7
Addin @varcast
2022-03-27 13:09:06 +02:00
Christoffer Lerno
8b8a8d81db
Fix of issue with "a ?? false"
2022-03-21 13:22:59 +01:00
Christoffer Lerno
6789fab93c
Panic function that may be redefined. Trap and stacktrace builtins. Bug using builtin fixed. Fixes to using $$LINE and friends. Produces a stacktrace on error.
2022-03-18 12:43:17 +01:00
Christoffer Lerno
2802b2b96d
Ensure, $eval and $evaltype, @unreachable() replaces $unreachable. <Type>.sizeof
2022-03-04 15:49:17 +01:00
Christoffer Lerno
4f4bc80953
Symtab has a new hash map type. New, small, sourcespan, external symbols simplified. Updated docs.
2022-03-01 10:32:52 +01:00
Christoffer Lerno
d42193dbd6
Fixes the alloca alignment on x64 for alignment > 16. Improved indexing into ConstInitializer adding const indexing into a const array during compile time. Add a temporary enum values result.
2022-02-08 11:41:34 +01:00
Christoffer Lerno
4e559e886c
Add some simple string functions. And fix bug relating to typedefs.
2021-12-19 21:04:43 +01:00