Commit Graph

  • 7692061eef Add XOR for booleans Ginger Bill 2017-05-07 20:52:20 +01:00
  • f7f2272c50 Fix fmt_float precision Ginger Bill 2017-05-07 11:42:27 +01:00
  • 03fbdc3f75 Fix IR printing bug with global unicode identifiers Ginger Bill 2017-05-06 23:02:47 +01:00
  • ea6a4859ed Merge branch 'master' of https://github.com/gingerBill/Odin Ginger Bill 2017-05-06 20:56:18 +01:00
  • 615fa82d1f Fix using issue #62 Ginger Bill 2017-05-06 20:55:09 +01:00
  • b60b310121 Merge pull request #61 from ThisDrunkDane/master gingerBill 2017-05-05 21:00:58 +01:00
  • c7f7e562a0 Add following win32 functions - ShowCursor - GetFileAttributesA - FindFirstFileA - FindNextFileA - FindClose Mikkel Hjortshoej 2017-05-05 20:32:48 +02:00
  • a317237404 Fix casing on FILE_ATTRIBUTE_DIRECTORY Mikkel Hjortshoej 2017-05-05 20:22:18 +02:00
  • 51ea59d76a Fix calculation of vector type sizes Ginger Bill 2017-05-04 23:18:54 +01:00
  • 789b297f32 Add hidden __tag for union variables. Ginger Bill 2017-05-04 20:34:50 +01:00
  • 3b25f924cb Remove debug bug Ginger Bill 2017-05-03 11:01:17 +01:00
  • cc6282a6e3 Fix alignment and size bug of enums; Remove #ordered and make the default #ordered. Ginger Bill 2017-05-02 21:16:09 +01:00
  • 206a3e093c Remove check on array/slice/dynamic element size Ginger Bill 2017-05-02 20:17:53 +01:00
  • 19bde275a3 Add files in core v0.2.1 Ginger Bill 2017-05-01 15:30:16 +01:00
  • 634ee450f4 v0.2.1 Ginger Bill 2017-05-01 15:28:26 +01:00
  • 750d7256fc Unary expression for vector (fix) Ginger Bill 2017-05-01 15:27:21 +01:00
  • fae5df2ed8 Fix IR vector arith conv bug Ginger Bill 2017-05-01 15:05:56 +01:00
  • 01d9161772 Fix value conversion with enum value on for in. Ginger Bill 2017-05-01 10:10:07 +01:00
  • aceabb2f2f for in iteration of Enum Type (request from issue #58) Ginger Bill 2017-05-01 10:02:25 +01:00
  • 04f5fff7fa Improve vector math; Make bprint* return string Ginger Bill 2017-05-01 00:38:26 +01:00
  • dc5587eae2 Fix statement parsing of unary: & and ^ Ginger Bill 2017-04-30 17:20:37 +01:00
  • 7057034b75 v0.2.0 v0.2.0 Ginger Bill 2017-04-30 16:28:13 +01:00
  • 1430ca30a3 Fix subtype polymorphism implicit conversion Ginger Bill 2017-04-30 16:22:24 +01:00
  • e63393e394 Add type assertion for any Ginger Bill 2017-04-30 15:29:46 +01:00
  • 784f3ecf7e Syntax change: cast(T)x => T(x); union_cast(T)x => x.(T); transmute(T)x => transmute(T, x); y:=^x => y:=&x; Sorry for all the code breaking in this commit :( Ginger Bill 2017-04-30 15:09:36 +01:00
  • 54ea70df98 Fix issues #50 and #55 Ginger Bill 2017-04-29 20:06:29 +01:00
  • d05ec5e484 Fix link time error about missing -fPIC flag Constantine Tarasenkov 2017-04-28 18:08:11 +03:00
  • c7575164cc Revert to previous demo Ginger Bill 2017-04-28 11:03:19 +01:00
  • 99125dc743 Fix issue #51; begin work on atomic types Ginger Bill 2017-04-28 11:01:46 +01:00
  • b78e970698 Fix issue #48 dependency issue Ginger Bill 2017-04-26 23:51:13 +01:00
  • 5b8be25938 fmt.String_Buffer, Fix issue #44, Tweak overloading rules Ginger Bill 2017-04-26 19:43:17 +01:00
  • 29efdc5fc1 Fix initialization of global any types Ginger Bill 2017-04-25 15:02:35 +01:00
  • a80872b60d Fix checking if a procedure terminates for for loops. Ginger Bill 2017-04-25 09:46:30 +01:00
  • 822bb51b55 Swap memory layout of any Ginger Bill 2017-04-23 18:03:29 +01:00
  • c2fa79012e Fix find_using_index_expr Ginger Bill 2017-04-23 11:04:22 +01:00
  • 3fd37c6dc5 Internal change: IntervalExpr is now a BinaryExpr Ginger Bill 2017-04-22 10:10:49 +01:00
  • 0ea815db49 Fix constant bounds checking for slicing Ginger Bill 2017-04-22 09:40:32 +01:00
  • 91ed51ff5c Continue work on custom SSA; Fix double declaration in when statements Ginger Bill 2017-04-21 17:56:29 +01:00
  • 4d0afc55c3 Making slicing a little more robust Ginger Bill 2017-04-21 10:03:27 +01:00
  • 9a1566d665 Interval expressions for match statements Ginger Bill 2017-04-21 00:13:20 +01:00
  • a713e33007 Change interval syntax: .. open range, ..< half-closed range Ginger Bill 2017-04-20 23:22:45 +01:00
  • c5411a25a9 Change Union representation for LLVM IR; fix dynamic array size Ginger Bill 2017-04-19 18:58:23 +01:00
  • 95692fda52 Fix bug with union literal checking crashing the compiler Ginger Bill 2017-04-18 21:20:41 +01:00
  • 813a028ed0 Fix procedure calls from non-regular addressing modes Ginger Bill 2017-04-17 22:17:16 +01:00
  • 0c22081e5f Fix error printing for basic directives Ginger Bill 2017-04-17 19:58:43 +01:00
  • 6d9fadf351 Make the ABI changes only affect windows TODO: decide upon rules for *nix systems Ginger Bill 2017-04-17 12:01:04 +01:00
  • a213061f33 Change tag checking order Ginger Bill 2017-04-16 23:08:48 +01:00
  • d1a0a46141 Fix issue #37 for procedure literal scopes Ginger Bill 2017-04-16 22:48:29 +01:00
  • 187b186112 Add #require_results for procedures Ginger Bill 2017-04-16 22:30:48 +01:00
  • 5041a35b95 Fix ir printing of constant slices Ginger Bill 2017-04-16 22:07:26 +01:00
  • 92d4fcedee Update ir type aggregate rules for transmute Ginger Bill 2017-04-16 16:44:45 +01:00
  • c69df7cd3a Exit program if there were syntax errors Ginger Bill 2017-04-16 16:38:05 +01:00
  • 67d8f48553 Calling convention, change from bitcast to transmute Ginger Bill 2017-04-16 16:28:39 +01:00
  • b4a339f2e3 Call convention, pass by pointer: pointers are 16 byte aligned Ginger Bill 2017-04-16 10:54:05 +01:00
  • 0d7bf58b60 Revert to the old demo Ginger Bill 2017-04-16 10:40:24 +01:00
  • abb9930725 IR emit C ABI compatible types for calling conventions (Only for x86/amd64 like processors at the moment) Ginger Bill 2017-04-16 10:38:42 +01:00
  • 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