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
|
f916aa9189
|
More support for working with win32 types.
|
2023-01-31 20:54:42 +01:00 |
|
Christoffer Lerno
|
539d733ceb
|
Remove LLVM 14 support. Simplify ABI lowering.
|
2023-01-30 12:39:04 +01:00 |
|
Christoffer Lerno
|
3046a9f0c2
|
Fix File.printf
|
2023-01-29 17:58:17 +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
|
f89bf9ea2f
|
Update clamp.
|
2023-01-28 03:52:07 +01:00 |
|
Christoffer Lerno
|
1095f098ef
|
Reduce formatter register formatter register type memory usage.
|
2023-01-28 01:23:15 +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
|
a22ebbb0ef
|
Improved support for freestanding.
|
2023-01-25 11:10:37 +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
|
5151586450
|
Updated complex / matrix. Added quaternion math, vectors. Possible to add and mult scalar with vector. Fix where negating a float vector would be lowered incorrectly. Fix where $typeof(x) { ... } would not be valid compound literal. Fix where var would not be recognized as starting a declaration (e.g. in if (var x = ...)
|
2023-01-21 00:59:33 +01:00 |
|
Christoffer Lerno
|
e09628b664
|
Added easings. Move of math to own folder.
|
2023-01-19 22:49:30 +01:00 |
|
Christoffer Lerno
|
6da6288ad8
|
Support roundevenf/roundeven
|
2023-01-14 15:24:49 +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
|
dc16f65c8e
|
Change printfln to printfn. Make LLVM 15 tests default.
|
2023-01-11 18:00:08 +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
|
f8a505754d
|
Added arcfour crypto.
|
2022-12-30 16:34:31 +01:00 |
|
Christoffer Lerno
|
23a78a9ae5
|
Updated nbodies. Fixed sum/product on floats.
|
2022-12-30 02:41:17 +01:00 |
|
Christoffer Lerno
|
f6e798c283
|
Friendlier int parsing and promotion.
|
2022-12-28 00:37:52 +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
|
03cdc8e3b1
|
Add "get_ref" to list.
|
2022-12-21 15:59:29 +01:00 |
|
Christoffer Lerno
|
352e09970c
|
Math max/min now take multiple arguments.
|
2022-12-20 16:45:35 +01:00 |
|
Christoffer Lerno
|
334c004f1e
|
Fix of atan2
|
2022-12-19 13:00:27 +01:00 |
|
Christoffer Lerno
|
b88e5a8079
|
Add atan and atan2
|
2022-12-17 21:29:45 +01:00 |
|
Christoffer Lerno
|
c339261d1e
|
Added vector dot functions. Comparison now yields bool vector. Cast between vector types.
|
2022-12-17 01:51:03 +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
|
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
|
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
|
de4bfe470e
|
Attempt supporting setjmp on MSVC
|
2022-12-07 22:16:09 +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
|
eb87eb1987
|
Allow an expression list be an lvalue if the last value is an lvalue. Fix indexing from back for [] overloads.
|
2022-12-05 15:42:24 +01:00 |
|