aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1188 from krux02/minor-fix-3gingerBill2021-09-291-4/+8
|\ | | | | fix #1187
| * fix #1187Arne Döring2021-09-221-4/+8
| |
* | Allow `uintptr` <-> `[^]T`gingerBill2021-09-291-0/+12
| |
* | Fix -collection help typo.Jeroen van Rijn2021-09-281-1/+1
| |
* | Move redundant `auto_cast` error from `-vet` to `-vet-extra`gingerBill2021-09-283-3/+14
| |
* | Fix [^]u8 to cstring conversiongingerBill2021-09-251-0/+6
| |
* | Merge pull request #1194 from Kelimion/defineJeroen van Rijn2021-09-251-26/+46
|\ \ | | | | | | Allow `-define:name=string`.
| * | Allow `-define:name=string`.Jeroen van Rijn2021-09-251-26/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | Slightly rewrote `build_param_to_exact_value` parsing logic. First, try to parse as a bool, then as an integer or float. If both fail, treat the value as a string. To force a string define for e.g. `true`, use `-define:name='true'`.
* | | Correct f64 -> u128/i128 generationgingerBill2021-09-253-1/+5
|/ /
* | Add `#load_or(path_string, default_byte_slice)`gingerBill2021-09-232-35/+47
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-09-231-2/+2
|\ \
| * | Correct levenshtein distancePhil H2021-09-231-2/+2
| |/
* | Minor simplification to `#assert` and `#panic` parsinggingerBill2021-09-231-6/+1
| |
* | Simplify directive parsing for expressionsgingerBill2021-09-233-29/+98
|/
* Merge pull request #1166 from krux02/minor-fix-2gingerBill2021-09-191-2/+7
|\ | | | | fix compiler crash in ast_end_token
| * spaces to tabsArne Döring2021-09-141-7/+7
| |
| * fix crash for ast_end_tokenArne Döring2021-09-141-2/+7
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-09-1836-104/+246
|\ \
| * \ Merge branch 'master' into llvm-12.0.1-windowsgingerBill2021-09-1824-371/+620
| |\ \
| * | | Correct endianness on slicinggingerBill2021-09-122-3/+17
| | | |
| * | | Fix typogingerBill2021-09-111-10/+10
| | | |
| * | | Add `intrinsics.prefetch_*` proceduresgingerBill2021-09-113-1/+93
| | | |
| * | | Update Windows to LLVM 12.0.1gingerBill2021-09-1132-93/+143
| | | |
* | | | Fix #1174gingerBill2021-09-186-10/+24
| |/ / |/| |
* | | Force file copy on `odin strip-semicolon`gingerBill2021-09-183-68/+71
| | |
* | | Refactor `init_tokenizer_with_data` to file memory mapping (Windows only ↵gingerBill2021-09-182-30/+145
| | | | | | | | | | | | currently)
* | | VS: Fix compilation using VS 2022.Jeroen van Rijn2021-09-162-5/+5
| |/ |/|
* | Remove custom alignment limitgingerBill2021-09-132-9/+3
| |
* | LLVM Code Generator: Add explicitly padding between fields in LLVM struct typesgingerBill2021-09-138-88/+235
| |
* | Only store `field_index` remove `field_src_index` (for the time being)gingerBill2021-09-136-20/+21
| |
* | Make `permanent_allocator()` thread localgingerBill2021-09-133-19/+9
| |
* | Replace many uses of `heap_allocator()` with `permanent_allocator()`gingerBill2021-09-138-31/+23
| |
* | Make `TypeStructl.tags` a pointer from a slice (reduce memory usage)gingerBill2021-09-134-18/+10
| |
* | Remove debug codegingerBill2021-09-131-6/+0
| |
* | Reduce size of `Type`gingerBill2021-09-133-18/+26
| |
* | More cullinggingerBill2021-09-133-51/+27
| |
* | Begin minimize `Type` size by replacing `Array` with `Slice` etcgingerBill2021-09-1313-110/+147
| |
* | Fix slice indices endiannessgingerBill2021-09-122-3/+17
|/
* Add error message for minimum required LLVMgingerBill2021-09-111-0/+4
|
* Prepare for LLVM 12.0.1 compatibilitygingerBill2021-09-112-23/+37
|
* Add `-strict-style-init-only`gingerBill2021-09-093-1/+18
|
* Fix typogingerBill2021-09-081-1/+1
|
* Add a minimum alignment on *nix for the compiler in heap_allocator_procgingerBill2021-09-081-4/+14
|
* Add some minor sanity checks to the compiler's `heap_allocator_proc` on DarwingingerBill2021-09-082-12/+23
|
* Add calling convention `"system"` which is an alias for `"stdcall"` on ↵gingerBill2021-09-081-0/+6
| | | | Windows and `"cdecl"` on other platforms
* Remove `goto` in favour of multiple exitsgingerBill2021-09-081-2/+4
|
* Fix #1120 code generationgingerBill2021-09-081-5/+52
|
* Fix code gen bug for slicing multi pointersgingerBill2021-09-081-1/+4
|
* Strip semicolons; Make `odin strip-semicolon` replace `..` with `..=` if ↵gingerBill2021-09-063-4/+35
| | | | used as a binary operator
* Correct fix to `heap_allocator_proc` in compilergingerBill2021-09-061-11/+7
|