gingerBill
bfda101686
Get basic IR code generation working properly
2020-02-10 00:14:43 +00:00
gingerBill
35711a400c
Anonymous procedure literal support
2020-02-08 12:49:38 +00:00
gingerBill
66da96284a
Add defer statement for LB
2020-02-07 00:01:44 +00:00
gingerBill
7d9600b740
Ternary Expr; lbAddr extra; Phi node support
2020-02-06 23:33:41 +00:00
gingerBill
09e1cf0737
IfStmt
2020-02-05 23:41:10 +00:00
gingerBill
992858b687
Add ReturnStmt
2020-02-05 22:39:23 +00:00
gingerBill
b555b0083a
Slowly add more statements and expressions; Add header file
2020-02-05 20:18:19 +00:00
gingerBill
0103cedad7
Port code for lb_build_call_expr
2020-02-02 23:36:15 +00:00
gingerBill
d56807095a
Implement constant value generation from ExactValue
2020-02-02 18:33:13 +00:00
gingerBill
5dc82c2720
Correctly generate LLVM types from Odin types.
2020-02-02 12:34:49 +00:00
gingerBill
5f1b397a05
Use lbValue to represent values everywhere
2020-02-01 23:52:22 +00:00
gingerBill
6ed6a91a64
Begin LLVM C API integration
2020-02-01 22:50:57 +00:00
gingerBill
0f399a7294
Add union #maybe
2020-02-01 11:10:28 +00:00
gingerBill
4bcb667e97
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-01-31 23:34:08 +00:00
gingerBill
7e6454b2f7
Add odin [command] -help (not requiring a file to be passed)
2020-01-31 23:34:00 +00:00
gingerBill
357e72654d
Merge pull request #546 from thebirk/patch-1
...
Update README.md to use Odin syntax highlighting instead of Go.
2020-01-31 09:46:47 +00:00
Aleksander Birkeland
e9f3ebba13
Update README.md to use Odin syntax highlighting instead of Go.
2020-01-30 01:01:01 +01:00
gingerBill
3a30f9fd71
Create .gitattributes
2020-01-29 12:04:54 +00:00
gingerBill
7a4ec48389
Fix missing allocator
2020-01-26 21:10:56 +00:00
gingerBill
a101e0d7ba
Add utf8.string_to_runes utf8.runes_to_string
2020-01-26 20:55:46 +00:00
gingerBill
64f5c9ab58
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-01-26 20:44:32 +00:00
gingerBill
0ee5a07d01
Add package unicode letter.odin
2020-01-26 20:44:27 +00:00
gingerBill
d658a8fca5
Merge pull request #545 from Tetralux/patch-2
...
Fix `make(map[K]V, 0)` by ensuring `reserve` always sets an allocator
2020-01-26 16:19:50 +00:00
Tetralux
abe8789890
Fix make(map[K]V, 0) by ensuring reserve always sets an allocator
...
Currently, `make(map[K]V, 0)` asserts, because trying `reserve` zero items does not set the allocator; it early-outs.
`__dynamic_map_reserve` assumed that `__dynamic_array_reserve` would always set the allocator - even if given a desired capacity of `0`.
Rather than making `__slice_resize` just _also_ set the default allocator if there isn't one, this makes `__dynamic_array_reserve` always set the allocator, even if it is about to early out.
This is because users are lead to understand that `append` will set the allocator if one is not already set - `reserve` should work the same way.
2020-01-26 01:03:14 +00:00
gingerBill
14c4fed94c
v0.12.0
v0.12.0
2020-01-18 15:32:15 +00:00
gingerBill
c3205316ed
Remove debug printing
2020-01-18 14:53:53 +00:00
gingerBill
b542ef273d
Begin work on -target:windows_386
2020-01-18 14:44:53 +00:00
gingerBill
404132de17
Fix microsoft_craziness.h to work correctly
2020-01-18 12:36:18 +00:00
gingerBill
cd43f4c94c
Add suggestions for indexing constant values with a variable index
2020-01-18 12:09:26 +00:00
gingerBill
23ff98dea0
Fix microsoft_craziness.h
2020-01-18 12:08:45 +00:00
gingerBill
c3a8e232a5
Add new intrinsics for polymorphic records:
...
type_is_specialized_polymorphic_record, type_is_unspecialized_polymorphic_record, type_polymorphic_record_parameter_count, type_polymorphic_record_parameter_value
2020-01-18 11:27:41 +00:00
gingerBill
7f89f6b582
Add intrinsics.type_is_specialization_of
2020-01-17 23:30:38 +00:00
gingerBill
159150c6d9
Allow not_in as keyword over notin, but still allow notin to work
2020-01-16 10:00:14 +00:00
gingerBill
527b39ce2b
Merge remote-tracking branch 'origin/master'
2020-01-16 09:07:52 +00:00
gingerBill
5af3c7b0e8
Fix constant slice checking, again
2020-01-16 09:05:17 +00:00
gingerBill
5db4bd9944
Fix #536
2020-01-15 12:01:29 +00:00
gingerBill
20b410f149
Fix #540
2020-01-15 11:56:42 +00:00
gingerBill
ae7cbd5171
Add debug info for enumerated arrays
2020-01-14 17:37:45 +00:00
gingerBill
04f7225ea5
Exact value zero value for T{} of basic types
2020-01-14 17:36:37 +00:00
gingerBill
f0c6f29f82
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-01-12 13:53:57 +00:00
gingerBill
7d9a9a2283
Add extra check for opaque types
2020-01-12 13:53:51 +00:00
gingerBill
ba85e432e7
Fix Proc Type ABI printing on System V
2020-01-12 13:43:45 +00:00
gingerBill
cfba29002a
Add extra set_procedure_abi_types sanity checks in IR
2020-01-11 20:29:46 +00:00
gingerBill
11c7b6a2e4
Fix len of type bug
2020-01-11 20:26:36 +00:00
gingerBill
47f9876b36
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-01-11 20:20:20 +00:00
gingerBill
ff31f9a900
Fix @thread_local IR printing
2020-01-11 20:19:52 +00:00
gingerBill
ebc4867514
Fix #521 Explicit union tag values
2020-01-11 20:16:42 +00:00
gingerBill
e1ccba3de5
Improve runtime/default_allocators.odin
2020-01-11 20:12:50 +00:00
gingerBill
28570f8fa4
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-01-11 20:11:47 +00:00
gingerBill
24bd370e1b
Fix Panic with runtime.type_info_base #532
2020-01-11 20:11:39 +00:00