Christoffer Lerno
|
ea163636d3
|
Add defaults to compare_exchange, small fix in printf. Disallow obviously wrong code that returns the pointer to a variable on the stack.
|
2023-02-18 12:21:15 +01:00 |
|
Christoffer Lerno
|
baa2e474b5
|
Added $$atomic_store and $$atomic_load.
|
2023-02-17 13:22:12 +01:00 |
|
Christoffer Lerno
|
818396b6f3
|
Updated module visibility import visibility. Fixes to @local
|
2023-02-15 09:47:51 +01:00 |
|
Dmitry Atamanov
|
4519eebe4d
|
Added @likely, @unlikely and @expect macros. (#727)
|
2023-02-15 00:02:01 +01:00 |
|
Christoffer Lerno
|
df77b692d6
|
Support "typedef"
|
2023-02-14 16:49:27 +01:00 |
|
Christoffer Lerno
|
5e457be605
|
Implement more @export / @private improvements. Make @private default… (#729)
|
2023-02-13 08:31:40 +01:00 |
|
Christoffer Lerno
|
3b49b87784
|
Fix for nolibc (eg wasm). Add multi global declarations. Simplicity wasm export / import. Prevent "extern" functions to have a function body.
|
2023-02-11 11:16:31 +01:00 |
|
Christoffer Lerno
|
1548cd06ef
|
Enable local multi-declarations. Fix of builtin argument checking. Migrate to @noinit.
|
2023-02-11 02:03:02 +01:00 |
|
Christoffer Lerno
|
18de9a146b
|
Fix copysign and make floatparse more strict.
|
2023-02-11 00:41:44 +01:00 |
|
Christoffer Lerno
|
74d868d113
|
Fix of bug in !floatval codegen. Added float parsing.
|
2023-02-10 22:17:55 +01:00 |
|
Christoffer Lerno
|
b3f15a867c
|
Added "clear" to VarString
|
2023-02-10 08:40:08 +01:00 |
|
Christoffer Lerno
|
a6b9405e21
|
Fix @expect.
|
2023-02-07 15:45:46 +01:00 |
|
Christoffer Lerno
|
4a102698b2
|
Add tests to math and add info in readme how to contribute.
|
2023-02-05 14:30:06 +01:00 |
|
Christoffer Lerno
|
dce171670f
|
Use printn rather than println. Add string methods for copying.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
6b928c7a3d
|
Add saturated math and expect macros.
|
2023-02-03 00:25:29 +01:00 |
|
Christoffer Lerno
|
6407eb47a4
|
Remove of @extname in stdlib.
|
2023-02-02 21:53:37 +01:00 |
|
Christoffer Lerno
|
1d8e341572
|
Wasm allocator is now __heap_base aware. Make builds overridable from the project.
|
2023-02-01 16:42:45 +01:00 |
|
Christoffer Lerno
|
6a3219ad43
|
Make thread allocator take the thread allocator by default for allocating initial memory. Add some int128 methods. Fix attribute parsing.
|
2023-02-01 14:06:14 +01:00 |
|
Christoffer Lerno
|
2fb85e5e95
|
Fix of variant type.
|
2023-01-29 13:58:57 +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
|
445239b418
|
Add simple heap allocator and update lambda and #lazy checking.
|
2023-01-27 14:40:54 +01:00 |
|
Christoffer Lerno
|
6eb65d5b37
|
Add memory-env option.
|
2023-01-26 21:16:47 +01:00 |
|
Christoffer Lerno
|
5c7d859fdb
|
Some updates to builtin checking.
|
2023-01-26 16:24:18 +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
|
39801a304d
|
Improved support for freestanding.
|
2023-01-25 11:27:57 +01:00 |
|
Christoffer Lerno
|
f37f779e5a
|
Fix in utf8to16 conversion.
|
2023-01-24 14:20:37 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
c9e1e2d763
|
Replace $$shufflevector with $$swizzle and $$swizzle2. Add builtin swizzle accessors.
|
2023-01-22 01:12:55 +01:00 |
|
Christoffer Lerno
|
2123e81e8e
|
Make more of the builtins do promotion from int to double for convenience.
|
2023-01-13 01:09:27 +01:00 |
|
Christoffer Lerno
|
3298ff2e15
|
Fix of typo.
|
2023-01-11 00:53:57 +01:00 |
|
Christoffer Lerno
|
da65de2d01
|
Add compare_exchange. Rudimentary threads (subject to change)
|
2023-01-10 20:46:39 +01:00 |
|
Christoffer Lerno
|
43dc2d650c
|
Use "String" consistently for "char[]" (#694)
Use "String" consistently for "char[]". Fix win32 return value.
|
2023-01-07 22:50:33 +01:00 |
|
Christoffer Lerno
|
ad48770977
|
Updated errno. Socket constants and some functions added. Fix error when a macro returns a void! and that macro is in turn set to a return. Removed too permissive casts to subarrays.
|
2023-01-06 12:46:58 +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
|
f46697bc54
|
Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
|
2022-12-27 14:16:47 +01:00 |
|
Christoffer Lerno
|
fe9ace713b
|
Fix str::concat
|
2022-12-23 14:06:02 +01:00 |
|
Christoffer Lerno
|
1a510207e8
|
Update string.c3
|
2022-12-14 23:03:45 +01:00 |
|
Nikos Plugachev
|
a21236d661
|
Improved string concat
|
2022-12-14 23:03:45 +01:00 |
|
Nikos Plugachev
|
a749a4d265
|
Added String.concat, List.clear
|
2022-12-14 23:03:45 +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
|
a9ed514fe5
|
Fix bug in defer from macros. Ensure debug location on panic functions. Add getcwd.
|
2022-12-13 07:50:41 +01:00 |
|
Dmitry Atamanov
|
8b0d409695
|
Add inlined memcpy and memset builtins and macros. (#668)
|
2022-12-12 11:45:01 +01:00 |
|
Christoffer Lerno
|
af0174f360
|
Some work on io libs.
|
2022-12-09 08:45:02 +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
|
5721fcc224
|
Fix of string function.
|
2022-12-06 17:48:30 +01:00 |
|
Christoffer Lerno
|
c15fb7460c
|
Add functions for splitting strings.
|
2022-12-04 23:01:53 +01:00 |
|
Christoffer Lerno
|
299ec1814b
|
Add native string -> int conversions. Fix to getline and add tgetline.
|
2022-12-01 16:13:52 +01:00 |
|
Christoffer Lerno
|
07700ed2c5
|
Add str::trim and String::tcopy_str. Version bump.
|
2022-12-01 13:19:08 +01:00 |
|
Christoffer Lerno
|
285299dcd5
|
Some simple stdlib tests.
|
2022-11-20 18:16:21 +01:00 |
|