gingerBill
716373836c
Disallow attributes on alias declarations
2019-03-15 19:01:36 +00:00
gingerBill
fdb60b2d51
Improve package strings
2019-03-15 18:30:39 +00:00
gingerBill
885c5dc8b7
Fix issue with deferred_* attributes
2019-03-15 16:39:49 +00:00
gingerBill
394baa9ddd
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-03-15 15:41:15 +00:00
gingerBill
3d86fc2f2f
Minor adjustments
2019-03-15 15:41:06 +00:00
Jeroen van Rijn
61b07335d8
Fix build error on !Windows.
2019-03-15 07:37:20 +01:00
gingerBill
712744ef36
Fix ir_copy_value_to_ptr usage in ir_emit_call #350
2019-03-14 23:41:48 +00:00
gingerBill
dbcd49acfc
Add -pdb-name for custom names of PDBs
2019-03-14 23:26:32 +00:00
gingerBill
291bf0c143
Fix #raw_union bug caused by typo #349
2019-03-14 23:25:55 +00:00
gingerBill
bdab5e00da
Minor code clean up
2019-03-11 19:52:40 +00:00
gingerBill
5c04800831
Add type inference to index expressions for maps
2019-03-06 20:01:46 +00:00
gingerBill
c67ea97845
Add implicit selector expressions for in/notin
2019-03-06 19:08:37 +00:00
gingerBill
15d3f4c190
Allow implicit selector expressions in switch statements
2019-03-06 16:23:50 +00:00
gingerBill
ad3b6ab718
Implicit Selector Expressions: .A
2019-03-06 16:19:47 +00:00
Jeroen van Rijn
b6d6eb6ae2
Fix #345 : Panic when using enum as map key
...
Also add a little map demo.
2019-03-02 13:21:01 +01:00
Jeroen van Rijn
6faab8e47a
Fix #345 : panic when using enum as map key
2019-02-26 13:51:56 +01:00
gingerBill
a0c81c79ad
Fix bugs: Array Literals with constant elements; IR printing of raw procedure types
2019-02-24 10:30:58 +00:00
gingerBill
cdfaa643cc
Reimplement -collection; remove static from Odin tokenizer/parser in core library
2019-02-23 23:30:03 +00:00
gingerBill
989cc893ef
FIX TYPO!
2019-02-23 23:25:46 +00:00
gingerBill
2878cd8241
New build flag: -define:foo=123
2019-02-23 23:21:27 +00:00
gingerBill
a9ab90bd24
Make static an attribute rather than a keyword prefix
2019-02-23 22:17:27 +00:00
gingerBill
e551d2b25e
Replace foreign export {} with @export
2019-02-23 21:39:47 +00:00
gingerBill
38ae2e9efa
Allow basic arithmetic operations for vectors
2019-02-23 18:05:41 +00:00
gingerBill
684945ea57
Fix calling conventions for simd vector types
2019-02-23 17:45:30 +00:00
gingerBill
4c51384ad6
intrinsics.vector type (Experimental)
2019-02-23 16:44:16 +00:00
gingerBill
64bd884d94
Add "none" calling convention
2019-02-23 14:42:44 +00:00
gingerBill
a07232ea63
Fix missing break in switch statement for deferred_in in the IR
2019-02-23 14:11:48 +00:00
gingerBill
f917935f9d
Disallow compound literals for struct #raw_union (fix)
2019-02-19 10:04:36 +00:00
gingerBill
dbd0638853
Fix untyped ternary string IR conversion
2019-02-14 11:11:05 +00:00
gingerBill
42f936742e
Add extra dead code elimination
2019-02-10 21:23:02 +00:00
gingerBill
e2d4667639
Fix data layout issue on Windows; Remove unused loads in SSA
2019-02-10 20:51:19 +00:00
gingerBill
e1ae359a77
Replace redundant code
2019-02-06 16:06:48 +00:00
gingerBill
bc5c37ebb1
Extra checks to reduce mem.zero calls
2019-02-06 13:47:52 +00:00
gingerBill
a194aa5a9e
Minimize mem.zero use
2019-02-06 13:33:31 +00:00
gingerBill
fa5d00521b
Remove inline from many of the mem.* procedures
2019-02-04 12:15:51 +00:00
gingerBill
d1e29400d3
Merge pull request #331 from thebirk/fix-out-linux
...
Fixed macOS not compiling
2019-02-02 23:14:26 +00:00
thebirk
b7242f9d4b
Fix #322 , now correctly printing big strings.
2019-02-02 00:11:41 +01:00
thebirk
7ea7fc10db
Fixed macOS not compiling.
2019-02-01 15:33:27 +01:00
thebirk
dc3d62d437
Fixed -out dropping extension on linux.
2019-02-01 15:12:20 +01:00
gingerBill
dee28d998f
Allow for @indent for attributes that don't require any parameters; Add -ignore-unknown-attributes
2019-01-30 14:24:14 +00:00
gingerBill
96ef6aa7f3
Merge pull request #327 from Tetralux/tet/pass-args-to-run
...
Provide a way to pass arguments to compiled executable during 'odin run program.odin'.
2019-01-29 22:12:01 +00:00
gingerBill
1aea59a0fc
Fix typo in parser.cpp
2019-01-29 21:53:36 +00:00
Tetralux
1e180d611d
Allow 'odin run program.odin -- <args-for-program.exe>
2019-01-28 17:58:48 +00:00
gingerBill
e452765d28
Patch minor IR bug
2019-01-28 12:13:37 +00:00
gingerBill
44b959648c
Pass any and union "by pointer" to make the tag a pointer
2019-01-26 20:13:43 +00:00
gingerBill
ebaf48c07d
Fix subtyping rules for heavily nested using in structs
2019-01-24 21:17:30 +00:00
gingerBill
c197a27185
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-01-24 15:53:27 +00:00
gingerBill
345e790f52
Remove dead code
2019-01-24 15:52:51 +00:00
Tetralux
46c610d6e5
Fix printing IR of integer as a pointer with endianness.
...
When converting an integer value into a pointer and writing out the IR
for it in 'ir_print_exact_value', 'is_type_integer_endian_{little,big}'
did not correct handle being asked about pointer types.
They now reply with whether the endianness of 'uintptr' matches the
endianness being asked about.
2019-01-16 17:22:25 +00:00
gingerBill
19e37c852e
Change deferred_* scoping behaviour for if
2019-01-13 20:51:26 +00:00