Commit Graph

165 Commits

Author SHA1 Message Date
gingerBill
a6fe656f21 foreign import x {"foo.lib", "bar.lib"} 2018-07-29 20:56:09 +01:00
gingerBill
c3c7834246 BigInt support in the constant system 2018-07-28 00:41:31 +01:00
gingerBill
fa4e95105f Loop array arithmetic on large arrays 2018-07-07 11:13:20 +01:00
Morten Vassvik
ea055f1465 Surrounded explicit link paths (.a and .so) and the exe path for 'odin run' in quotes, so that it works in paths containing characters that must be escaped (like spaces) 2018-07-05 15:46:11 +02:00
gingerBill
5fe4c33d0e Allow importation of core:builtin to get built-in entities 2018-06-17 21:46:37 +01:00
gingerBill
268491b224 Use global arena for AstNode allocations 2018-06-09 19:53:06 +01:00
Brett R. Toomey
597c4591bc Merge branch 'packages' of github.com:odin-lang/Odin into packages 2018-06-03 17:13:11 +02:00
Brett R. Toomey
80833ed703 Dsymutil fixes for macOS 2018-06-03 17:12:30 +02:00
gingerBill
05c5f98e8e Add -debug-compile parameter for llc 2018-06-03 15:55:14 +01:00
gingerBill
6202fb8373 Re-allow when statements at the file scope 2018-06-02 19:44:34 +01:00
gingerBill
45b3067068 Remove tmp_allocator from Checker 2018-05-28 14:15:08 +01:00
gingerBill
b7858a66b9 Parallelize per file rather than per package 2018-05-28 12:06:50 +01:00
gingerBill
5c52ffe24e Reorganize runtime package 2018-05-27 21:22:25 +01:00
gingerBill
7ee9051a56 IR now builds with the new package system 2018-05-27 10:49:14 +01:00
gingerBill
c067b90403 Add basic package support (no IR support yet) 2018-05-26 23:12:55 +01:00
gingerBill
5b6770f3d2 Parse directories to be packages 2018-05-21 20:47:52 +01:00
gingerBill
7e4c643401 Disable default struct field values; Update README.md 2018-05-20 16:00:39 +01:00
Joshua Mark Manton
1ee4f849cb now return 1 if there were errors 2018-05-17 02:08:04 -07:00
Joshua Mark Manton
703393fc63 whitespace 2018-05-16 23:08:01 -07:00
Joshua Mark Manton
81420ab246 removed unneeded block 2018-05-16 23:07:27 -07:00
Joshua Mark Manton
c94d19718b added compiler command for only parsing and typechecking 2018-05-16 23:03:05 -07:00
gingerBill
780b81a59f Allow for NO_DEFAULT_STRUCT_VALUES
(will decide later if I want them or not)
2018-05-13 21:09:49 +01:00
gingerBill
e597a8d72e Fix issues with exact integer bounds and remove dead code 2018-05-13 17:38:35 +01:00
gingerBill
de9a4b5164 Disable pointer arithmetic 2018-05-13 16:10:02 +01:00
gingerBill
66b4252931 Fix #210 2018-05-06 15:31:18 +01:00
gingerBill
30f5a3bb93 Move cycle checking to much earlier on in the semantic stage 2018-03-23 20:48:30 +00:00
gingerBill
2e1e1e6034 Type caching 2018-03-23 16:35:41 +00:00
Nakst
db2293144a update essence bindings 2018-03-10 21:33:59 +00:00
Nakst
9fa4aa40b7 fix compile warnings on linux 2018-03-10 20:29:43 +00:00
Mikkel Hjortshoej
3574341b6b Missing .rc error message 2018-03-05 13:10:01 +01:00
Mikkel Hjortshoej
cbabc80d92 Calls rc.exe if -resource specified 2018-03-05 11:46:50 +01:00
gingerBill
08c87e57f8 Remove cwd in odin run for Linux 2018-03-03 10:26:25 +00:00
Morten Vassvik
cb7a343caf Fixed '_alloc_command_line_arguments()' in os_linux.odin to use the new cstrings, and made 'odin run' use the full executable path. 2018-03-01 12:58:57 +01:00
gingerBill
69062ba3ab More code tidying with Array 2018-02-25 20:24:38 +00:00
gingerBill
e75563cb32 Minor code rearrangement 2018-02-25 19:42:12 +00:00
gingerBill
d63885a495 array_make 2018-02-25 19:23:52 +00:00
gingerBill
60a7c68aa6 Minor code reorganization 2018-02-25 14:23:45 +00:00
gingerBill
5357181484 Multithreaded parser (windows only) 2018-02-25 13:45:44 +00:00
gingerBill
e14e2c3b4d -out and generate executable in the current working directory 2018-02-25 11:49:44 +00:00
gingerBill
ed2f49e8d2 Remove dead code; Fix issue regarding order of evaluation of function parameters (in C++) depending on the compiler (clang vs gcc vs msvc) 2018-02-04 20:07:05 +00:00
gingerBill
dce45e7d58 Add ODIN_DEBUG 2018-01-28 14:42:22 +00:00
gingerBill
88ba6d8015 enum #export 2018-01-21 14:30:48 +00:00
gingerBill
8b288a2072 Reimplement opt stage 2018-01-20 16:16:59 +00:00
gingerBill
4e90644527 Remove timing for llvm-opt 2018-01-20 16:15:05 +00:00
gingerBill
6651b65373 Remove need for opt 2018-01-20 16:13:36 +00:00
gingerBill
2e28c9d793 Cache type size/align; Improve speed of ir_print.cpp 2018-01-20 15:12:44 +00:00
gingerBill
add53228b2 -no-bounds-check 2018-01-18 12:22:27 +00:00
gingerBill
419ab6f00c Named return value act as variables; Code reorganization 2018-01-17 19:07:38 +00:00
gingerBill
6b3c4cc379 Remove u128 and i128 2018-01-13 22:26:37 +00:00
gingerBill
054e241033 Localize checker data 2017-12-12 20:23:36 +00:00