Commit Graph

  • 169310a9f6 Fix non-ascii function parameters in LLVM IR Ginger Bill 2017-04-15 23:14:14 +01:00
  • 23a0a6de4b Add parse_int; Fix union bugs with size, alignment, and recursive definition checking Ginger Bill 2017-04-14 21:47:59 +01:00
  • 0d2dbee84e Fix addressing mode rules for match in statements Ginger Bill 2017-04-13 22:42:36 +01:00
  • d8d22e34dd Fix fmt for type; remove dead stuff Ginger Bill 2017-04-13 19:29:17 +01:00
  • 627ee002e8 Fix: map key not getting transferred on rehash Ginger Bill 2017-04-11 23:11:05 +01:00
  • 8e73d1ce1f Fix map bug which removed N values from the beginning Ginger Bill 2017-04-11 22:43:33 +01:00
  • b53d16d1d5 Remove debug text Ginger Bill 2017-04-11 21:24:10 +01:00
  • f5819eafa9 Fix map assignment bug due to growth Ginger Bill 2017-04-11 21:13:21 +01:00
  • 5916e71d4f Fix slicing bug on dynamic arrays Ginger Bill 2017-04-11 16:00:49 +01:00
  • 913b9b6447 Remove odin.exe Ginger Bill 2017-04-10 22:30:38 +01:00
  • 8e55bb2a6c Fix append crash when pointer is passed Ginger Bill 2017-04-10 21:09:04 +01:00
  • 98d493504b Fix segfault with heap allocation root 2017-04-10 20:48:56 +01:00
  • 3a3202fbc6 Change code to match original MSVC Ginger Bill 2017-04-10 13:27:09 +01:00
  • aaf355e750 Basic Linux Build! Ginger Bill 2017-04-09 22:33:32 +01:00
  • 0683d2b4f4 Merge pull request #33 from zangent/master gingerBill 2017-04-09 22:01:22 +01:00
  • d7fdd3d7b8 Add raw.odin Forgot to do this in the previous commit, whoops :P Ginger Bill 2017-04-09 11:45:41 +01:00
  • 83ebb24015 Move to Raw_* types to raw.odin; Add size and align members to Type_Info Ginger Bill 2017-04-07 14:05:28 +01:00
  • 70f9cacdce Fix cast to any of untyped constants Ginger Bill 2017-04-07 09:55:19 +01:00
  • 6b33b254e9 Merged from upstream, fixed 'args' name colission Zachary Pierson 2017-04-06 18:14:42 -05:00
  • c0019cc305 Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-04-06 17:50:23 -05:00
  • c067a1f0ec Fix ir bugs: global variable names, untyped to any assignment Ginger Bill 2017-04-06 11:12:11 +01:00
  • 63345cd0d8 Bridged a bugfix from os_windows to other os's. Zachary Pierson 2017-04-04 18:51:36 -05:00
  • e41d6261c2 Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-04-04 18:46:05 -05:00
  • 3e80411d37 Fix issue #31; Removed down_cast Ginger Bill 2017-04-04 21:54:55 +01:00
  • f952c7c747 Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-04-03 00:08:00 -05:00
  • 642256f9ba I accidentally left debug stuff (like abs paths) in! Whoops! Zachary Pierson 2017-04-02 18:46:31 -05:00
  • c9c82da1f3 It's terrible, but I added _some_ form of launch args support for Linux/macOS Zachary Pierson 2017-04-02 18:42:58 -05:00
  • 382a5ca6a2 Update and regression test old demos Ginger Bill 2017-04-02 22:03:52 +01:00
  • 96e8bb5b6f Add website to README.md Ginger Bill 2017-04-02 20:20:14 +01:00
  • 22afac2b90 Update README.md with latest demo Ginger Bill 2017-04-02 20:10:56 +01:00
  • 01da0d1377 Fix make for dynamic arrays Ginger Bill 2017-04-02 18:28:45 +01:00
  • 8ce58573df len, cap, make; remove .count, .capacity, new_slice Ginger Bill 2017-04-02 18:16:45 +01:00
  • ce0d874efd Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-04-02 03:29:51 -05:00
  • 2c8b99337b Fix conj Ginger Bill 2017-04-01 22:55:33 +01:00
  • 5008e2c88b Add Quaternions: quaternion128, quaternion256 Ginger Bill 2017-04-01 22:41:23 +01:00
  • 90fc9abeae Fix constant conversion for complex numbers from integers Ginger Bill 2017-04-01 12:12:08 +01:00
  • dc303cde21 Complex numbers: complex64 complex128 Ginger Bill 2017-04-01 12:07:41 +01:00
  • 24b33374b7 Reverted the main proc changed, after a chat with Bill about better solutions. Zachary Pierson 2017-03-31 05:31:45 -05:00
  • 3315dc7f25 Literally just a commit to revert a previous one. Zachary Pierson 2017-03-31 05:30:09 -05:00
  • 77b3295de5 Added checking for params and return values in main Zachary Pierson 2017-03-30 01:21:05 -05:00
  • 1349aa6f2c Merge https://github.com/gingerBill/Odin, cleaned up a bit, fixed the object file version message on macOS Zachary Pierson 2017-03-30 00:26:46 -05:00
  • a75ccb6fbc v0.1.3 v0.1.3 Ginger Bill 2017-03-27 20:32:36 +01:00
  • 7a28827602 Forgot to include stdio.h since Win32 won't resolve it otherwise. Zachary Pierson 2017-03-21 19:30:54 -05:00
  • c61015b1fe Updated shell.bat for Visual Studio 2017 Zachary Pierson 2017-03-21 19:17:41 -05:00
  • e935f8e2ff Fixed os_linux and os_x read_entire_file function not null-terminating data. Zac Pierson 2017-03-21 16:00:11 -05:00
  • 690c682847 Remember kids, always test your code. There was a variable name colission in dlsym D: Zac Pierson 2017-03-21 14:57:09 -05:00
  • f541dd40db Fixed some memory leaks and made os_* use strings.odin Zac Pierson 2017-03-21 14:54:29 -05:00
  • c7bb861d3c Merge https://github.com/gingerBill/Odin "Fixed" a proc overload bug. Still needs a *real* fix. Zac Pierson 2017-03-21 14:16:42 -05:00
  • 188b290dd5 Update version number Ginger Bill 2017-03-19 21:03:56 +00:00
  • c6ff961088 Add base 12 in strconv.odin Ginger Bill 2017-03-19 21:03:29 +00:00
  • c26990c22d Multiple type cases for match in Ginger Bill 2017-03-19 20:55:39 +00:00
  • c34d839f9f Add named branches for match statements Ginger Bill 2017-03-19 17:36:08 +00:00
  • 5562364a98 Add branch labels for loops; using list Ginger Bill 2017-03-19 16:59:11 +00:00
  • 32150e401e Update gb.h Ginger Bill 2017-03-17 12:30:59 +00:00
  • aaec8bf423 windows.odin TYPE_NAME to Type_Name; More SSA work and SSA printing for debugging Ginger Bill 2017-03-12 16:42:51 +00:00
  • 0fcbda951a Finally fix signed integer conversion and printing Ginger Bill 2017-03-10 10:34:25 +00:00
  • e2734a2dc6 Begin work on the custom backend Ginger Bill 2017-03-05 21:22:33 +00:00
  • 5adfbec847 Refactoring of code: remove make prefix on many procedures Ginger Bill 2017-03-05 15:03:01 +00:00
  • 4ef4605d6d Move files to misc Ginger Bill 2017-03-03 11:20:22 +00:00
  • 2aa402f462 Cleanup root directory Ginger Bill 2017-03-03 11:19:12 +00:00
  • 00f6bee454 Update README.md Ginger Bill 2017-03-03 11:15:34 +00:00
  • 6e1864d21c Remove all binaries llvm-4.0-windows Ginger Bill 2017-03-03 11:13:05 +00:00
  • fb2d611dcd Update llvm binaries to latest version; Update utf8proc; Ginger Bill 2017-03-03 11:09:37 +00:00
  • d890731716 Merge https://github.com/gingerBill/Odin Zac Pierson 2017-03-02 15:41:19 -06:00
  • 9e8c9be1ea Allow pointers to append; Fix strconv stuff; new_slice allows for capacity Ginger Bill 2017-03-02 19:24:34 +00:00
  • 231ea8b026 Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-02-27 23:25:47 -06:00
  • 9bc37f4400 fmt.odin uses ^[]byte rather than custom Buffer type Ginger Bill 2017-02-26 15:34:02 +00:00
  • f29e303ce7 Slices now have a capacity. Ginger Bill 2017-02-26 15:14:08 +00:00
  • 3c9143957c Ellipsis is now just ..; Remove half-closed range operator and treat all of them as half-closed; slice expression uses ..; Ginger Bill 2017-02-26 14:19:03 +00:00
  • 18b3c0b2fc Fix fmt integer width printing Ginger Bill 2017-02-26 09:42:24 +00:00
  • c59f6b7d0b ++ -- statements; add strconv.odin (and replace some of the fmt procs); Fix ~ on 64 bit constants; Fix integer casts from smaller to larger size Ginger Bill 2017-02-26 00:44:26 +00:00
  • 5bbdb3a3a3 Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-02-25 02:07:58 -06:00
  • 67ed8a9a4a Fix Tuple type info bug Caused by not having type safe tagged unions :P (Silly C) Ginger Bill 2017-02-24 22:56:34 +00:00
  • 27aa07307b Merge https://github.com/gingerBill/Odin Zachary Pierson 2017-02-24 15:53:56 -06:00
  • 4cc4d604bc Add core/strings.odin Ginger Bill 2017-02-24 21:11:05 +00:00
  • eec709c545 Fix fmt.odin printing enums Ginger Bill 2017-02-24 20:55:35 +00:00
  • 9b2f5c359a v0.1.1 v0.1.1 Ginger Bill 2017-02-24 19:48:18 +00:00
  • a982c51c30 Fix minor bugs in IR for slices Ginger Bill 2017-02-23 22:22:56 +00:00
  • 20b9f1ff59 Added getenv to the *nix stdlib. Zac Pierson 2017-02-23 15:28:25 -06:00
  • 561c583b3f Merge https://github.com/gingerBill/Odin Zac Pierson 2017-02-22 10:57:30 -06:00
  • 047c0e4bcc A decent union type with common fields and variants Ginger Bill 2017-02-21 21:21:54 +00:00
  • 8d5896ab7e Merge https://github.com/gingerBill/Odin Zac Pierson 2017-02-20 10:14:52 -06:00
  • a94dfdf21d Begin changing union syntax Ginger Bill 2017-02-19 19:55:19 +00:00
  • c0d5237b75 Unexported struct fields on selectors Ginger Bill 2017-02-19 12:47:02 +00:00
  • 6fdcbefe5d Unexported struct fields Ginger Bill 2017-02-19 12:38:49 +00:00
  • 3cec2550d9 delete for maps Ginger Bill 2017-02-19 11:50:42 +00:00
  • 758dd9ba16 Fix overloading bug due to #import .; Add sys/wgl.odin Ginger Bill 2017-02-19 11:35:33 +00:00
  • 0c37aa9ea0 Fix overloading bug due to comparison of named types Ginger Bill 2017-02-18 22:19:35 +00:00
  • 9ff474f387 Named return values but do not affect other declarations Ginger Bill 2017-02-18 12:02:11 +00:00
  • d2f9d20833 Change ternary expression precedence Ginger Bill 2017-02-18 10:41:48 +00:00
  • 802b1a70f8 Fixed an error in function naming in os_linux Zac Pierson 2017-02-15 11:20:11 -06:00
  • aaa4dd5c36 Merge https://github.com/gingerBill/odin Zac Pierson 2017-02-15 10:21:38 -06:00
  • 71100ed427 Ternary expression (removed if and block expression) Ginger Bill 2017-02-14 19:26:32 +00:00
  • 3ecf3505fd Ignore previous silly commit :P I shouldn't have move it Ginger Bill 2017-02-14 17:34:02 +00:00
  • daa1cd55a1 Move error handling for casting Ginger Bill 2017-02-14 17:33:11 +00:00
  • 2722de65b7 Prevent cast on pointer to union types Ginger Bill 2017-02-14 17:24:56 +00:00
  • 8b5e3428a1 Optional ok for union_cast (similar to map indices) Ginger Bill 2017-02-14 16:37:24 +00:00
  • d1f65097c4 Fix immutable rules; add some general documentation Ginger Bill 2017-02-14 15:19:29 +00:00
  • 74d15ab84b Reimplement immutable with different rules. Ginger Bill 2017-02-14 12:35:50 +00:00
  • 763cd2649d Fix index assignment rules for indirection Ginger Bill 2017-02-14 12:21:02 +00:00