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 |
|
Daniel Gavin
|
cb4b7efd3e
|
only align comments in same indentation blocks
|
2021-04-14 01:57:42 +02:00 |
|
Daniel Gavin
|
411beaa3bf
|
work on comments
|
2021-04-14 01:15:46 +02:00 |
|
Daniel Gavin
|
1cb3a31f32
|
have to sort attributes because they are not ordered by position(maybe bug on parser)
|
2021-04-14 00:53:34 +02:00 |
|
Daniel Gavin
|
c99afd04ad
|
work
|
2021-04-14 00:08:09 +02:00 |
|
Daniel Gavin
|
3157467e4b
|
bring over the odinfmt code
|
2021-04-13 23:59:40 +02:00 |
|
Daniel Gavin
|
2001384ae6
|
make sure to print comments at the end of the file
|
2021-04-13 23:52:23 +02:00 |
|
Daniel Gavin
|
b09e53d7fe
|
now aligning comments
|
2021-04-13 23:42:58 +02:00 |
|
Daniel Gavin
|
d046c9c072
|
at the same point as the previous formatter now
|
2021-04-13 20:18:50 +02:00 |
|
Daniel Gavin
|
2e8da35851
|
multiline comments work
|
2021-04-13 15:27:04 +02:00 |
|
Daniel Gavin
|
1d3458cadb
|
single line comments work
|
2021-04-12 22:35:26 +02:00 |
|
Daniel Gavin
|
9139ca4673
|
more work on fmt
|
2021-04-12 17:01:43 +02:00 |
|
Daniel Gavin
|
e0e6bba865
|
start new prototype
|
2021-04-11 19:47:33 +02:00 |
|
gingerBill
|
54e6c50769
|
Implement f16 functionality
|
2021-04-01 10:06:00 +01:00 |
|
DanielGavin
|
02bbac0903
|
changed error
|
2021-03-30 12:40:40 +02:00 |
|
DanielGavin
|
b8658547e0
|
Give error if raw literal hits EOF, and stop removing .Using if it exists in flags and allowed_flags.
|
2021-03-30 12:38:58 +02:00 |
|
gingerBill
|
bec42e8dd3
|
Improve core:odin/ast ast.Range_Stmt to use generic number of vals rather than the fixed two to aid with parsing errors
|
2021-03-24 12:34:06 +00:00 |
|
gingerBill
|
08f7d3edbe
|
Allow $ in polymorphic record parameter fields (but disallow mixing)
|
2021-03-23 22:59:10 +00:00 |
|
gingerBill
|
aa93305015
|
Replace usage of inline proc with #force_inline proc in the core library
|
2021-02-23 16:14:47 +00:00 |
|
gingerBill
|
41b854f192
|
Remove #opaque types
|
2021-02-23 15:45:06 +00:00 |
|
gingerBill
|
28f279329d
|
Remove bit_field keyword and parsing logic
|
2021-02-23 15:29:54 +00:00 |
|
gingerBill
|
657c0ac4f5
|
Update odin/parser
|
2021-02-23 14:38:46 +00:00 |
|
gingerBill
|
908a403d78
|
Add #force_inline, #force_no_inline and #unroll for the transition to deprecate and then remove the keywords inline and no_inline
`inline for` will be replaced with `#unroll for`
|
2021-02-23 14:37:05 +00:00 |
|
gingerBill
|
28ed310f31
|
Remove "pure" and "pure_none" calling conventions
|
2021-02-23 13:10:23 +00:00 |
|
gingerBill
|
fa02dc9736
|
Fix #840
|
2021-02-11 10:15:58 +00:00 |
|
DanielGavin
|
3224869c29
|
handle expr is null in parse_binary_expr
|
2021-01-20 16:10:16 +01:00 |
|
gingerBill
|
f6e2d74d10
|
Keep -vet happy
|
2020-12-14 14:36:45 +00:00 |
|
gingerBill
|
cffbd2d276
|
Add odin/parser/parse_files.odin
|
2020-12-13 17:09:41 +00:00 |
|
gingerBill
|
f64584b92a
|
Improve -insert-semicolon rules
|
2020-12-09 23:40:45 +00:00 |
|
gingerBill
|
9eb12889f4
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-12-09 23:35:14 +00:00 |
|
gingerBill
|
6f6a3f2ccf
|
Fix typos for -insert-semicolon
|
2020-12-09 23:35:08 +00:00 |
|
DanielGavin
|
934809397f
|
small fixes to the parser
|
2020-12-09 21:33:10 +01:00 |
|
gingerBill
|
98c8fde098
|
Remove unused tokens
|
2020-12-06 13:17:48 +00:00 |
|
gingerBill
|
1ac84b09a1
|
Add comments to ast.walk related entities
|
2020-12-06 13:04:11 +00:00 |
|
gingerBill
|
21d8562923
|
Add ast.walk and ast.inspect
|
2020-12-06 12:59:26 +00:00 |
|