aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Minimize TokenPos size by using `i32` for line/column/offset and file_id ↵gingerBill2021-03-041-1/+1
| | | | | | instead of `String` To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
* Add `-vet-extra` (checks for unneeded casts and transmutes)gingerBill2021-03-031-0/+11
|
* update essence API headernakst2021-02-261-1/+1
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-02-251-1/+2
|\
| * Merge pull request #852 from Tetralux/fix-dll-macgingerBill2021-02-251-1/+2
| |\ | | | | | | Fix -build-mode:shared on Darwin
| | * Fix -build-mode:shared on DarwinTetralux2021-02-241-1/+2
| | | | | | | | | | | | | | | Apparently, the '__$startup_runtime' symbol to initialize RTTI stuff has three underscores (not two) on Darwin!
* | | Make USE_NEW_LLVM_ABI_SYSTEM the actual behaviour and remove the previous ↵gingerBill2021-02-251-4/+2
|/ / | | | | | | approach
* | Enforce -llvm-api on Mac M1gingerBill2021-02-251-1/+10
| |
* | Remove sret attribute in llvm_abi.cppgingerBill2021-02-251-0/+4
| |
* | Get compiling on Mac Mini M1gingerBill2021-02-241-0/+8
| |
* | Fix new flagsgingerBill2021-02-231-2/+2
| |
* | Add flags `-ignore-warnings` and `-warnings-as-errors`gingerBill2021-02-231-3/+29
|/
* Add extra error checksgingerBill2021-01-181-0/+7
|
* Add `-no-entry-point` to helpgingerBill2021-01-041-0/+6
|
* Update main.cppgingerBill2020-12-061-1/+1
|
* Merge branch 'master' into parser-experimentsgingerBill2020-12-061-183/+378
|\
| * Update package json for new map layout; Correct llvm-api includes for *nixgingerBill2020-11-251-0/+4
| |
| * Update `odin doc` to support multiple package outputs by passing multiple ↵gingerBill2020-11-181-34/+33
| | | | | | | | | | | | | | paths; Replace `-all` with `-short` Example: odin doc core/path core/path/filepath
| * Improve `system_exec_command_line_app` functionality; Restrict `test_*` ↵gingerBill2020-11-171-81/+30
| | | | | | | | procedures to `*_test.odin` files
| * Fix up `system_exec_command_line_app` exit code codegingerBill2020-11-171-4/+18
| |
| * Begin rudimentary work on implementing `odin test` tooling with ↵gingerBill2020-11-171-5/+10
| | | | | | | | `*_test.odin` files
| * Add more documentation for odin doc flagsgingerBill2020-11-171-0/+8
| |
| * Improve flags for `odin doc`gingerBill2020-11-171-1/+17
| |
| * Basic `odin doc` supportgingerBill2020-11-171-0/+23
| |
| * Improve flag handling to check for invalid usesgingerBill2020-11-171-56/+77
| |
| * Add `-show-unused-with-location`gingerBill2020-11-171-64/+34
| |
| * Add `-show-unused` (Shows unused package declarations of all imported packages)gingerBill2020-11-171-0/+159
| | | | | | | | Crude output at the moment but better than nothing
| * Improve logic for x->y() shorthandgingerBill2020-11-151-3/+0
| |
| * Implement custom temporary allocator using ring buffergingerBill2020-11-151-7/+7
| |
| * Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a blockgingerBill2020-11-151-0/+1
| |
| * Begin clarifying allocation patterns by changing from `heap_allocator` to ↵gingerBill2020-11-151-1/+15
| | | | | | | | specific arenas
| * For the sake of consistency, fixed the placement of the -no-entry-point flag ↵F0x1fy2020-11-101-1/+1
| | | | | | | | check.
| * Removed unnecessary newline from previous commit.F0x1fy2020-11-101-1/+0
| |
| * Added -no-entry-point flag and relevant check.F0x1fy2020-11-101-0/+7
| |
| * Fix -build-mode:shared type table on UnixTetralux2020-11-061-37/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #527. Previously on Linux, '__$startup_runtime', the procedure that initializes the type table for runtime typeids, was NOT called when a shared library was loaded by the dynamic loader. This caused the library to not have its type table populated, which caused an assert to fail if you tried to use runtime typeids - like core:fmt, for example. This commit fixes this by calling ld instead of clang, when building a shared library, so that we can pass "-init '__$startup_runtime'" to it, when building a shared library. Try as I might, I could not get clang to correctly pass through the linker flags that I wanted.
| * Fixes text layout now via GitHubPlatin212020-10-311-25/+20
| |
| * Revert "Changed tab width was on 2 now 4"Platin212020-10-311-25/+31
| | | | | | | | This reverts commit fc7c0ca3b0413a90fabd5d41a43bff227e61477f.
| * Changed tab width was on 2 now 4Platin212020-10-311-31/+25
| |
| * Sets llvm api back to use the generic sdk linkPlatin212020-10-311-1/+1
| |
| * Combines all link-able types to a single if and adds .o for linkingPlatin212020-10-311-11/+17
| |
| * Fix for local/lib linking from brew for macOSPlatin212020-10-311-4/+4
| |
* | Add experimental `-insert-semicolon` functionality to tokenizer and parsergingerBill2020-11-011-0/+6
|/
* Add `-build-mode:assembly` for `-llvm-api`gingerBill2020-10-201-4/+17
|
* Add `-microarch:<string>` (e.g. `-microarch:native`)gingerBill2020-10-201-3/+11
|
* Adds -syslibroot to linker command needed for System.frameworkPlatin212020-09-271-2/+10
|
* Add `-disallow-do`gingerBill2020-09-231-0/+6
|
* update essence platformnakst2020-09-151-1/+1
|
* Add -default-to-nil-allocator flag (sets `ODIN_DEFAULT_TO_NIL_ALLOCATOR`)gingerBill2020-09-151-2/+10
|
* Add git sha to `odin version` commandMikkel Hjortshoej2020-08-231-1/+11
|
* Allow multiple `-define` flagsgingerBill2020-07-161-1/+8
|