Commit Graph

1611 Commits

Author SHA1 Message Date
Jeroen van Rijn
7bd86bb3ec well, that was a stupid copy/paste bug 2019-03-02 13:24:11 +01: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
a126d2ba16 Merge remote-tracking branch 'upstream/master' into fix-issue-345 2019-03-02 12:31:45 +01:00
Jeroen van Rijn
6faab8e47a Fix #345: panic when using enum as map key 2019-02-26 13:51:56 +01:00
gingerBill
76a6757ee9 Add os.file_size_from_path 2019-02-25 18:03:44 +00:00
gingerBill
0c8746ada6 Add support for custom keywords in core:odin/* packages 2019-02-25 12:41:43 +00: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
79b585ada8 Add minor additions to mem, sync, and sys/win32 2019-02-21 21:45:33 +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
53d8216311 Reorganize package mem 2019-02-10 22:15:34 +00:00
gingerBill
6a0c3d5599 Add default_parser procedure to package odin_parser 2019-02-10 22:05:18 +00:00
gingerBill
9647fb2a4b Add Stack and Small_Stack allocators to package mem 2019-02-10 22:04:58 +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
b74d828af7 Merge branch 'master' of https://github.com/odin-lang/Odin 2019-02-09 22:34:37 +00:00
gingerBill
e16409f88a Fix package odin_parser bugs 2019-02-09 22:34:27 +00:00
thebirk
6571f07c7e Fixed typo in copy_sign_f64. 2019-02-08 12:58:30 +01:00
gingerBill
4b7a09b92e Merge branch 'master' of https://github.com/odin-lang/Odin 2019-02-06 22:45:04 +00:00
gingerBill
26fb1fa18c Fix lead_comment issue is package odin_parser 2019-02-06 22:44:54 +00:00
Mikkel Hjortshøj
24c43d33bb Export LLVM path on macOS (CI) 2019-02-06 19:08:32 +01:00
Mikkel Hjortshøj
7343f0c7ff Fix recursive variable in makefile on macOS 2019-02-06 18:56:02 +01:00
Mikkel Hjortshøj
3c8cda514b Fix makefile for macOS 2019-02-06 18:49:21 +01:00
gingerBill
bc954df80e Merge branch 'master' of https://github.com/odin-lang/Odin 2019-02-06 16:07:32 +00:00
gingerBill
e1ae359a77 Replace redundant code 2019-02-06 16:06:48 +00:00
Mikkel Hjortshoej
c9602953aa last fixes to bats and README 2019-02-06 15:53:40 +01:00
Mikkel Hjortshoej
0185b43c2f Create CI files 2019-02-06 15:53:40 +01:00
gingerBill
bc5c37ebb1 Extra checks to reduce mem.zero calls 2019-02-06 13:47:52 +00:00
gingerBill
0133dd9034 Merge branch 'master' of https://github.com/odin-lang/Odin 2019-02-06 13:33:52 +00:00
gingerBill
a194aa5a9e Minimize mem.zero use 2019-02-06 13:33:31 +00:00
gingerBill
766f3e259f Merge pull request #334 from odin-lang/ThisDrunkDane-patch-1
Add issue templates
2019-02-05 22:21:27 +00:00
Mikkel Hjortshøj
6092cc0497 Add issue templates 2019-02-05 21:19:56 +01: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
gingerBill
2dc7aaec82 Merge pull request #332 from thebirk/fix-big-string-printing
Fix #322, now correctly printing big strings.
2019-02-02 23:14:08 +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
gingerBill
141da818ba Merge pull request #330 from thebirk/fix-out-linux
Fixed -out dropping extension on linux. Issue #305
2019-02-01 14:25:36 +00: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