Daniel Gavin
|
f1a126e162
|
Do not save the comment when peeking.
|
2021-12-02 22:44:47 +01:00 |
|
Daniel Gavin
|
517c8ff1dd
|
Include Matrix_Type to the is_literal_type switch statement.
|
2021-11-28 02:14:25 +01:00 |
|
gingerBill
|
8a2c829e07
|
Patch odin doc binary format
|
2021-11-21 14:06:15 +00:00 |
|
Daniel Gavin
|
b0db90de96
|
Add Any_Int as allowed flag in field signatures.
|
2021-11-09 14:29:53 +01:00 |
|
gingerBill
|
90d587df13
|
Support matrix type in core:odin
|
2021-10-27 23:49:37 +01:00 |
|
gingerBill
|
47bef7a557
|
Update doc-format
|
2021-10-27 23:34:56 +01:00 |
|
gingerBill
|
208ba2c116
|
Comment clean up
|
2021-10-27 23:30:12 +01:00 |
|
gingerBill
|
42a8ac7096
|
Add support for matrix type in core:odin/doc-format
|
2021-10-27 23:26:39 +01:00 |
|
gingerBill
|
9fae575531
|
Keep -vet happy
|
2021-09-29 14:49:25 +01:00 |
|
Daniel Gavin
|
50ee65ea9e
|
Make default_parser use the optional_semicolons and add odin parser test.
|
2021-09-20 20:50:01 +02:00 |
|
Daniel Gavin
|
a2a7647c90
|
Fix '>>' operand being tokenized correctly and switch statement with bare semicolon.
|
2021-09-20 20:12:13 +02:00 |
|
gingerBill
|
344abf2cb2
|
Make core and vendor adhere to -vet, -strict-style, and -disallow-do
|
2021-09-11 16:40:19 +01:00 |
|
gingerBill
|
ca33cb990b
|
Strip semicolons in core which were missing
|
2021-09-08 13:12:38 +01:00 |
|
Ricardo Silva
|
cce76ed614
|
printer default_style should not add semicolons
|
2021-09-07 14:18:55 +01:00 |
|
gingerBill
|
720884e0f1
|
Strip even more semicolons if followed by a } or ) on the same line
|
2021-08-31 23:47:57 +01:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
gingerBill
|
ce7698c20e
|
Correct core library usage of the new mem.new behaviour
|
2021-08-23 19:29:01 +01:00 |
|
gingerBill
|
0c5fa2cdd5
|
Fix build.bat
|
2021-08-22 17:09:40 +01:00 |
|
gingerBill
|
36a6805b7c
|
Update doc format for multi-pointers
|
2021-08-22 11:46:26 +01:00 |
|
gingerBill
|
19bf12aa09
|
Update odin/ast for multi pointers
|
2021-08-22 11:46:12 +01:00 |
|
gingerBill
|
93b5befe45
|
Improve error handling for missing semicolon separators in a for loop
|
2021-08-22 11:27:24 +01:00 |
|
gingerBill
|
32bdad322a
|
Improve parsing for or_return in core:odin/parser
|
2021-08-21 13:43:38 +01:00 |
|
gingerBill
|
4e1c9b71f4
|
Update core:odin/* for or_else and or_return
|
2021-08-15 19:05:55 +01:00 |
|
gingerBill
|
dd8fa1d690
|
Prefer ..= over ..
|
2021-08-04 00:36:10 +01:00 |
|
gingerBill
|
af6df7d7c9
|
Improve error cases in core:odin/parser
|
2021-08-04 00:23:31 +01:00 |
|
gingerBill
|
57a17a708b
|
Improve core:odin/parser
|
2021-08-04 00:10:41 +01:00 |
|
gingerBill
|
afff9478c8
|
Make core:odin/tokenizer be consistent with the compiler's version
|
2021-08-03 23:27:26 +01:00 |
|
gingerBill
|
61084d832d
|
Add missing doc_format flags for entities and improve docs for the odin package
|
2021-06-05 15:55:19 +01:00 |
|
gingerBill
|
b957996577
|
Add extra documentation to doc_format.odin
|
2021-06-05 15:26:05 +01:00 |
|
gingerBill
|
9e2eb717fe
|
Correct newline_limit logic
|
2021-05-21 15:22:35 +01:00 |
|
gingerBill
|
f0c9f82e1b
|
Minor changes to printer to use a bit set rather than booleans for list options
|
2021-05-21 13:42:29 +01:00 |
|
gingerBill
|
cc1d3a7b19
|
parser.check_poly_params_for_type
|
2021-05-21 13:07:00 +01:00 |
|
gingerBill
|
d7e85725e1
|
General improves to formatting for the visitor
|
2021-05-21 11:16:07 +01:00 |
|
gingerBill
|
8758afdf4e
|
General fixes for odinfmt
|
2021-05-21 10:21:23 +01:00 |
|
Daniel Gavin
|
44ee0f2cdc
|
Merge branch 'master' into prototype-fmt
|
2021-05-20 12:15:14 +02:00 |
|
Daniel Gavin
|
50035f257e
|
don't factor in the rhs length for lines that don't have Equal tokens.
|
2021-05-20 12:13:23 +02:00 |
|
gingerBill
|
9ccdc40f65
|
Make .Optional_Semicolons a flag for the parser
|
2021-05-16 12:43:35 +01:00 |
|
gingerBill
|
df3512b112
|
Make core:odin use a string for the source rather than []byte
|
2021-05-16 12:38:27 +01:00 |
|
gingerBill
|
ce08e832f7
|
Allow ..= alongside .. as a "full range" operator; Update core:odin/parser etc
|
2021-05-16 12:34:35 +01:00 |
|
Daniel Gavin
|
87a1833862
|
fix weird behavior of nesting proc types in structs
|
2021-05-01 21:26:40 +02:00 |
|
Daniel Gavin
|
9c6ab05981
|
fix tokenizer for ~= and better struct aligning
|
2021-04-29 00:51:24 +02:00 |
|
Daniel Gavin
|
088f4b5039
|
fix out of bounds with empty struct
|
2021-04-28 12:53:04 +02:00 |
|
Daniel Gavin
|
87bfd31664
|
force all enums newlined if there is more than one line
|
2021-04-23 23:42:53 +02:00 |
|
Daniel Gavin
|
5fba548aa0
|
more fixes with wierd comment placements
|
2021-04-23 23:22:48 +02:00 |
|
Daniel Gavin
|
aafbf5bac7
|
odinfmt
|
2021-04-23 22:55:59 +02:00 |
|
Daniel Gavin
|
951e940470
|
handle comments in stupid places
|
2021-04-23 21:52:27 +02:00 |
|
Daniel Gavin
|
3b5b845ea6
|
refractor
|
2021-04-23 16:45:55 +02:00 |
|
Daniel Gavin
|
3f9ad6ba09
|
fix proc group, struct align with internal structs
|
2021-04-23 16:33:11 +02:00 |
|
Daniel Gavin
|
f10f7ebbf1
|
Merge remote-tracking branch 'upstream/master' into prototype-fmt
|
2021-04-23 10:24:05 +02:00 |
|
gingerBill
|
0a66f8c9a3
|
Remove intrinsics.x86_mmx type
|
2021-04-22 10:39:20 +01:00 |
|