aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Begin moving `foreign import` import paths to be evaluated in the semantic ↵gingerBill2024-05-271-36/+29
| | | | phase rather than parsing.
* Improve "Expected a type" syntax errorgingerBill2024-05-201-2/+8
|
* Make `..` ranges a complete error rather than a warning now.gingerBill2024-05-131-1/+1
| | | | This should have been an error years ago.
* Make `core:runtime` etc a warning, and an error with `-vet`gingerBill2024-05-131-2/+23
|
* Suggest `-all-packages` if testing empty directoryFeoramund2024-05-121-0/+4
|
* Fix #3567gingerBill2024-05-101-0/+2
|
* With `-vet-style`, give suggestion of separating where clauses with a comma ↵gingerBill2024-05-091-1/+1
| | | | | | rather than '&&' This improves the error messages
* Fix #3530gingerBill2024-05-071-0/+4
|
* Recognize dynamic library names like libraylib.so.5.0.0joakin2024-04-191-1/+1
|
* Add basic suggestion to missing `package` namegingerBill2024-04-151-0/+6
|
* Improve error messages for people using keywords instead of identifiersgingerBill2024-04-081-1/+9
|
* Add better error messages with suggestions for using `context` as an identifiergingerBill2024-04-041-0/+14
|
* Improve C-like syntax mistakes error messagesgingerBill2024-03-271-0/+1
|
* Fix parsing bug on `bit_set[;x]`gingerBill2024-03-271-0/+5
|
* Remove old error message for #3062gingerBill2024-03-241-3/+0
|
* Fix #3319gingerBill2024-03-241-0/+18
|
* Add error block around `error_line` callsgingerBill2024-03-231-3/+3
|
* Treat `*x` as an unary operator to improve error messages for common ↵gingerBill2024-03-231-1/+6
| | | | C-programmer mistakes
* Add `#no_broadcast` procedure parameter to disallow automatic array ↵gingerBill2024-03-211-8/+9
| | | | programming broadcasting on procedure arguments
* Fix error messagegingerBill2024-03-201-1/+1
|
* Fix #3299gingerBill2024-03-201-0/+13
|
* 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
|