aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `#row_major matrix[R, C]T`gingerBill2024-03-191-0/+13
| | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
* Replace `gb_exit(1)` with `exit_with_errors()` where appropriategingerBill2024-03-191-2/+2
|
* Improve parsing for `bit_field`gingerBill2024-02-221-0/+8
|
* Add field tags to `bit_field`gingerBill2024-02-221-2/+8
|
* Remove debug messagegingerBill2024-02-221-1/+1
|
* Give a better error message when the user uses `context` as if it was an ↵gingerBill2024-02-221-1/+6
| | | | identifier in a field list.
* Begin work adding `bit_field`gingerBill2024-02-221-0/+78
|
* Disallow mixture of polymorphic $ names and normal identifiers within record ↵gingerBill2024-02-081-0/+47
| | | | parameters
* Improve error handling for missing library collection provided by the compilergingerBill2024-02-071-3/+12
|
* Fix code styleFourteenBrush2024-02-021-1/+1
|
* Merge remote-tracking branch 'upstream/master'FourteenBrush2024-02-021-10/+29
|\
| * `-default-to-panic-allocator`gingerBill2024-01-281-2/+2
| |
| * Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-281-3/+7
| |
| * Add `#field_align(N)`gingerBill2024-01-281-5/+20
| | | | | | | | | | It sets the minimum alignment for the fields within a struct. This cannot be used with `#packed`, but can be used with `#align(N)`. If `#align(N)` is less than `#field_align(N)`, then a warning will be printed.
* | Fix Unhandled Ast_OrBranchExprFourteenBrush2024-02-021-0/+4
|/
* Add frontend stuff instrumentation toolinggingerBill2024-01-071-1/+3
| | | | | | | //+no-instrumentation @(no_instrumentation) @(instrumentation_enter) @(instrumentation_exit)
* Add `or_break` and `or_continue` constructsgingerBill2023-09-301-9/+56
|
* Correct `get_file_line_as_string` to fix #2829gingerBill2023-09-291-0/+3
|
* Fix #2809 - disallow files to start with `_`gingerBill2023-09-261-0/+11
|
* Fix #2816gingerBill2023-09-261-1/+3
|
* Fix #2818 (enforce `#partial label: switch`)gingerBill2023-09-261-0/+45
|
* Add attribute `@(require) import "foo"` to replace/supplement `_ :: foo`gingerBill2023-08-221-1/+4
|
* Remove unused code in gb.h; Minimize use of `heap_allocator()` in parsergingerBill2023-08-161-52/+47
|
* Require parentheses for `#align(N)`gingerBill2023-08-151-0/+14
|
* Make trailing commas followed by a closing token on the same an error with ↵gingerBill2023-08-081-6/+13
| | | | `-vet-style`
* Make `for init; ; {}` an error without an explicit cond or postgingerBill2023-08-081-0/+7
|
* Remove `switch in` in favour of `switch _ in`gingerBill2023-08-081-1/+4
|
* Disallow `for in` in favour of `for _ in`gingerBill2023-08-081-0/+3
|
* Remove #relative slices; Replace with #relative multi-pointersgingerBill2023-08-051-1/+5
|
* Disallow `import` declarations within a `when` statementgingerBill2023-08-041-0/+7
|
* Go through loads of `TODO`sgingerBill2023-08-011-2/+0
|
* Remove `-strict-style-init-only`gingerBill2023-08-011-2/+0
|
* Add `-vet-style` and `-vet-semicolon`gingerBill2023-08-011-31/+44
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-8/+13
| | | | where necessary
* Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flagsgingerBill2023-07-311-0/+80
|
* Allow named arguments variadic expansion `..`gingerBill2023-06-211-2/+8
|
* Separate out logic for checking mixture of named and unnamed parametersgingerBill2023-06-141-2/+0
|
* Fix #2572gingerBill2023-06-071-1/+5
|
* Parse leading comment above attribute for value declarationsgingerBill2023-05-301-2/+6
|
* Basic support for `#reverse for in` on normal arraysgingerBill2023-05-291-0/+11
|
* Fix #2560gingerBill2023-05-291-2/+12
|
* Minor change to handling of propagation of errors with `---` as a valuegingerBill2023-05-221-7/+7
|
* Patch "no_copy" typo in parser.cppmatias2023-05-101-1/+1
|
* Add extra nullptr checkgingerBill2023-04-271-1/+1
|
* Require parentheses around certain uses of `or_return` expressionsgingerBill2023-04-271-3/+47
|
* Add `struct #no_copy`gingerBill2023-04-151-2/+9
|
* Fix `allow_field_separator` for `foreign import`dev-2023-04gingerBill2023-04-031-3/+5
|
* Fix typo in warning message in parserAlexander Goussas2023-03-241-1/+1
|
* Correctly handle end comment for doc generationgingerBill2023-03-211-1/+12
|
* Change trailing comma require to `-strict-style` onlygingerBill2023-03-211-1/+1
|