61 Commits

Author SHA1 Message Date
gingerBill
41a22bd83d or_break and or_continue to core:odin packages 2023-09-30 15:09:59 +01:00
gingerBill
0de7df9eab Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary 2023-07-31 11:37:14 +01:00
gingerBill
c90b7c38f1 Rename strings.Builder procedures to be consistent with the rest of the core library 2022-07-11 11:50:08 +01:00
hikari
698fcb7813 mem: replace size procedures with constants 2022-04-06 18:44:43 +03:00
gingerBill
13cb894b30 Update core:odin for union #shared_nil 2022-03-24 12:00:27 +00:00
gingerBill
ad6ea3d6aa Replace any with union for subtyping in core:odin/ast 2022-02-06 13:31:16 +00:00
gingerBill
9fae575531 Keep -vet happy 2021-09-29 14:49:25 +01:00
gingerBill
344abf2cb2 Make core and vendor adhere to -vet, -strict-style, and -disallow-do 2021-09-11 16:40:19 +01:00
Ricardo Silva
cce76ed614 printer default_style should not add semicolons 2021-09-07 14:18:55 +01:00
gingerBill
251da264ed Remove unneeded semicolons from the core library 2021-08-31 22:21:13 +01:00
gingerBill
4e1c9b71f4 Update core:odin/* for or_else and or_return 2021-08-15 19:05:55 +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
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
50035f257e don't factor in the rhs length for lines that don't have Equal tokens. 2021-05-20 12:13:23 +02: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
40ed7e48d0 remove prints 2021-04-22 00:56:31 +02:00
Daniel Gavin
ab53900c95 check comma count in enum instead 2021-04-22 00:55:25 +02:00
Daniel Gavin
43589a56b7 odinfmt on printer 2021-04-22 00:32:36 +02:00
Daniel Gavin
de1838c0cb align not mutable correctly 2021-04-22 00:23:17 +02:00
Daniel Gavin
ca112c0b6d better placing of the end brace 2021-04-22 00:04:01 +02:00
Daniel Gavin
6eb64f2bdc align enum 2021-04-21 23:40:08 +02:00
Daniel Gavin
25c3b6dc95 align value decls 2021-04-21 23:21:45 +02:00
Daniel Gavin
3464784e5e add proc to format multiline 2021-04-19 19:41:53 +02:00
Daniel Gavin
f1dc7c0b27 more work 2021-04-19 19:38:08 +02:00
Daniel Gavin
f7b8b3a340 ensure that the comments gets pushed if it's in the beginning before package 2021-04-18 22:06:32 +02:00
Daniel Gavin
2cbb3443d3 ran odinfmt 2021-04-18 21:53:52 +02:00
Daniel Gavin
11bd518f36 fix bugs 2021-04-18 21:52:00 +02:00
Daniel Gavin
a721802337 fixing calls in calls 2021-04-18 21:07:58 +02:00
Daniel Gavin
5a8c7b4f90 support multiline for and if 2021-04-16 02:15:29 +02:00
Daniel Gavin
f17fc05ff2 format call and binary expression 2021-04-16 00:44:16 +02:00
Daniel Gavin
a12db382e0 damn, ran the odinfmt with spaces instead of tabs... 2021-04-15 00:24:00 +02:00
Daniel Gavin
22daa50374 ran the odinfmt - looks good, except for multi line binary operations 2021-04-15 00:19:13 +02:00
Daniel Gavin
a09300fb0e more fixes 2021-04-15 00:11:10 +02:00
Daniel Gavin
bab4e5531a remove print 2021-04-14 21:53:11 +02:00
Daniel Gavin
1de928df78 fixed bug in parser on when 2021-04-14 18:43:04 +02:00
Daniel Gavin
aded272b33 split stmts 2021-04-14 18:04:48 +02:00
Daniel Gavin
b0721f1e0c aligning structs now work 2021-04-14 16:31:31 +02:00
Daniel Gavin
7e90ece84a more switch alignment work 2021-04-14 16:03:36 +02:00
Daniel Gavin
1f563f2810 work on switch alignment 2021-04-14 15:34:50 +02:00
Daniel Gavin
c46317c00b fix os error 2021-04-14 02:20:05 +02:00