Commit Graph

85 Commits

Author SHA1 Message Date
gingerBill
14c4fed94c v0.12.0 2020-01-18 15:32:15 +00:00
gingerBill
2252d992d7 Add -disable-assert to disable the code generation of the built-in run-time 'assert' procedure 2019-12-29 21:10:27 +00:00
gingerBill
494b1e7eaa Add -help which prints information about the compiler flags 2019-12-21 11:22:46 +00:00
gingerBill
9db81498d8 Make the string type elements "immutable", akin to char const * in C
Allows for extra security and optimization benefits
2019-12-01 14:10:59 +00:00
castano
813f5d211f Fix linux build. 2019-11-14 09:22:37 -08:00
castano
71d129a709 Add support for running odin through a symlink. Use realpath when obtaining root dir. 2019-11-14 00:50:26 -08:00
gingerBill
aa796a1032 v0.11.1 2019-11-12 21:20:40 +00:00
gingerBill
967981aacd Add -show-more-timings 2019-11-10 21:49:02 +00:00
gingerBill
57565b78a6 v0.11.0 2019-11-01 19:45:39 +00:00
gingerBill
4e8a801b35 strings.split; strings.index; eprint* over print*_err; 2019-10-06 18:13:15 +01:00
gingerBill
66ae4e5afc Change ODIN_OS string for osx from "osx" to "darwin" to allow for other platforms 2019-10-01 20:38:50 +01:00
nakst
22e982c8fb New Essence OS layer; cross-compiling improvements 2019-09-02 16:46:50 +01:00
gingerBill
b891c0feab Fix ranges in switch statement for strings 2019-06-21 22:40:11 +01:00
gingerBill
b0dd3ac599 v0.10.0 2019-06-02 12:27:36 +01:00
gingerBill
5697d6df74 -go-to-definitions (OGTD file format) 2019-05-26 15:16:45 +01:00
gingerBill
426c1ed6f4 -compact flag for 'odin query' 2019-05-25 20:28:49 +01:00
gingerBill
458ec5922e odin query
Output .json file containing information about the program
2019-05-25 20:24:19 +01:00
gingerBill
63bbb9b62f Change the file name rules for imports (use / rather than \ on windows) 2019-04-20 16:47:28 +01:00
gingerBill
dbcd49acfc Add -pdb-name for custom names of PDBs 2019-03-14 23:26:32 +00:00
gingerBill
2878cd8241 New build flag: -define:foo=123 2019-02-23 23:21:27 +00:00
gingerBill
dee28d998f Allow for @indent for attributes that don't require any parameters; Add -ignore-unknown-attributes 2019-01-30 14:24:14 +00:00
gingerBill
3e11b4fe1e Reorganize decl attribute code 2018-12-04 21:02:12 +00:00
gingerBill
50c3f4d74e Add package encoding/cel 2018-12-03 20:26:10 +00:00
gingerBill
00161023cd Endian specific integers: e.g. i32 i32le i32be 2018-12-02 15:53:52 +00:00
gingerBill
444f4f446a -vet flag to do basic vetting of code 2018-11-25 14:14:58 +00:00
gingerBill
5c608b01ba Place optimization level flag in condition again; -memcpyopt -die only in non-debug builds 2018-10-24 10:19:01 +01:00
gingerBill
2bd85e764e Merge pull request #260 from lachsinc/master
[WIP] Provide llvm with more debug info (for Visual Studio debugger support)
2018-10-24 09:40:05 +01:00
gingerBill
307c58d908 Fix compilation error #272 2018-10-17 15:27:36 +01:00
lachsinc
8a789e33b0 Remove llc/opt hack. XX.bc now contains useful debug info thanks to removal of optimization flags in debug builds. 2018-09-18 14:17:43 +10:00
gingerBill
adbb3bb75f Add -lld flag for using "bin\lld-link.exe" on Windows 2018-08-28 19:28:34 +01:00
gingerBill
89f4e7a8db -no-crt flag for windows amd64 2018-08-13 01:22:14 +01:00
gingerBill
4742690dec Fix is_excluded_target_filename 2018-06-21 08:39:07 +01:00
gingerBill
ba67e474d3 Make source code compile with 32 bit (but not build 32 bit code) 2018-06-15 21:46:03 +01:00
gingerBill
b92a8c513e Modify how build settings are handled 2018-06-15 21:38:22 +01:00
gingerBill
106302189c Use gbString for opt_flags 2018-06-03 16:09:24 +01:00
gingerBill
05c5f98e8e Add -debug-compile parameter for llc 2018-06-03 15:55:14 +01:00
gingerBill
6eb505a677 Comment based build tags for packages (basic and temporary) 2018-05-28 20:59:06 +01:00
gingerBill
45b3067068 Remove tmp_allocator from Checker 2018-05-28 14:15:08 +01:00
gingerBill
5c52ffe24e Reorganize runtime package 2018-05-27 21:22:25 +01:00
gingerBill
6aae381e83 Move ODIN_* platform constants to core:os 2018-05-27 11:03:46 +01:00
gingerBill
c067b90403 Add basic package support (no IR support yet) 2018-05-26 23:12:55 +01:00
Joshua Mark Manton
c94d19718b added compiler command for only parsing and typechecking 2018-05-16 23:03:05 -07:00
Mikkel Hjortshoej
cbabc80d92 Calls rc.exe if -resource specified 2018-03-05 11:46:50 +01:00
gingerBill
fd57cfa1ae Fix build_settings.cpp 2018-02-25 20:52:06 +00:00
gingerBill
f23bd2dc27 Revert demo 2018-02-25 20:46:32 +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
d247ba4751 Hexadecimal floats for "perfect values" 0h42f60000 == 123; use bit_cast in compiler 2018-02-25 15:09:16 +00:00
gingerBill
e14e2c3b4d -out and generate executable in the current working directory 2018-02-25 11:49:44 +00:00
gingerBill
038dea9202 v0.8.1
Fix initialization values for variables
2018-02-11 11:15:53 +00:00