aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add `//+private file` to complement `//+private` (`//+private package`)gingerBill2022-02-021-2/+10
|
* Correct false positive check in `check_unique_package_names`gingerBill2022-01-311-0/+5
|
* Add `#no_type_assert` and `#type_assert` to disable implicit type assertions ↵gingerBill2022-01-271-0/+36
| | | | with `x.(T)`
* Handle line comment bettergingerBill2022-01-241-5/+15
|
* Parse comments on enums fieldsgingerBill2022-01-241-1/+41
|
* Update CommentGroup parsing for struct typesgingerBill2022-01-241-1/+1
|
* Correct package docs parsinggingerBill2022-01-171-0/+9
|
* Fix #1381gingerBill2022-01-021-0/+9
|
* Improve usage of `file_id`gingerBill2021-11-151-6/+6
|
* Begin minimizing `Ast` sizegingerBill2021-11-141-8/+12
|
* Merge branch 'master' into new-matrix-typegingerBill2021-10-231-2/+4
|\
| * Allow parsing for `[^]T{}` to improve error messagesgingerBill2021-10-231-0/+3
| |
| * Rename `-ignore-lazy` to `-internal-ignore-lazy`gingerBill2021-10-231-2/+1
| |
* | Support matrix literalsgingerBill2021-10-201-0/+1
| |
* | Change syntax for matrices to `matrix[R, C]T`gingerBill2021-10-191-18/+19
| |
* | Begin work on matrix typegingerBill2021-10-181-1/+53
|/
* Copying file contents rather than memory mappinggingerBill2021-10-121-2/+1
|
* Minor simplification to `#assert` and `#panic` parsinggingerBill2021-09-231-6/+1
|
* Simplify directive parsing for expressionsgingerBill2021-09-231-26/+1
|
* Force file copy on `odin strip-semicolon`gingerBill2021-09-181-1/+2
|
* Make `permanent_allocator()` thread localgingerBill2021-09-131-3/+0
|
* Replace many uses of `heap_allocator()` with `permanent_allocator()`gingerBill2021-09-131-6/+4
|
* Add `-strict-style-init-only`gingerBill2021-09-091-0/+2
|
* Add calling convention `"system"` which is an alias for `"stdcall"` on ↵gingerBill2021-09-081-0/+6
| | | | Windows and `"cdecl"` on other platforms
* Strip semicolons; Make `odin strip-semicolon` replace `..` with `..=` if ↵gingerBill2021-09-061-0/+4
| | | | used as a binary operator
* Strip semicolon if followed by a `}` or `)` on the same linegingerBill2021-08-311-0/+12
|
* Correct parsing rules for `#assert` directives for semicolonsgingerBill2021-08-311-32/+12
|
* Remove dead code and add debug messagesgingerBill2021-08-311-25/+8
|
* Add semicolon stripping command: `odin strip-semicolon`, has the same ↵gingerBill2021-08-311-6/+13
| | | | parameters as `odin check`
* Make `-insert-semicolon` the default nowgingerBill2021-08-311-92/+22
|
* Disable local mutex for the time being.gingerBill2021-08-261-1/+2
|
* Use local mutex for each `AstFile.arena`gingerBill2021-08-261-1/+2
|
* Unify thread pool logic across the rest of the compiler, using a global ↵gingerBill2021-08-261-32/+37
| | | | thread pool
* Change the implementation of `Arena` to use virtual memory, and remove the ↵gingerBill2021-08-261-3/+2
| | | | old gbArena code
* Simplify logic for `parse_binary_expr`gingerBill2021-08-251-16/+17
|
* Remove the old `inline` and `no_inline` tokensgingerBill2021-08-231-24/+1
|
* Rewrite thread_pool.cppnakst2021-08-221-2/+1
|
* Merge branch 'master' into multi-pointersgingerBill2021-08-221-8/+18
|\
| * Improve error handling for missing semicolon separators in a `for` loopgingerBill2021-08-221-8/+18
| |
* | Add multi-pointer types `[^]T`gingerBill2021-08-211-2/+14
|/
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-211-1/+6
|
* Remove unused codegingerBill2021-08-191-3/+0
|
* Remove dead code, and add an extra mutexgingerBill2021-08-181-17/+5
|
* Add mutex to Scope lookups and insertionsgingerBill2021-08-181-13/+13
|
* Allow `+` in import pathsgingerBill2021-08-161-2/+1
|
* Improve parsing for `or_return`; allow `#force_inline foo() or_return;`gingerBill2021-08-161-6/+21
|
* Add `clone_ast` for `or_else` and `or_return`gingerBill2021-08-151-0/+7
|
* Make `or_else` and `or_return` operators (binary and suffix respectively)gingerBill2021-08-151-4/+34
|
* Improve error handling for field list prefixesgingerBill2021-08-151-22/+29
|
* Minor clean up of `parse_field_prefixes`gingerBill2021-08-151-37/+48
|