gingerBill
|
fb04103352
|
Add defer statements; add implicit context pointer to context stack
|
2023-07-19 15:37:33 +01:00 |
|
gingerBill
|
9abf43b0d2
|
Mock out defer handling logic (before handling defer statements)
|
2023-07-19 15:24:07 +01:00 |
|
gingerBill
|
7f97274ecc
|
Wrap Tilde's goto pseudo-instruction
|
2023-07-19 14:31:32 +01:00 |
|
gingerBill
|
b2edab193f
|
Support branch statements break/continue/fallthrough
|
2023-07-19 14:19:01 +01:00 |
|
gingerBill
|
184563bbe1
|
Add trivial switch statement check to use a jump table
|
2023-07-19 13:58:56 +01:00 |
|
gingerBill
|
73f25ed182
|
Add basic switch statement
Implement as naive if-else chain
|
2023-07-19 13:37:56 +01:00 |
|
gingerBill
|
533f6a552c
|
Add for and += assignments
|
2023-07-19 13:15:13 +01:00 |
|
gingerBill
|
32ac319525
|
Implement if statements
|
2023-07-19 12:55:44 +01:00 |
|
gingerBill
|
569397bd7e
|
Update TB
|
2023-07-19 11:39:37 +01:00 |
|
gingerBill
|
3535d16c3a
|
Implement Ternary If Expression
|
2023-07-18 18:58:56 +01:00 |
|
gingerBill
|
7f4efa90c8
|
Mock out cg_emit_comp
|
2023-07-18 16:51:37 +01:00 |
|
gingerBill
|
bab3cd988e
|
Mock out cg_emit_unary_arith
|
2023-07-18 13:42:37 +01:00 |
|
gingerBill
|
feda213c0c
|
Mock out cg_append_tuple_values
|
2023-07-18 13:30:59 +01:00 |
|
gingerBill
|
c6593e8cde
|
Mock out binary expressions and variable declarations
|
2023-07-18 13:27:47 +01:00 |
|
gingerBill
|
4d8d3919c0
|
Update tilde; procedure type determination from debug types
|
2023-07-18 13:16:35 +01:00 |
|
gingerBill
|
55733171c1
|
Planning for multi-valued expressions in the tilde backend
|
2023-07-17 23:16:50 +01:00 |
|
gingerBill
|
988926b59d
|
Flesh out debug procedure type
|
2023-07-17 22:51:18 +01:00 |
|
gingerBill
|
d72f8da6d7
|
Move debug type code its own file
|
2023-07-17 22:37:40 +01:00 |
|
gingerBill
|
0b697b24bd
|
Implement debug type for procs
|
2023-07-17 22:33:13 +01:00 |
|
gingerBill
|
b2c75dc3a2
|
Mostly fill in cg_debug_type
|
2023-07-17 22:18:15 +01:00 |
|
gingerBill
|
b5b3f1fb42
|
Mock out struct_ep calls
|
2023-07-17 17:28:12 +01:00 |
|
gingerBill
|
bd73834e19
|
Update Tilde; mock out cg_build_return_stmt
128-bit types are broken
|
2023-07-17 16:56:10 +01:00 |
|
gingerBill
|
7f43c24297
|
Merge branch 'master' into tilde
|
2023-07-17 16:23:01 +01:00 |
|
gingerBill
|
1b3657122c
|
Uncomment procedures in procedure group
|
2023-07-17 16:02:18 +01:00 |
|
gingerBill
|
0f28857c59
|
Improve type inference for procedure group stuff
|
2023-07-17 13:03:58 +01:00 |
|
gingerBill
|
88485d5467
|
Improve scoring for polymorphic procedures
|
2023-07-17 12:57:33 +01:00 |
|
gingerBill
|
921530dd01
|
Fix to allow procedure groups on objective-c types
|
2023-07-17 12:43:56 +01:00 |
|
gingerBill
|
dcf3023d93
|
Fix bug caused by incorrect assert
|
2023-07-17 12:06:48 +01:00 |
|
gingerBill
|
45b3ae31af
|
Mock out more of the ep procedures
|
2023-07-17 00:31:44 +01:00 |
|
gingerBill
|
66a20264ab
|
Mock out cg_emit_arith
|
2023-07-17 00:06:03 +01:00 |
|
gingerBill
|
d2d243cca8
|
Mock out cg_emit_conv
|
2023-07-16 23:41:51 +01:00 |
|
gingerBill
|
ee8372145d
|
Begin working on proper expressions
|
2023-07-15 14:26:47 +01:00 |
|
gingerBill
|
ccb736411b
|
Basic context creation
|
2023-07-15 13:30:31 +01:00 |
|
gingerBill
|
e2e5641a45
|
Update TB; Fix calling nullptr TB_Node* problems
|
2023-07-15 13:15:50 +01:00 |
|
gingerBill
|
ca442defbb
|
Mocking out call related stuff
|
2023-07-14 17:34:00 +01:00 |
|
gingerBill
|
b17ebeb6f6
|
Mock out more of the addr related stuff
|
2023-07-14 17:03:28 +01:00 |
|
gingerBill
|
a8afcf1ca9
|
cg_emit_load/cg_emit_store
|
2023-07-14 16:03:21 +01:00 |
|
gingerBill
|
6545cc2d48
|
Stub out expr and const files
|
2023-07-14 14:54:49 +01:00 |
|
gingerBill
|
2a10c8fe5c
|
Begin work on building statements
|
2023-07-14 13:01:17 +01:00 |
|
gingerBill
|
7cd2d14b64
|
Very start of working on Tilde Backend for Odin
|
2023-07-14 11:58:18 +01:00 |
|
gingerBill
|
fc5abfd68b
|
Update Tilde
|
2023-07-14 11:56:13 +01:00 |
|
gingerBill
|
8ebb84ad1e
|
Basic global struct example
|
2023-07-08 13:02:17 +01:00 |
|
gingerBill
|
f0e77a309d
|
Hellope World! with Tilde
|
2023-07-08 12:43:20 +01:00 |
|
gingerBill
|
7ab531bd21
|
Add -tilde for working on the new compiler
|
2023-07-08 12:07:11 +01:00 |
|
gingerBill
|
d7af6de9b9
|
Add tilde
|
2023-07-08 11:54:44 +01:00 |
|
gingerBill
|
3072479c3c
|
Generalize name mangling rule to have a singular definition for a name separator
|
2023-07-07 23:52:56 +01:00 |
|
gingerBill
|
62031c24a2
|
Add extra mutex guards around module value access
|
2023-07-07 23:35:16 +01:00 |
|
gingerBill
|
aa38889704
|
Fix issue with pointer casting internal llvm intrinsics
|
2023-07-07 23:23:47 +01:00 |
|
gingerBill
|
17562e476f
|
Remove math usage of raw LLVM intrinsic prototypes
|
2023-07-07 23:13:37 +01:00 |
|
gingerBill
|
6495f2cf98
|
Fix #2593
|
2023-07-07 23:09:46 +01:00 |
|
gingerBill
|
ea20b644cc
|
Fix #2624
|
2023-07-07 23:07:41 +01:00 |
|
gingerBill
|
bf848637aa
|
Fix #2629
|
2023-07-07 23:06:15 +01:00 |
|
gingerBill
|
759f846b2b
|
Fix [2]union{T} comparison against nil
|
2023-07-07 23:03:46 +01:00 |
|
gingerBill
|
3758be55f5
|
Fix #2630
|
2023-07-07 22:56:20 +01:00 |
|
gingerBill
|
8f4c59b080
|
Add core:math/cmpl to all_main.odin
|
2023-07-07 22:29:53 +01:00 |
|
gingerBill
|
1ff6212ffa
|
Always call lb_run_remove_dead_instruction_pass to fix -debug issues
|
2023-07-07 22:28:31 +01:00 |
|
gingerBill
|
1ecb4aa9aa
|
Begin work on core:math/cmplx
`complex*` types only at the moment, `quaternion*` types coming later
|
2023-06-28 13:20:23 +01:00 |
|
gingerBill
|
a2b3c72647
|
Improve accuracy of abs or complex* types
|
2023-06-28 13:18:36 +01:00 |
|
gingerBill
|
0180a4fcd4
|
Add math.sincos
|
2023-06-28 12:57:09 +01:00 |
|
gingerBill
|
abca3ceac8
|
Keep -vet happy
|
2023-06-28 12:20:12 +01:00 |
|
gingerBill
|
866a9fdf19
|
Actually add math.hypot
|
2023-06-28 12:19:45 +01:00 |
|
gingerBill
|
20e954a864
|
Add math.hypot
|
2023-06-28 12:16:49 +01:00 |
|
gingerBill
|
03e40b333a
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2023-06-28 11:57:43 +01:00 |
|
gingerBill
|
ebed66d4ce
|
General code style clean up for vendor:nanovg
|
2023-06-28 11:57:37 +01:00 |
|
gingerBill
|
9e9f3c485b
|
General code style clean up for vendor:fontstash
|
2023-06-28 11:36:27 +01:00 |
|
gingerBill
|
d50a844720
|
Replace mem with runtime in core:slice
|
2023-06-28 11:04:51 +01:00 |
|
gingerBill
|
a820246f64
|
Keep -vet happy
|
2023-06-26 23:00:39 +01:00 |
|
gingerBill
|
8b8310711e
|
Fix #2594 zero sized union code generation
|
2023-06-26 17:36:27 +01:00 |
|
gingerBill
|
cdcb64b0d0
|
Add missing -strict-style check
|
2023-06-26 17:06:42 +01:00 |
|
gingerBill
|
3c0f1caa41
|
Fix #2606
|
2023-06-26 17:03:40 +01:00 |
|
gingerBill
|
8182ba4ee0
|
Improve internal names for parapoly records
|
2023-06-26 16:48:43 +01:00 |
|
gingerBill
|
3d9328fd79
|
Default to panic allocator for wasm targets
|
2023-06-26 15:55:52 +01:00 |
|
gingerBill
|
6c6f9f7d25
|
Fix fmt implementation for js
|
2023-06-26 15:55:35 +01:00 |
|
gingerBill
|
c8f475174e
|
Fix tests for -strict-style
|
2023-06-26 15:51:08 +01:00 |
|
gingerBill
|
3dec55f009
|
Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
|
2023-06-26 15:42:57 +01:00 |
|
gingerBill
|
00d60e28c2
|
Allow switch &v in ... work to be consistent with for &e in ...
|
2023-06-26 15:41:53 +01:00 |
|
gingerBill
|
ea00619c3b
|
for &e, i in array and for k, &v in map (alternative to passing the iterable by pointer)
|
2023-06-26 15:20:40 +01:00 |
|
gingerBill
|
5a6d5374d7
|
Update WebGL procedures to contextless calling convention
|
2023-06-22 14:30:02 +01:00 |
|
gingerBill
|
c48057081e
|
Fix nullptr entity case
|
2023-06-21 14:39:23 +01:00 |
|
gingerBill
|
ea76e09ea7
|
Fix empty varargs
|
2023-06-21 14:30:39 +01:00 |
|
gingerBill
|
c9fb078c0f
|
Handle #c_vararg
|
2023-06-21 14:07:14 +01:00 |
|
gingerBill
|
1800030356
|
Correct deferred procedures
|
2023-06-21 14:01:46 +01:00 |
|
gingerBill
|
43ba2c6226
|
Fix constant parameter passing
|
2023-06-21 12:10:07 +01:00 |
|
gingerBill
|
735181dc0e
|
Remove unnecessary indent
|
2023-06-21 01:33:37 +01:00 |
|
gingerBill
|
8a890fd3d3
|
Remove new_and_improved in the name
|
2023-06-21 01:32:35 +01:00 |
|
gingerBill
|
15e31e47fa
|
Remove in order requirement for named parameters
|
2023-06-21 01:24:57 +01:00 |
|
gingerBill
|
9b54b99bf6
|
Use positional and named arguments within the core library
|
2023-06-21 01:17:05 +01:00 |
|
gingerBill
|
67ca9166d3
|
Allow named arguments variadic expansion ..
|
2023-06-21 01:03:21 +01:00 |
|
gingerBill
|
b2ced834ba
|
Minor code reshuffle
|
2023-06-21 00:43:51 +01:00 |
|
gingerBill
|
18746c1444
|
Refactor call argument checking to a single procedure
|
2023-06-21 00:40:02 +01:00 |
|
gingerBill
|
09f366bec7
|
Correct purely named argument handling
|
2023-06-21 00:03:56 +01:00 |
|
gingerBill
|
3998d0c81e
|
Make error checks diverging where possible
|
2023-06-20 22:55:47 +01:00 |
|
gingerBill
|
2a002c3882
|
Fix scoring for untyped ternary expressions
|
2023-06-20 22:55:33 +01:00 |
|
gingerBill
|
fb756e3463
|
Correct procedure group handling
|
2023-06-20 21:02:57 +01:00 |
|
gingerBill
|
3c5661b51b
|
Allow for positional and named arguments in procedure calls
|
2023-06-20 20:29:40 +01:00 |
|
gingerBill
|
26e06ba6a6
|
Correct check_call_arguments_new_and_improved logic
|
2023-06-20 16:08:26 +01:00 |
|
gingerBill
|
7c57dde255
|
Start work on parapoly args for new and improved
|
2023-06-20 13:47:10 +01:00 |
|
gingerBill
|
9ec927b9e9
|
Try to get make everything work with parapoly
|
2023-06-20 00:30:29 +01:00 |
|
gingerBill
|
15a0d9f900
|
Begin to handle split arguments correctly
|
2023-06-19 23:46:06 +01:00 |
|
gingerBill
|
f26e3c6509
|
Improve proc group selection with named arguments
|
2023-06-19 22:26:43 +01:00 |
|