Commit Graph

  • b0d668d254 Fix math.atan gingerBill 2020-04-04 13:02:39 +01:00
  • 488282409f Fix shadowing for -vet gingerBill 2020-03-30 15:22:42 +01:00
  • d3c2191cf7 Fix formatting gingerBill 2020-03-30 12:38:09 +01:00
  • dd13cf637e Fix linalg.euler_angles_from_quaternion vassvik 2020-03-30 13:29:01 +02:00
  • 0804be5d81 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-03-30 12:21:51 +01:00
  • 3c189d2cf6 Add basic support for Python-style {} printf formatting gingerBill 2020-03-30 12:21:44 +01:00
  • c83592629d Fixed duplicated WHITENESS value in BLACKNESS constant Joe 2020-03-29 18:10:10 -04:00
  • 2e3706e447 -Win32- New - Constants: WHITENESS & BLACKNESS, and WM_PAINT - Methods: pat_blt, register_class_a, register_class_w, message_box_a, message_box_w, begin_paint, and end_paint - Structs: Wnd_Class_A, Wnd_Class_W, Paint_Struct Modified - WM_INPUT : Capitalized alphabetical values for consistency with other values Joe 2020-03-29 17:06:09 -04:00
  • 1524852ffc Merge pull request #600 from kevinw/master gingerBill 2020-03-29 14:32:42 +01:00
  • 957e6f7f08 Add a missing space after /LIBPATH linker options. Kevin Watters 2020-03-28 21:05:32 -04:00
  • 1b3ee7153c Fix #599 - llvm-api GEP for structs with custom alignment gingerBill 2020-03-28 16:08:14 +00:00
  • bda5e8cc66 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-03-28 15:42:53 +00:00
  • 6d6f8f8da9 LLVM API fixes: for in ^map; complex/quaternion negation gingerBill 2020-03-28 15:42:46 +00:00
  • dca6c451da Merge pull request #598 from ThisDrunkDane/master Mikkel Hjortshøj 2020-03-28 14:14:20 +01:00
  • a6c8dcdd21 Switch from now removed context.stdout/stderr to os.stdout/stderr Mikkel Hjortshoej 2020-03-28 14:13:47 +01:00
  • b98a4c6d69 Fix #597 gingerBill 2020-03-27 13:33:31 +00:00
  • 4be385d648 Add more helpers to package reflect gingerBill 2020-03-27 13:30:22 +00:00
  • 6bbecbe895 Merge pull request #595 from odin-lang/llvm-integration gingerBill 2020-03-26 17:41:38 +00:00
  • b21993a1c4 Allow ability to reference compound literals like C99 for -llvm-api gingerBill 2020-03-26 17:33:54 +00:00
  • dd69fcba07 Merge branch 'master' into llvm-integration gingerBill 2020-03-26 15:56:55 +00:00
  • 7909872877 Allow referencing a compound literal to act like C99 gingerBill 2020-03-26 15:56:08 +00:00
  • 0a920b5439 Fix map references in selector expressions gingerBill 2020-03-25 15:55:00 +00:00
  • 921ee82c97 Fix range statements for enumerated arrays without an element value but with an index gingerBill 2020-03-25 15:11:35 +00:00
  • b7893082ce Allow map indices to be referenced &m[key] and return a valid pointer if it exists otherwise nil gingerBill 2020-03-24 15:51:17 +00:00
  • 6bfe9b6656 Merge branch 'master' into llvm-integration gingerBill 2020-03-24 15:48:57 +00:00
  • da703edbf4 Allow map indices to be referenced &m[key] and return a valid pointer if it exists otherwise nil gingerBill 2020-03-24 15:48:31 +00:00
  • 796331fea6 Support by-reference semantics in for value_ref, i in &some_array and for key, value_ref in &some_map gingerBill 2020-03-24 15:33:34 +00:00
  • 820095ddac Merge branch 'master' into llvm-integration gingerBill 2020-03-24 15:29:44 +00:00
  • d57fbf48f0 Support by-reference semantics in for value_ref, index in &some_array and for key, value_ref in &some_map gingerBill 2020-03-24 15:28:58 +00:00
  • 53c842e9ba Change to new by-reference semantics for switch v in &value gingerBill 2020-03-24 14:43:28 +00:00
  • 1e375ba8de Merge branch 'master' into llvm-integration gingerBill 2020-03-24 14:31:09 +00:00
  • 5cbb266ef5 Change behaviour of switch v in &value to make v have by-reference semantics gingerBill 2020-03-24 14:29:54 +00:00
  • 0730e01b24 Merge branch 'master' into llvm-integration gingerBill 2020-03-22 20:57:04 +00:00
  • dfc63dcb60 Fix for in for pointer to map expressions gingerBill 2020-03-22 20:56:46 +00:00
  • 8093062e3b Wrap all LLVM C includes gingerBill 2020-03-19 15:36:13 +00:00
  • 9524739dfc Revert demo.odin gingerBill 2020-03-19 15:31:05 +00:00
  • 054e018e23 Remove dead stuff from build.bat gingerBill 2020-03-19 15:30:10 +00:00
  • 3d81ad46d2 Change demo.odin to default gingerBill 2020-03-19 15:29:32 +00:00
  • ed4d21045b Add LLVM_BACKEND_SUPPORT macro to make the backend optional gingerBill 2020-03-19 15:14:31 +00:00
  • 93955a0fd8 Remove context.std* parameters; Fix unary boolean not gingerBill 2020-03-19 15:03:02 +00:00
  • fc0002ab67 Fix enum type info generation gingerBill 2020-03-19 12:28:39 +00:00
  • 04fe23a3c8 Have different categories for optimization passes gingerBill 2020-03-19 10:57:14 +00:00
  • 1707e004ec Merge branch 'llvm-integration' of https://github.com/odin-lang/Odin into llvm-integration gingerBill 2020-03-15 14:37:46 +00:00
  • 5169dc07c7 Fix lb_add_proc_attribute_at_index gingerBill 2020-03-15 14:37:39 +00:00
  • 18fb6a4be4 Merge branch 'master' into llvm-integration gingerBill 2020-03-15 14:31:26 +00:00
  • 8dba0e332c Fix #590 gingerBill 2020-03-15 14:29:45 +00:00
  • 3951b93d0a Fix branch statements within inline for blocks (partial hack) gingerBill 2020-03-15 14:27:54 +00:00
  • 10bac2445b Fix ir_print for byval types gingerBill 2020-03-13 16:48:10 +00:00
  • 06e364b9bd Apply byval to sret for System V ABI gingerBill 2020-03-13 08:52:23 +00:00
  • ce90509a07 Add initial -mem2reg pass to opt gingerBill 2020-03-13 00:04:03 +00:00
  • a0d0e93475 Fix os.read_entire_file gingerBill 2020-03-12 23:45:46 +00:00
  • 2ce1f4ba9f Revert os_windows.odin behaviour gingerBill 2020-03-12 23:37:24 +00:00
  • a985449c31 Fix os_windows.h gingerBill 2020-03-12 23:24:30 +00:00
  • 6abc93ad84 Fix os.read for windows gingerBill 2020-03-12 23:22:01 +00:00
  • a9bc07dbff Merge pull request #586 from Tetralux/fix-reading gingerBill 2020-03-12 22:35:12 +00:00
  • da283d5a7f Add byval gingerBill 2020-03-12 22:33:49 +00:00
  • 1181d7cf90 Fix os.read / os.read_entire_file Tetralux 2020-03-12 16:32:10 +00:00
  • 2a2d3273ea Add @require for global variables gingerBill 2020-03-12 14:40:13 +00:00
  • 775e6caf31 Merge pull request #583 from machinamentum/llvm-integration gingerBill 2020-03-09 08:46:27 +00:00
  • 4468ddf8f8 LLVM: speed improvement changes. Joshua Huelsman 2020-03-09 03:21:08 -04:00
  • bf0c6f5a30 Fixes for constants and nil parameters gingerBill 2020-03-08 19:38:50 +00:00
  • d1e670335f Fix lb_find_or_add_entity_string_byte_slice gingerBill 2020-03-08 18:50:10 +00:00
  • c6c6c56ba9 Fix mem.set for LLVM C API gingerBill 2020-03-08 18:44:45 +00:00
  • d4e95282c2 Fix llvm.memset for both backends gingerBill 2020-03-08 18:42:30 +00:00
  • 5a02ebe2c8 Fix foreign import dependencies; Fix lbParamPass_Integer ABI gingerBill 2020-03-08 17:57:46 +00:00
  • dae817e5ab Integrate linker code with the new LLVM API backend gingerBill 2020-03-08 17:44:08 +00:00
  • 28502ba53b Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant gingerBill 2020-03-08 12:34:36 +00:00
  • 8dc74a004c Fix nested type declarations name generation, to be internally consistent gingerBill 2020-03-08 11:46:05 +00:00
  • c584456a21 Fix logical binary expressions gingerBill 2020-03-08 10:43:00 +00:00
  • c74d8405ec Merge branch 'master' into llvm-integration gingerBill 2020-03-08 10:13:19 +00:00
  • e0a370f8f1 Remove adding to path in shell.bat gingerBill 2020-03-08 10:12:56 +00:00
  • 4cf70f360b Add clone for ast.Ternary_If_Expr and ast.Ternary_When_Expr gingerBill 2020-03-07 21:41:27 +00:00
  • a83d9f59f6 Fix typo in parser.odin gingerBill 2020-03-07 21:12:52 +00:00
  • 5d14189a18 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-03-07 16:20:04 +00:00
  • fb686bdebd Remove the need for parapoly to print an enum as a string gingerBill 2020-03-07 16:19:55 +00:00
  • 19b9cb7524 Merge pull request #575 from Tetralux/patch-2 gingerBill 2020-03-07 10:46:19 +00:00
  • f92334a769 Basic functionality, except for map and correct nested typename mangling gingerBill 2020-03-07 10:38:14 +00:00
  • 4ee936ab8d Merge pull request #581 from terickson001/linux_stat_fix gingerBill 2020-03-06 15:42:05 +00:00
  • 0c21939600 Merge pull request #579 from powerc9000/patch-1 gingerBill 2020-03-06 15:41:54 +00:00
  • f6f2ab2f25 Fixed bad merge Tyler Erickson 2020-03-05 19:29:32 -08:00
  • 9d163fede8 Merge branch 'master' of https://github.com/odin-lang/Odin into linux_stat_fix Tyler Erickson 2020-03-05 16:52:34 -08:00
  • bb026c99a9 Merged with master Tyler Erickson 2020-03-05 16:49:53 -08:00
  • 8d2ad0da0e Fill in more of the llvm_backend code generation gingerBill 2020-03-05 22:01:07 +00:00
  • db7a3ffd2a Merge branch 'master' into llvm-integration gingerBill 2020-03-05 21:12:16 +00:00
  • c213d72ec6 Fix #580 defer bug gingerBill 2020-03-05 20:58:59 +00:00
  • 01b1385672 Disable tmp_block behaviour for ir_find_or_generate_context_ptr gingerBill 2020-03-05 20:36:53 +00:00
  • e92fdb4a99 x if cond else y and x when cond else y expressions gingerBill 2020-03-05 20:34:30 +00:00
  • 2817bab494 Fix os_linux stat Tyler Erickson 2020-03-05 12:13:22 -08:00
  • 7d93dd6024 Move module pass to after all function passes gingerBill 2020-03-05 19:00:23 +00:00
  • e1da631d26 General functionality without context gingerBill 2020-03-04 22:09:58 +00:00
  • 6151fdb324 Merge branch 'master' into llvm-integration gingerBill 2020-03-04 19:27:01 +00:00
  • 2fe0eaf2ad Fix formatting gingerBill 2020-03-04 13:10:39 +00:00
  • 85f2f4aa88 Fix issues with stat struct. Clay Murray 2020-03-03 19:42:20 -07:00
  • 3f63e12198 Add -subsystem:console and -subsystem:windows flags for windows gingerBill 2020-03-02 18:54:56 +00:00
  • 10cde925ca Add checks for pre-existing type declarations. gingerBill 2020-03-02 18:48:52 +00:00
  • 56240240f6 Range Statement support gingerBill 2020-02-29 14:29:47 +00:00
  • f83e1b8b0a Fix any type and casting to any; Fix switch statement gingerBill 2020-02-29 12:24:52 +00:00
  • a27c68f526 Type_Info initialization gingerBill 2020-02-29 11:12:37 +00:00
  • 8ec5987ae1 Merge branch 'master' into llvm-integration gingerBill 2020-02-29 09:55:25 +00:00
  • 408fa027af Merge pull request #576 from Tetralux/patch-5 gingerBill 2020-02-29 09:53:55 +00:00