Christoffer Lerno
|
86e085e0c0
|
Move collection types. Improve linked list interface. Update map.destroy => map.free
|
2023-02-05 20:55:47 +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
|
5a65a57e42
|
Catch macro infinite recursion. Fix of tan function.
|
2023-02-05 00:21:26 +01:00 |
|
Christoffer Lerno
|
38b44a7265
|
Fix of tan.
|
2023-02-04 23:32:17 +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
|
3b3dd334e0
|
Remove $if in thread
|
2023-02-02 21:41:57 +01:00 |
|
Christoffer Lerno
|
3b3773663a
|
Adding sincos / libc tan/tanf.
|
2023-02-02 19:29:29 +01:00 |
|
Christoffer Lerno
|
0f4d20f168
|
Fix issue with hex floats with f being assumed to be double. Added cos sincos sincosf pow2 pow2f to nolibc.
|
2023-02-02 13:20:52 +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 |
|
Kenta
|
f9b6f1da0e
|
Update trig.c3
Add cosf
|
2023-02-01 16:42:16 +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
|
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 |
|