Commit Graph
100 Commits
Author SHA1 Message Date
gingerBill a2c50d3666 Fix -vet for strings 2020-05-24 17:57:55 +01:00
gingerBill f06efffe22 Update strings case convertors to be unicode compliant 2020-05-24 17:50:27 +01:00
gingerBill e42f7008fc Change spaces to tabs 2020-05-24 16:40:48 +01:00
gingerBill 26c9d17040 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-24 12:52:19 +01:00
gingerBill 2be87169ef Fix #656 2020-05-24 12:52:08 +01:00
gingerBill cbfbff7240 Add intrinsics.type_is_comparable; Add sort.linear_search 2020-05-23 14:02:21 +01:00
gingerBill 99e6eba20f Revert demo.odin 2020-05-23 13:57:45 +01:00
gingerBill 7d11ee605c Add sort.binary_search (uses interpolation sort for ordered numeric types) 2020-05-23 13:57:24 +01:00
gingerBill 4671207c61 Make the using import deprecation warning an error 2020-05-23 13:39:18 +01:00
gingerBill aa029fe8d9 Add "pure" procedure types 2020-05-23 13:38:06 +01:00
gingerBill ef539696b9 Strip carriage return \r from raw string literals 2020-05-23 11:39:29 +01:00
gingerBill 26fe9b0212 Fix SelectorCallExpr with no return values 2020-05-22 23:41:17 +01:00
gingerBill fd6e2ed5de Revert demo.odin 2020-05-22 14:56:32 +01:00
gingerBill 7bd1039a49 Selector Call Expressions: x->y(123) == x.y(x, 123) 2020-05-22 14:54:30 +01:00
gingerBill 76a230372f Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-22 12:32:36 +01:00
gingerBill 86b613fb15 Remove the need for type_of, size_of, align_of, offset_of to be keywords 2020-05-22 12:32:29 +01:00
gingerBill d09ac8943a Minor fixes to improve hash map/set performance 2020-05-21 16:27:40 +01:00
gingerBill 8e63c94393 Add string.h 2020-05-21 11:10:03 +01:00
gingerBill 0b16ed7c85 Use memcmp for str_eq 2020-05-21 11:05:38 +01:00
gingerBill 89d824216a Add extra information to -show-more-timings 2020-05-21 09:30:15 +01:00
gingerBill 3f23a0b3b0 Fix edge cases of relative pointers 2020-05-17 15:23:27 +01:00
gingerBill e1bdaa981a Relative pointer and relative slices 2020-05-15 18:45:24 +01:00
gingerBill 95e8668b77 Relative pointers in old backend 2020-05-15 17:52:09 +01:00
gingerBill 90adf214d7 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-15 17:37:14 +01:00
gingerBill ff92eb9112 Relative pointers 2020-05-15 17:37:00 +01:00
gingerBill 8b066b2456 Fix runtime.memset issue 2020-05-14 17:56:24 +01:00
gingerBill 218c1599b1 Add explicit context to thread_unix.odin 2020-05-14 13:48:03 +01:00
gingerBill 9b2eecb3df Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-14 13:44:34 +01:00
gingerBill e0a242e9a1 Enforce explicit context definition for procedure calls 2020-05-14 13:44:28 +01:00
gingerBill cd4403be0c Fix Assertion failure in ir_print_exact_value #620 2020-05-14 00:34:27 +01:00
gingerBill f661d34049 Implement Explicit context creation #639 2020-05-14 00:13:26 +01:00
gingerBill af1d4d6e72 Implement Allow .? operator to unwrap any union #549 2020-05-14 00:00:10 +01:00
gingerBill f6c7a0c9b8 Fix -llvm-api memset "bug" 2020-05-13 23:51:51 +01:00
gingerBill c2bfb221f5 Fix #561 where statements that eval to false do not show incorrect usage location 2020-05-13 23:45:55 +01:00
gingerBill d59fced21b #591 Improve type switch statement error for fallthrough 2020-05-13 23:33:03 +01:00
gingerBill 7c42d4ba75 (#594) Add #config to replace #defined; Restrict #defined within procedure bodies to remove race condition 2020-05-13 23:29:06 +01:00
gingerBill 14ce6d8ed8 Fix #632 behaviour 2020-05-13 23:09:38 +01:00
gingerBill 2630e9ced1 Fix #622 on both backends 2020-05-13 23:00:34 +01:00
gingerBill 482c687462 Fix procedure references in global compound literals in old backend 2020-05-13 22:42:15 +01:00
gingerBill de8c1165c2 Fix procedure literal declarations at file scope with -llvm-api 2020-05-13 22:30:38 +01:00
gingerBill d51b98a8d2 Add extra 128 bit integer procedures 2020-05-13 13:46:32 +01:00
gingerBill 6861ff47bc Replace entity_of_ident with entity_of_node 2020-05-12 16:28:22 +01:00
gingerBill 0ba3b5c0bd Fix bug for array-like compounds for LLVM-API 2020-05-12 14:57:37 +01:00
gingerBill fcdfcfce19 Let -vet ignore intentional declaration shadowing #637 2020-05-12 10:31:49 +01:00
gingerBill f043e92650 Add strconv.unquote_string and strconv.unquote_char 2020-05-09 13:58:45 +01:00
gingerBill e8f2fb58d9 Fix strconv.parse_ usage across other packages 2020-05-09 11:54:36 +01:00
gingerBill dc1b3cc563 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-08 16:09:45 +01:00
gingerBill d52695b077 Fix constant complex arithmetic bug 2020-05-08 16:09:35 +01:00
gingerBill 4fc60601d3 Fix ABI typo 2020-05-06 20:18:43 +01:00
gingerBill 4f4c3bb03b Add -extra-linker-flags:<string> 2020-05-06 13:41:22 +01:00
gingerBill 99ebb5af3b Support --flag as redundancy for -flag 2020-05-04 18:23:23 +01:00
gingerBill 45274868c3 Fix -subsystem:windows for normal backend 2020-05-04 18:07:49 +01:00
gingerBill 3ef9566817 Fix typo 2020-05-03 16:18:47 +01:00
gingerBill 3299d6a204 Add -ignore-vs-search 2020-05-02 18:50:38 +01:00
gingerBill e27f5796d6 Add experimental atom op tables for llvm-backend 2020-05-02 18:45:57 +01:00
gingerBill ba4363d678 Improve append_elem(s) logic 2020-05-02 12:09:25 +01:00
gingerBill eb2b3572bb Move TypeProc outside 2020-05-02 11:59:43 +01:00
gingerBill 1a9e75267b Fix rc.exe call 2020-05-02 10:00:34 +01:00
gingerBill dd0fb744fe Add missing ; 2020-04-30 19:26:31 +01:00
gingerBill 70a66cd559 Add -subsystem to odin build -help 2020-04-30 17:57:21 +01:00
gingerBill 832a586b8d Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-30 17:48:46 +01:00
gingerBill 117ade0700 Fix errors in package win32 2020-04-30 17:48:35 +01:00
gingerBill f63b9806d2 LLVM API: Fix compound literals with constant parameters to union fields 2020-04-25 14:45:34 +01:00
gingerBill 9409f53a9b Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-24 20:42:57 +01:00
gingerBill 9faf292218 Fix @(export) for global variable declarations 2020-04-24 20:42:47 +01:00
gingerBill 026bb8ed6f Remove unused headers 2020-04-21 23:26:59 +01:00
gingerBill cbc3800797 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-21 23:26:09 +01:00
gingerBill 4236e870d7 Fix type assertion bug #619 2020-04-21 23:26:02 +01:00
gingerBill f141e2868d container.Set 2020-04-20 00:12:01 +01:00
gingerBill 400d6014d0 container.Small_Array 2020-04-19 23:57:57 +01:00
gingerBill ab6947b2c7 container.Small_Array 2020-04-19 23:57:40 +01:00
gingerBill 52bbdefec4 container.Map 2020-04-19 23:43:02 +01:00
gingerBill 8ee67e41f4 Fix #optional_ok; Fix container.Array 2020-04-19 23:08:50 +01:00
gingerBill 0af2b38225 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-19 21:45:14 +01:00
gingerBill 97f7a558fa #optional_ok tag for procedures 2020-04-19 21:45:04 +01:00
gingerBill aa620e8ea1 Fix Procedure value printing in ir.cpp 2020-04-17 16:20:50 +01:00
gingerBill 1addee32b5 package container with Queue and Array 2020-04-17 15:26:50 +01:00
gingerBill 92402603b9 Change find_or_generator_context_ptr behaviours 2020-04-17 14:02:45 +01:00
gingerBill 4438b3e7af Fix LLVM API backend for procedure "constant" values 2020-04-17 13:50:28 +01:00
gingerBill 602a651613 Fix name mangling for @(private) entities 2020-04-15 21:58:16 +01:00
gingerBill 1e321cd48c Fix reflect.capacity and reflect.index 2020-04-15 19:00:05 +01:00
gingerBill dbaf8568d6 Fix reflect.length 2020-04-15 18:56:19 +01:00
gingerBill f229084baa Basic polymorphic named procedure parameters for procedures and records 2020-04-13 15:48:56 +01:00
gingerBill f09b6a4c90 Simplify compiler's Map and create a StringMap specifically for strings 2020-04-13 13:02:30 +01:00
gingerBill 65a2125dba Add -build-mode=obj 2020-04-13 12:00:40 +01:00
gingerBill 9e698b720f Change behaviour for zero-sized value types of array-related types; Fix make behaviour to always zero memory 2020-04-12 10:41:44 +01:00
gingerBill 5157619eb7 Support endian specific float on -llvm-api; fix unary - for endian floats 2020-04-11 21:51:43 +01:00
gingerBill 90593fe6ae Endian specific floating point types (e.g. f32be) 2020-04-11 21:34:55 +01:00
gingerBill a736d0e83f Fix @force on non-windows platforms 2020-04-11 19:40:01 +01:00
gingerBill 7ba339e6bd Fix link_name for variables 2020-04-11 19:34:29 +01:00
gingerBill baf5b9edc3 Add runtime.bswap_* required for -llvm-api 2020-04-11 19:26:16 +01:00
gingerBill 62dc99dbef Begin to make the -llvm-api more general 2020-04-10 19:52:17 +01:00
gingerBill 29a3cb25d3 Add extra guards for window-only performance checking 2020-04-07 11:47:28 +01:00
gingerBill 7ff690500a Fix psapi.h to be windows only 2020-04-07 11:41:55 +01:00
gingerBill d0b913dad1 Add extra internal memory analysis 2020-04-06 12:17:54 +01:00
gingerBill d659e679fd Fix defer after return for -llvm-api 2020-04-06 12:17:27 +01:00
gingerBill ae97c1111a Fix -llvm-api for typeid comparison with a Type itself 2020-04-06 11:38:53 +01:00
gingerBill f38d7b02f3 Fix phi node check with untyped types 2020-04-05 14:20:26 +01:00
gingerBill 5e706bab56 Fix typeid comparison bug in ir.cpp 2020-04-04 21:23:11 +01:00
gingerBill b362ce9a22 Fix selector expressions for map[unknown-key] expressions for -llvm-api 2020-04-04 20:56:56 +01:00