Commit Graph

1623 Commits

Author SHA1 Message Date
gingerBill
007a7989b8 Add implicit selector expression examples to demo.odin 2019-03-06 20:06:37 +00:00
gingerBill
5c04800831 Add type inference to index expressions for maps 2019-03-06 20:01:46 +00:00
gingerBill
c634d4a96d Using implicit selector expressions in the core library 2019-03-06 19:13:50 +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
1b3ec66fa2 Merge branch 'master' of https://github.com/odin-lang/Odin 2019-03-06 16:19:55 +00:00
gingerBill
ad3b6ab718 Implicit Selector Expressions: .A 2019-03-06 16:19:47 +00:00
Jeroen van Rijn
8c618225bf Merge pull request #347 from Kelimion/master
Fix typo in `cel` tokeniser.
2019-03-04 13:46:51 +01:00
Jeroen van Rijn
1f5ab0b5f1 Fix typo in cel tokeniser. 2019-03-04 13:41:47 +01:00
gingerBill
1652d5033b Merge branch 'master' of https://github.com/odin-lang/Odin 2019-03-03 12:09:06 +00:00
gingerBill
9b4b20e8b1 package dynlib 2019-03-03 12:08:26 +00:00
Jeroen van Rijn
8fb8b5ed7e Merge pull request #346 from Kelimion/fix-issue-345
Fix #345: panic when using enum as map key
2019-03-03 13:00:00 +01:00
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