gingerBill
9a425de2ae
Merge pull request #7465 from odin-lang/bill/arm64-clobber
...
asm: arm64 support
2026-09-01 10:22:08 +01:00
gingerBill
3c46e132e0
Keep -vet happy
2026-09-01 09:33:08 +01:00
gingerBill
8181e3564f
Add asm syntax to core:odin/parser
2026-08-31 19:17:21 +01:00
thetarnav
db2f88cff9
Improve parsing field docs and comments ( fixes #5353 )
2026-08-29 19:22:18 +02:00
Jeroen van Rijn
6b661becae
Merge pull request #7375 from thetarnav/remove-inline-keywords-core-odin
...
Remove `inline` and `no_inline` keywords from `core:odin`
2026-08-18 19:03:00 +02:00
thetarnav
f1bbd8fe49
Remove inline and no_inline keywords from core:odin
...
Odin uses `#force_inline` and `#force_no_inline` directives, not
keywords.
The cpp parser does not define them as keywords:
/home/thetarnav/Projects/odin/src/tokenizer.cpp:86
Nor does the grammar spec: https://odin-lang.org/spec/grammar/#keywords
2026-08-18 18:25:22 +02:00
Jeroen van Rijn
d6d16b1e58
Merge pull request #7265 from harold-b/hb.fix-parser-attrib-misisng-end
...
Fix unparenthesized attributes missing end position in its AST node
2026-08-09 19:49:08 +02:00
Harold Brenes
046db295a6
Fix unparenthesized attributes missing end position in its AST node
2026-08-09 13:30:04 -04:00
Fernando Nunes
3020cecd08
core/odin/tokenizer: fix broken double-checked lock in init
2026-08-08 20:25:52 -03:00
Brad Lewis
e1dead4ce3
Correct end position for fields with a specialization
2026-08-01 19:42:01 +10:00
Brad Lewis
e5a9dd8567
Set token kind to float for hex floats
2026-07-24 12:41:57 +10:00
Senthilnathan
a880c1abfa
Fix parser failing on comments inside if/when ternary
2026-07-07 14:30:59 +05:30
Senthilnathan
d7fc7c653c
Fix parser failing on comments inside ternary expressions
2026-07-07 14:18:42 +05:30
gingerBill
859290a9de
Support where clauses for proc groups
2026-06-24 13:31:11 +01:00
gingerBill
9be5790dbe
Fix -> (#simd[N]T) like types in signature returns
2026-06-24 11:09:53 +01:00
gingerBill
244430bd4a
Allow for struct #raw_union #packed
2026-06-22 12:55:15 +01:00
Brad Lewis
76fb0aa975
Correct divergence with expr levels causing failures with the odin parser
2026-06-20 15:42:43 +10:00
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
13487a45f2
Fix typo
2026-05-26 10:58:54 +01:00
gingerBill
d762a8247f
Fix look up table
2026-05-25 11:12:49 +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
4b95e8a040
Add generic count of arrays to to doc-format
2026-03-15 18:18:02 +00:00
gingerBill
2f8da5ec67
Add fixed capacity dynamic array to the doc-format
2026-03-15 11:55:04 +00:00
gingerBill
59bc428782
Update core/odin/ast/ast.odin
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2026-03-14 16:22:12 +00: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
a5e1eb56ab
Add explicit_underlying: bool RTTI field for bit_set; add runtime.type_info_underlying
2026-03-03 12:26:42 +00:00
gingerBill
757bdf0e87
Remove TODO
2026-03-01 13:06:11 +00:00
gingerBill
05a951b338
Fix name lookup
2026-03-01 13:05:51 +00:00
gingerBill
c685c312c5
Make the tokenizer work with a custom hash map protected by a spinlock
2026-03-01 13:00:27 +00:00
gingerBill
2b2b5aeefb
Support for init; x in y {} in core:odin/parser
2026-02-12 13:24:35 +00:00
Jeroen van Rijn
e7dbabf668
core:os -> core:os/old && core:os/os2 -> core:os
2026-02-09 15:50:21 +01:00
Jeroen van Rijn
2e970db51d
Link some more of filepath to os2
2026-02-08 12:56:05 +01:00
Jeroen van Rijn
af8bc8bbfc
More conflicts during rebase
2026-02-08 12:51:24 +01: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
gingerBill
7d46684030
Correct UAF bugs caused by doing defer shrink
2025-12-15 09:52:54 +00:00
Brad Lewis
4267f1eb56
Fix out of bounds access when parsing end_pos
2025-11-15 19:28:31 -05:00
gingerBill
fc2cb8fb39
Remove #no_copy
2025-11-05 13:44:14 +00: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
gingerBill
8e410f8204
Add "possibly nil" comments to ast.odin
2025-10-09 14:22:56 +01:00
Brad Lewis
75449283c2
Allow missing trailing comma with proc groups with odin parser
2025-09-10 08:44:06 -04:00