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 |
|
Brad Lewis
|
8bab146b2d
|
Check for EOF when scanning file tags
|
2025-08-19 07:20:31 -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 |
|
Jeroen van Rijn
|
bb38775fb1
|
Remove Type_Info_Tuple
|
2025-04-13 21:51:57 +02:00 |
|
gingerBill
|
8629e5c958
|
Keep -vet happy
|
2025-04-10 11:41:05 +01:00 |
|
gingerBill
|
1f814c33dc
|
Support subtargets in build tags: #build darwin:generic and #build linux:android, darwin:ios
|
2025-04-10 11:36:03 +01:00 |
|
gingerBill
|
328d893cb5
|
#unroll(N) for
|
2025-01-10 12:22:18 +00:00 |
|
Damian Tarnawski
|
26415bcb0e
|
Correct handling newlines between build tags in core:odin
Previously I thought that each newline worked as `OR`
basically the same as `,`.
This corrects this to work as `AND` instead.
|
2024-12-01 18:21:26 +01:00 |
|
Laytan Laats
|
9f609dd740
|
odin/parser: fix offsets of value declarations
Fixes #4356
|
2024-10-19 20:02:39 +02:00 |
|
IllusionMan1212
|
d52e0a892c
|
fix(core:{odin,c}/tokenizer): Don't error on valid \uE000 codepoint
|
2024-10-13 00:01:41 +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
|
9a8fb2fb27
|
Fix for infinite loop in core:odin file tags parser when your local copy uses \r
|
2024-09-20 15:12:35 +02: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 |
|
Damian Tarnawski
|
a28d574272
|
Add and test match_build_tags
|
2024-08-29 23:02:49 +02:00 |
|
Damian Tarnawski
|
f93779d425
|
Parse build_project_name as [][]string
|
2024-08-29 22:08:01 +02:00 |
|
Damian Tarnawski
|
a10f988020
|
Move some types to runtime, use reflection instead of lut
|
2024-08-29 21:12:33 +02:00 |
|
Damian Tarnawski
|
39bdf4d710
|
Add missing require_results attr
|
2024-08-29 20:52:27 +02:00 |
|
Damian Tarnawski
|
7862460374
|
Remove useless code
|
2024-08-29 20:52:27 +02:00 |
|
Damian Tarnawski
|
92821300e4
|
Add a file tag parser to core:odin/parser
|
2024-08-29 20:52:27 +02:00 |
|
Laytan Laats
|
ae41779366
|
remove redundant &
|
2024-08-18 21:10:21 +02:00 |
|