Commit Graph

  • 62d2656f69 Add linalg.matrix_cast gingerBill 2021-03-26 14:33:46 +00:00
  • a611cf545d Add basic error correction in parser to check for unattached else gingerBill 2021-03-26 11:39:46 +00:00
  • 7463ad23d8 Move variable declarations to aid other compilers gingerBill 2021-03-25 22:59:15 +00:00
  • 6271d10af7 Fix to OdinLLVMBuildTransmute to goto general_end on different sized data gingerBill 2021-03-25 22:54:49 +00:00
  • c5c82e0551 Fix pseudo-constant local slice initialization gingerBill 2021-03-25 22:47:23 +00:00
  • 29ed1d5459 Minor zero enforcement gingerBill 2021-03-25 22:34:35 +00:00
  • 50b439daa8 Fix pseudo-constant local embedded slice generation gingerBill 2021-03-25 22:27:52 +00:00
  • 23c68b4f7a Change to assert to test both LLVMIsConstant and LLVMIsGlobalConstant gingerBill 2021-03-25 22:14:38 +00:00
  • 615104afd1 Revert change :D gingerBill 2021-03-25 20:59:24 +00:00
  • d3665331c7 Another minor fix to OdinLLVMBuildTransmute gingerBill 2021-03-25 20:47:10 +00:00
  • 04be6d190e Minor fix to OdinLLVMBuildTransmute gingerBill 2021-03-25 20:45:22 +00:00
  • 6668fd44cf Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-03-25 20:23:49 +00:00
  • 0007ac63ed Correct #c_vararg behaviour on -llvm-api gingerBill 2021-03-25 20:23:43 +00:00
  • f656968aea Merge pull request #880 from breeo7/master gingerBill 2021-03-25 16:02:22 +00:00
  • 24e7b5ea78 Add container.Priority_Queue breeo 2021-03-25 15:50:33 +01:00
  • f4d0f74dbb Allow seeding CRC32, CRC64 & Adler32 with previous partial hash. Jeroen van Rijn 2021-03-25 13:48:34 +01:00
  • 7c951cbf0a Add SOA struct len/cap/allocator fields for the debug symbols gingerBill 2021-03-24 23:12:54 +00:00
  • 2d0e2625ac Ensure pointers are of the same type in LLVM ICmp gingerBill 2021-03-24 23:01:48 +00:00
  • 1aecd7f5ff Add support for soa slice reference iteration gingerBill 2021-03-24 22:39:29 +00:00
  • 5faf859a56 Support using on intermediate soa field value from a for-in statement gingerBill 2021-03-24 22:34:55 +00:00
  • 7028797d53 Implement soa_unzip gingerBill 2021-03-24 19:29:25 +00:00
  • 6c9d3715d8 Add type hinting to soa_zip gingerBill 2021-03-24 18:08:34 +00:00
  • 989a03dc77 soa_zip (-llvm-api only): creates an #soa[]struct from passed slices gingerBill 2021-03-24 17:33:05 +00:00
  • 7a045bd957 Merge pull request #877 from Kelimion/datetime gingerBill 2021-03-24 16:59:19 +00:00
  • a5329ae48c Add better package declaration specific error message (#878) gingerBill 2021-03-24 14:34:30 +00:00
  • 2ec3326653 Support #soa array iteration in a for in loop for -llvm-api backend only gingerBill 2021-03-24 14:31:44 +00:00
  • bec42e8dd3 Improve core:odin/ast ast.Range_Stmt to use generic number of vals rather than the fixed two to aid with parsing errors gingerBill 2021-03-24 12:34:06 +00:00
  • d969d0b264 Make for in logic a bit more generic gingerBill 2021-03-24 12:31:05 +00:00
  • 0e3ecc350a Make the parser support as many identifiers on the LHS in for in loops to improve error messages gingerBill 2021-03-24 12:11:00 +00:00
  • 295c1550a8 Support using variables in debug information gingerBill 2021-03-24 10:57:00 +00:00
  • fc1a352285 For bit_set, allow + and - to be aliases for | and &~, respectively gingerBill 2021-03-23 23:34:01 +00:00
  • 082381284c Remove dead code gingerBill 2021-03-23 23:23:40 +00:00
  • ccd078620b Improve error message in parser gingerBill 2021-03-23 23:05:00 +00:00
  • 08f7d3edbe Allow $ in polymorphic record parameter fields (but disallow mixing) gingerBill 2021-03-23 22:59:10 +00:00
  • c62980eaea Minor improvement to error message about assigning a type to a variable with no inference gingerBill 2021-03-23 22:33:32 +00:00
  • d88d6a1fdd bit_set support in debug symbols by treating them like a bit field of 1 bit booleans gingerBill 2021-03-23 22:09:16 +00:00
  • f1e13bdddb Prefix named types with package name in debug types gingerBill 2021-03-23 20:45:39 +00:00
  • 331167e91f Improve debug type names for composite types (arrays, map, struct, union) gingerBill 2021-03-23 20:41:49 +00:00
  • e229882fde Clean up some debug type code gingerBill 2021-03-23 19:33:22 +00:00
  • 300f988905 Add global variables to -llvm-api debug information gingerBill 2021-03-23 18:34:20 +00:00
  • 7f6a43f0af Move LLVM optimization procedures to a separate file to aid with organization gingerBill 2021-03-23 18:24:49 +00:00
  • 06c5a7fb3e Correct overflowed months. Jeroen van Rijn 2021-03-23 18:49:50 +01:00
  • 781f784375 Add core:datetime_to_time Jeroen van Rijn 2021-03-23 18:41:40 +01:00
  • ccd91aee5c Fix debug information for typeid on -llvm-api gingerBill 2021-03-22 16:14:58 +00:00
  • bf46a3f1d3 Correct debug info for basic composite types (e.g. string, any) gingerBill 2021-03-22 15:36:18 +00:00
  • 8ab1b32fe1 Add local debug variable support for -llvm-api gingerBill 2021-03-22 14:51:19 +00:00
  • 0355908af8 Start work on very basic LLVM debug type information gingerBill 2021-03-22 13:09:23 +00:00
  • fd7d70954e Begin integrating work from branch llvm-debug-symbols gingerBill 2021-03-20 13:10:53 +00:00
  • cb0bd80f50 Fix LLVMConstArray usage gingerBill 2021-03-19 16:59:46 +00:00
  • 5a67e6ecbd Fix LLVM asserts gingerBill 2021-03-19 16:53:22 +00:00
  • c8a823a387 Add ExternC.h gingerBill 2021-03-19 15:49:07 +00:00
  • 178e891c78 Fix some LLVM asserts by using LLVMConstNamedStruct everywhere gingerBill 2021-03-19 15:47:10 +00:00
  • bda9eb7348 Update llvm-c headers for Version 11.0.1 gingerBill 2021-03-19 15:46:33 +00:00
  • 2b806f7463 Merge pull request #875 from atkurtul/master gingerBill 2021-03-19 11:07:12 +00:00
  • 6de0b68928 Merge pull request #2 from atkurtul/main atkurtul 2021-03-19 10:26:10 +03:00
  • bb6e6fb4ef Merge pull request #1 from atkurtul/llvm atkurtul 2021-03-19 07:30:18 +03:00
  • 88b8052532 fix windows Atil Kurtulmus 2021-03-19 07:23:17 +03:00
  • 2c0ddfb5db fixtypo atil 2021-03-19 09:57:38 +03:00
  • 2f4902c9b9 fixtypo atil 2021-03-19 09:54:28 +03:00
  • d28f6144a4 early memcpyopt atil 2021-03-19 09:52:53 +03:00
  • 5f5dfdc00e return by pointer on linux atil 2021-03-19 07:28:27 +03:00
  • 3337412228 split*_iterator procedures for package bytes and strings gingerBill 2021-03-18 13:26:33 +00:00
  • e3f9d99a3b Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-03-18 13:25:47 +00:00
  • 359ae29d98 Minor fixes gingerBill 2021-03-18 13:25:41 +00:00
  • 453b756edc Merge pull request #872 from Kelimion/fix-cubic gingerBill 2021-03-16 15:36:34 +00:00
  • d80670fe0c Fix typo in cubic(). Jeroen van Rijn 2021-03-16 16:34:59 +01:00
  • 04e0cacd30 Update package core:math/linalg to support matrix3 euler angle operations gingerBill 2021-03-16 12:14:54 +00:00
  • b94ab4dc05 Make check_single_global_entity use create_checker_context gingerBill 2021-03-15 14:05:38 +00:00
  • 85fd8aaf37 Merge pull request #868 from nakst/patch-1 gingerBill 2021-03-15 11:47:48 +00:00
  • 6412a18ae1 Merge pull request #869 from nakst/patch-2 gingerBill 2021-03-14 20:53:30 +00:00
  • acefb2edbc Similar to the update to gb.h Nakst 2021-03-14 20:37:32 +00:00
  • 0d1addf0d4 Make size of allocation multiple of the alignment Nakst 2021-03-14 20:36:35 +00:00
  • f5142aaec4 Change from test_* prefix to @(test) attribute for odin test gingerBill 2021-03-14 18:43:21 +00:00
  • db0ac2ba98 Add "NO TESTS RAN" message to testing.runner if no tests were ran gingerBill 2021-03-14 18:17:00 +00:00
  • 468ad4837b Add pkg field to testing.Internal_Test gingerBill 2021-03-14 18:15:08 +00:00
  • 2aa588209e odin test to work with the new core:testing package gingerBill 2021-03-14 18:01:31 +00:00
  • 10f91a0d3f Make base32 and base64 adhere to -strict-style gingerBill 2021-03-14 12:54:28 +00:00
  • 8cc4cba06c Add support for backslash \ to consume a newline gingerBill 2021-03-14 12:53:57 +00:00
  • 8f6439fa6b Simplify expect_semicolon_newline_error rule gingerBill 2021-03-13 23:17:56 +00:00
  • 81efd2dc64 Remove && false from test code gingerBill 2021-03-13 21:39:33 +00:00
  • b5c0c68615 Add -strict-style flag: Enforces code style stricter whilst parsing, requiring such things as trailing commas gingerBill 2021-03-13 21:20:46 +00:00
  • a60d22fefd Make trailing comma usage consistent gingerBill 2021-03-13 21:18:07 +00:00
  • 8123ff83a3 Fix is_diverging_stmt for invalid statements gingerBill 2021-03-13 15:01:23 +00:00
  • 4e2a2ac80a Fix formatting of code gingerBill 2021-03-10 10:53:30 +00:00
  • d23c10d80e Merge pull request #865 from matias-eduardo/patch_llvm_bool_return_types gingerBill 2021-03-10 09:48:57 +00:00
  • ba62bcf116 Add LLVM boolean compatibility to result types Matias Fernandez 2021-03-09 23:17:34 -04:00
  • 84bb349900 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-03-09 11:40:42 +00:00
  • 3ff7bded64 Add intrinsics.volatile_store and intrinsics.volatile_load gingerBill 2021-03-09 11:40:36 +00:00
  • 8784b79482 Merge pull request #862 from Kelimion/kelimion/master gingerBill 2021-03-06 23:15:09 +00:00
  • d0f923ba74 Merge pull request #863 from jlreymendez/dll_build_fix gingerBill 2021-03-06 23:14:55 +00:00
  • 4e8ec4ce38 Fix nullref access violation when building with no entry point Jose Luis Rey Mendez 2021-03-06 20:02:16 -03:00
  • 4f1fb73f32 Added vs code to git ignore Jose Luis Rey Mendez 2021-03-06 20:01:11 -03:00
  • cefde23232 Remove double removal of extension when using the -out option. Jeroen van Rijn 2021-03-06 23:09:15 +01:00
  • 083cec6c88 Remove dead code gingerBill 2021-03-06 16:11:54 +00:00
  • 45cd5c0b1c Remove test code gingerBill 2021-03-06 16:11:39 +00:00
  • 572b9d1b3f Fix context bug with deferred_* attributes which caused a new context to be created every time gingerBill 2021-03-06 16:11:01 +00:00
  • 0ae1b96182 Fix ir_print.cpp i32 line/column values gingerBill 2021-03-05 15:42:59 +00:00
  • 1988856eed Minimize the size of runtime.Source_Code_Location to use i32 instead of int gingerBill 2021-03-05 12:56:36 +00:00
  • 15dbc99cb9 Minimize TokenPos size by using i32 for line/column/offset and file_id instead of String gingerBill 2021-03-04 16:45:30 +00:00
  • 17eb0ce525 Minor update to math/linalg gingerBill 2021-03-03 22:18:18 +00:00