WP. Yingamphol
|
d3b7251757
|
Fix error message: 'do' not on the same line as 'for'
|
2026-06-07 20:22:12 +07:00 |
|
gingerBill
|
1c9fa5d0b7
|
Merge pull request #6731 from odin-lang/bill/expand-values-operator
Support `**` as `expand_values` operator: `**x` == `expand_values(x)`
|
2026-06-05 11:42:08 +01:00 |
|
gingerBill
|
b914dc1f32
|
Change compound literal grammar to match the formal grammar
|
2026-06-02 11:10:58 +01:00 |
|
gingerBill
|
fb8a9d0839
|
Support ** as expand_values operator: **x == expand_values(x)
|
2026-05-25 10:28:15 +01:00 |
|
Krzesimir Nowak
|
b924da10a0
|
Be more thorough in detecting generic procedure types
|
2026-05-20 22:11:25 +02:00 |
|
Krzesimir Nowak
|
34b198019f
|
Better error reporting for unary decrement/increment operators
There was a missing routing for those operators in parse_stmt
function.
|
2026-05-05 15:16:49 +02:00 |
|
gingerBill
|
4dceffd049
|
When parsing an incorrect for loop, remove assert
// caused by this:
```
for a
b, c := d()
```
|
2026-03-30 11:50:59 +01:00 |
|
gingerBill
|
f1dbe9c242
|
[dynamic; N]T proof of concept: fixed capacity dynamic array (akin to small_array.Small_Array(N, T))
|
2026-03-11 16:46:33 +00:00 |
|
gingerBill
|
2b2b5aeefb
|
Support for init; x in y {} in core:odin/parser
|
2026-02-12 13:24:35 +00:00 |
|
gingerBill
|
07d814d9cf
|
Add struct #simple to force a struct to use simple comparison if all of the fields "nearly simply comparable".
|
2026-01-29 10:49:26 +00:00 |
|
gingerBill
|
b3f4807b2d
|
Add #must_tail to odin/parser
|
2026-01-15 17:32:32 +00:00 |
|
Brad Lewis
|
4267f1eb56
|
Fix out of bounds access when parsing end_pos
|
2025-11-15 19:28:31 -05:00 |
|
gingerBill
|
593d2e6daa
|
Add #all_or_none
|
2025-11-05 13:30:40 +00:00 |
|
Brad Lewis
|
e2b276f3ea
|
Parse empty idents after selector as a selector expr with an empty field
|
2025-11-01 01:32:46 -04:00 |
|
Brad Lewis
|
44f823afce
|
Correct parser end_pos for multiline strings
|
2025-10-17 21:25:17 -04:00 |
|
Jeroen van Rijn
|
7a9ea3ee6d
|
Further overhaul of package line comments.
|
2025-10-09 23:05:29 +02:00 |
|
Jeroen van Rijn
|
8a35acd506
|
More package lines.
|
2025-10-09 20:11:06 +02:00 |
|
Brad Lewis
|
75449283c2
|
Allow missing trailing comma with proc groups with odin parser
|
2025-09-10 08:44:06 -04:00 |
|
gingerBill
|
38faec757d
|
Correct consume comment groups in both parsers
|
2025-07-11 18:41:40 +01:00 |
|
Brad Lewis
|
bfb70baa39
|
Add documentation to Bit_Field_Field when parsing
|
2025-07-03 21:14:34 -04:00 |
|
Brad Lewis
|
fc58158fb7
|
Fix issue parsing vendor/stb/image with the core:odin/parser parser
|
2025-06-22 09:42:33 -04:00 |
|
gingerBill
|
0ce8373528
|
Formatting Fix
|
2025-05-08 13:23:22 +01:00 |
|
gingerBill
|
328d893cb5
|
#unroll(N) for
|
2025-01-10 12:22:18 +00:00 |
|
Laytan Laats
|
9f609dd740
|
odin/parser: fix offsets of value declarations
Fixes #4356
|
2024-10-19 20:02:39 +02:00 |
|
gingerBill
|
a7d7c92a53
|
#min_field_align & #max_field_align; deprecate #field_align in favour of #min_field_align
|
2024-09-30 13:05:28 +01:00 |
|
Karl Zylinski
|
093ade0504
|
Merge branch 'master' into file-tags-without-comments
|
2024-09-17 19:36:17 +02:00 |
|
Laytan Laats
|
603efa860a
|
add '#caller_expression'
|
2024-09-14 22:13:37 +02:00 |
|
Karl Zylinski
|
b12d312408
|
core/odin: Added new file tag syntax as token. parse_file stores a list of tags that the file tag parser can use later.
|
2024-09-14 17:59:50 +02:00 |
|
Laytan Laats
|
6ef49d4f24
|
core/odin: support #type_assert and #no_type_assert
|
2024-08-30 23:21:35 +02:00 |
|
Laytan Laats
|
f0840ed24e
|
core/odin: support field tags on bit_field fields
Fixes #4044
|
2024-08-11 20:59:54 +02:00 |
|
Rikard Petré
|
6a6f078186
|
Fix missing closing brace for Bit_Field in core:odin/parser
|
2024-08-06 19:48:38 +02:00 |
|
Damian Tarnawski
|
478b2d7444
|
Correct the Array_Type.len comment and assign tok when making Ellipsis node
|
2024-07-29 22:14:42 +02:00 |
|
Laytan Laats
|
27f9f0ba17
|
fix OLS #431, #393
|
2024-07-18 21:06:37 +02:00 |
|
Laytan Laats
|
2b6a926bb6
|
fix OLS #52
|
2024-07-18 21:06:37 +02:00 |
|
gingerBill
|
8642d719f0
|
Imply #no_capture to all variadic parameters
|
2024-07-14 12:19:47 +01:00 |
|
gingerBill
|
c7bd954752
|
Add more uses of #no_capture
|
2024-07-14 11:56:04 +01:00 |
|
gingerBill
|
e296d6fb90
|
Fix loads of indentation issues with mixing spaces and tabs
|
2024-06-29 19:50:51 +01:00 |
|
gingerBill
|
906afa4154
|
Allow for when x in y { (minor oversight in syntax)
|
2024-06-29 10:13:15 +01:00 |
|
Jeroen van Rijn
|
aa27cd4b0b
|
Allow core:odin to parse @(require) import
|
2024-06-27 16:14:16 +02:00 |
|
gingerBill
|
c098739484
|
Remove @(warning) and #warning(...)
|
2024-06-25 09:36:59 +01:00 |
|
gingerBill
|
dab3c832e0
|
Add #warning(<string>) builtin compile time procedure
|
2024-06-20 15:32:30 +01:00 |
|
gingerBill
|
1945218f6d
|
Improve parsing for label: #reverse for and label: #partial switch
|
2024-06-10 14:18:33 +01:00 |
|
gingerBill
|
0ef0894213
|
Fix to bl.tok = path
|
2024-06-03 22:55:24 +01:00 |
|
gingerBill
|
d91054b615
|
Change parser to use ^Expr rather than string for the foreign import paths
|
2024-05-28 00:27:13 +01:00 |
|
gingerBill
|
20d35acce1
|
Fix parser
|
2024-05-10 15:59:14 +01:00 |
|
RilleP
|
330c161625
|
remove semicolon
|
2024-04-11 09:36:28 +02:00 |
|
RilleP
|
730f992bff
|
fix indentation
|
2024-04-10 19:16:38 +02:00 |
|
RilleP
|
95a38d5a96
|
Merge branch 'master' into parsing-package-fixes
|
2024-04-10 19:10:33 +02:00 |
|
Laytan Laats
|
af6d2480fa
|
add bit_field parsing to core:odin/parser
Also adds it to the core type thingy like it is in the compiler.
|
2024-04-10 01:01:32 +02:00 |
|
Aaron Kavaler
|
096b4f5454
|
fixed issue #3264 regarding core:odin/parser not allowing a newline at the end of a compound literal
|
2024-03-18 20:33:02 -07:00 |
|