Commit Graph

121 Commits

Author SHA1 Message Date
gingerBill
054e018e23 Remove dead stuff from build.bat 2020-03-19 15:30:10 +00:00
gingerBill
3d81ad46d2 Change demo.odin to default 2020-03-19 15:29:32 +00:00
gingerBill
ed4d21045b Add LLVM_BACKEND_SUPPORT macro to make the backend optional 2020-03-19 15:14:31 +00:00
gingerBill
04fe23a3c8 Have different categories for optimization passes 2020-03-19 10:57:14 +00:00
gingerBill
dae817e5ab Integrate linker code with the new LLVM API backend 2020-03-08 17:44:08 +00:00
gingerBill
28502ba53b Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant 2020-03-08 12:34:36 +00:00
gingerBill
f92334a769 Basic functionality, except for map and correct nested typename mangling 2020-03-07 10:38:14 +00:00
gingerBill
b13423d7f7 Global variable initialization support 2020-02-23 16:25:11 +00:00
gingerBill
2180f4a475 Basic work on obj generation 2020-02-23 10:04:25 +00:00
gingerBill
6ed6a91a64 Begin LLVM C API integration 2020-02-01 22:50:57 +00:00
gingerBill
b09297da81 Remove -Wno-writable-strings 2020-01-04 10:59:12 +00:00
vassvik
786c9dfe07 Add the ability to toggle release mode externally when calling build.bat
The following cases builds Odin with optimizations:

    build.bat 1
    build.bat release

Any other options, or the lack thereof, will build without optimizations.
2019-12-22 11:19:42 +01:00
gingerBill
46582a45bd Fix IR string interning type 2019-12-01 18:18:03 +00:00
gingerBill
6b5ea011e7 Add strings.ptr_from_string 2019-12-01 18:06:49 +00:00
gingerBill
d808f9eccf Add range_cache.cpp 2019-10-26 14:29:04 +01:00
gingerBill
1af143b749 Fix debug mode for build.bat 2019-09-02 21:16:17 +01:00
gingerBill
495aaacb81 Fix build.bat 2019-09-02 18:35:00 +01:00
gingerBill
c93872cc13 Thread pool fixes 2019-09-01 22:57:53 +01:00
gingerBill
dd9113786c Remove -keep-temp-files from the build.bat 2019-03-31 13:06:01 +01:00
gingerBill
cdfaa643cc Reimplement -collection; remove static from Odin tokenizer/parser in core library 2019-02-23 23:30:03 +00:00
Mikkel Hjortshoej
c9602953aa last fixes to bats and README 2019-02-06 15:53:40 +01:00
Mikkel Hjortshoej
0185b43c2f Create CI files 2019-02-06 15:53:40 +01:00
gingerBill
aac643f476 Remove debug printing text 2019-01-05 11:30:13 +00:00
gingerBill
1f2fdddc6d Support #! comments 2018-12-26 12:00:16 +00:00
gingerBill
b2df48dadb Fix typo for little endian integers 2018-12-02 16:14:57 +00:00
gingerBill
c8b30de771 Update compiler flags for build.bat 2018-09-09 15:06:04 +01:00
gingerBill
c6bffd7c35 Change build.bat to use release_mode=1 by default 2018-08-05 10:37:09 +01:00
gingerBill
9bef5ec01a Fix anonymous procedures 2018-07-01 16:21:32 +01:00
gingerBill
3f4b6b22dc Change our IR name mangling rules 2018-06-03 17:55:13 +01:00
gingerBill
95482c554d Fix build.bat 2018-05-27 13:53:46 +01:00
gingerBill
86cf9383ea Fix delayed assert collection 2018-05-27 13:49:55 +01:00
gingerBill
1beff539d7 Single file "main" file 2018-05-27 13:22:24 +01:00
gingerBill
7ee9051a56 IR now builds with the new package system 2018-05-27 10:49:14 +01:00
gingerBill
5b6770f3d2 Parse directories to be packages 2018-05-21 20:47:52 +01:00
gingerBill
223c473cf6 Demo fix 2018-02-25 20:57:34 +00:00
gingerBill
1cd453db14 Remove unneeded disabled warnings for MSVC 2018-02-25 12:29: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
Ginger Bill
c6096f9205 Revert to demo.odin 2017-09-29 21:11:51 +01:00
Ginger Bill
11614c2649 Fix old_demos; Fix when bug; Fix enum .names 2017-09-29 21:11:16 +01:00
Ginger Bill
3a644dad78 Fix issue #101 2017-09-20 20:45:40 +01:00
Ginger Bill
8e3b77aba8 Library collections 2017-09-07 20:55:59 +01:00
Ginger Bill
2d20bde495 Remove () grouping for foreign_library 2017-08-27 19:24:30 +01:00
Ginger Bill
b9e347ef50 Replace import_load with using import . 2017-08-27 17:03:27 +01:00
Ginger Bill
294092979e Update build.bat 2017-08-01 21:38:06 +01:00
Ginger Bill
0fae31fb54 Extra type safety; Fix typos 2017-07-31 11:36:00 +01:00
Ginger Bill
1d81b73df9 Basic command line flags: e.g. -opt=0 2017-06-24 22:58:50 +01:00
Ginger Bill
6b65ef6d88 Fix compilation bug on Linux 2017-06-21 17:48:50 +01:00
Ginger Bill
9b61adb97d Build as C++ 2017-06-08 12:03:40 +01:00
Ginger Bill
574b82c0c7 v0.3.0 2017-06-07 22:09:16 +01:00