Alexander Medvednikov
|
30f306dc1a
|
another vfmt2 fix
|
2020-04-01 18:25:05 +02:00 |
|
Alexander Medvednikov
|
f657c4b514
|
another vfmt2 fix
|
2020-04-01 18:16:56 +02:00 |
|
Alexander Medvednikov
|
3ef6436bef
|
fix fmt2 test
|
2020-04-01 17:52:50 +02:00 |
|
joe-conigliaro
|
3440d7edd8
|
ast: first step merging CallExpr & MethodCallExpr
|
2020-03-30 21:39:20 +11:00 |
|
Alexey
|
a333ac1888
|
all: remove redundant parentheses in if statements
|
2020-03-29 10:08:42 +02:00 |
|
Alexander Medvednikov
|
7369cb7b86
|
fmt: fix tests
|
2020-03-27 15:19:13 +01:00 |
|
Delyan Angelov
|
2a7bc63919
|
vmft2: support for multiline comments, CompIf, AssertStmt, octal literals
|
2020-03-24 22:18:58 +01:00 |
|
Alexander Medvednikov
|
ab3f6d9202
|
cgen: generate indents for more readable C code
|
2020-03-22 10:12:45 +01:00 |
|
Alexey
|
9c668072b9
|
fmt: fix ForInStmt
|
2020-03-20 20:19:43 +01:00 |
|
Joe Conigliaro
|
15d4b5fcdb
|
checker/fmt/cgen: fun vfmt on changes from previous commit
|
2020-03-21 00:46:00 +11:00 |
|
Joe Conigliaro
|
a331abf675
|
ast/cgen/parser: combine IfExpr branches into single node
|
2020-03-21 00:39:56 +11:00 |
|
yuyi
|
010f3efcf0
|
os: filename => file_name
|
2020-03-19 15:49:07 +01:00 |
|
Delyan Angelov
|
f73b38a0d8
|
vfmt2: fix literal integer number formatting
|
2020-03-17 02:49:15 +01:00 |
|
Joe Conigliaro
|
cc338df77f
|
parser/checker/gen: update call args to use ast.CallArg
|
2020-03-14 21:11:43 +11:00 |
|
yuyi
|
57b1b12ab6
|
os: tmpdir => temp_dir
|
2020-03-10 15:02:09 +01:00 |
|
Joe Conigliaro
|
c9d30f78b7
|
v: no optional for scope.innermost & more blank_ident
|
2020-03-10 23:35:25 +11:00 |
|
Joe Conigliaro
|
f7a93a69f6
|
v: fix/gen multi return/assign + merge VarDecl & AssignStmt
|
2020-03-10 22:01:37 +11:00 |
|
yuyi
|
876b73f92c
|
os: join => join_path
|
2020-03-09 02:23:34 +01:00 |
|
Alexey
|
83b6292105
|
fmt: split tests
|
2020-03-08 15:57:16 +01:00 |
|
Delyan Angelov
|
5f08253f36
|
vfmt: add support for _keep.vv files, that v fmt should keep without changes
|
2020-03-08 15:46:04 +01:00 |
|
Delyan Angelov
|
2bed0d1bb5
|
fmt: extract array_slices_input.vv from simple_input.vv
|
2020-03-08 15:42:38 +01:00 |
|
yuyi
|
783dee1f48
|
os: merge with filepath
|
2020-03-07 22:26:26 +01:00 |
|
Delyan Angelov
|
5e541e1f11
|
vfmt: alias type and sum type + sum type fix
|
2020-03-07 17:37:55 +01:00 |
|
Alexey
|
e26907f079
|
fmt: fix errors in test files
|
2020-03-07 06:04:33 +01:00 |
|
Alexey
|
81ce524705
|
ast: add Expr to AsCast
|
2020-03-06 22:12:15 +01:00 |
|
Joe Conigliaro
|
7daf8f8fd0
|
v2: simplify MatchExpr in vfmt
|
2020-03-04 22:39:18 +11:00 |
|
Joe Conigliaro
|
5872961124
|
v2: update MatchExpr in vfmt
|
2020-03-04 22:14:37 +11:00 |
|
Alexey
|
78c885d657
|
fmt: add support for goto
|
2020-03-02 17:41:32 +01:00 |
|
Alexey
|
8fafaf38a3
|
fmt: add function with variadic arg to test file
|
2020-03-02 17:10:06 +01:00 |
|
Alexey
|
cca5c5537f
|
fmt: extract common code to methods
|
2020-03-02 17:09:45 +01:00 |
|
Alexey
|
c1e095e587
|
fmt: process MatchExpr
|
2020-02-29 20:43:15 +01:00 |
|
Alexander Medvednikov
|
27ce38937c
|
checker: fix Assoc
|
2020-02-29 18:07:29 +01:00 |
|
Alexander Medvednikov
|
d5faf36aa9
|
fmt: comments
|
2020-02-29 17:51:38 +01:00 |
|
Alexey
|
5a5f4ce99a
|
fmt: simplify IndexExpr processing
|
2020-02-29 17:45:08 +01:00 |
|
Alexey
|
ee0a0afb25
|
v2: process or block for CallExpr
|
2020-02-29 15:03:32 +01:00 |
|
Alexey
|
efff66ada7
|
fmt: add pub modifier for public enums
|
2020-02-29 14:38:23 +01:00 |
|
Alexander Medvednikov
|
6855c746bb
|
vfmt: EnumDecl
|
2020-02-28 17:21:24 +01:00 |
|
Alexander Medvednikov
|
ccf4f61521
|
ast: ParExpr, OrExpr, IfGuardExpr; ForInStmt fix; remove all cap vars
|
2020-02-28 15:36:41 +01:00 |
|
Alexander Medvednikov
|
6a198df3af
|
v2: ParExpr; mut var decl
|
2020-02-28 14:41:19 +01:00 |
|
Alexander Medvednikov
|
87205367d1
|
v2: minor fixes
|
2020-02-27 21:51:40 +01:00 |
|
Alexander Medvednikov
|
d619944cf5
|
vfmt: []xxx; mut args
|
2020-02-27 21:00:33 +01:00 |
|
Alexander Medvednikov
|
4f0d505c65
|
v2: if x := ; fix for key, val in ; CastExpr
|
2020-02-27 18:02:40 +01:00 |
|
Alexey
|
ca9fa6407f
|
v2: distinguish public and private constants
|
2020-02-26 22:43:37 +01:00 |
|
Alexey
|
70f085be18
|
v2: process unsafe statements
|
2020-02-26 20:45:03 +01:00 |
|
Alexey
|
b1ea908b3b
|
fmt: process defer statement
|
2020-02-26 20:44:42 +01:00 |
|
Alexander Medvednikov
|
0f8b2399ee
|
fmt: fix new EnumVal
|
2020-02-25 19:59:47 +01:00 |
|
Alexey
|
5918946feb
|
fmt: process attributes
|
2020-02-24 17:18:14 +01:00 |
|
Alexey
|
87ad5a96b9
|
v2: stringify multi-return types
|
2020-02-24 16:38:31 +01:00 |
|
Alexey
|
2bbb8526a3
|
fmt: process RangeExpr properly
|
2020-02-24 16:37:20 +01:00 |
|
Alexey
|
26fa833984
|
fmt: process assignment statement correctly
|
2020-02-23 11:22:07 +01:00 |
|
Alexander Medvednikov
|
2eb4f663d6
|
fix fmt test
|
2020-02-22 17:14:38 +01:00 |
|
Alexander Medvednikov
|
dd29bfe4d2
|
fix fmt test
|
2020-02-22 17:07:03 +01:00 |
|
Alexander Medvednikov
|
d510cd1e0d
|
fmt: else, for in
|
2020-02-22 16:59:50 +01:00 |
|
Alexander Medvednikov
|
5fef8390a1
|
fmt: assoc
|
2020-02-22 14:39:25 +01:00 |
|
Alexander Medvednikov
|
cd41967aa1
|
fmt: struct pub/mut fields, map init
|
2020-02-22 14:13:22 +01:00 |
|
Alexander Medvednikov
|
3c3ca1e61f
|
fmt: fix test
|
2020-02-21 22:56:50 +01:00 |
|
Alexander Medvednikov
|
7acf8efde3
|
fmt: fix import alias
|
2020-02-21 20:12:55 +01:00 |
|
Alexander Medvednikov
|
9be87d03f5
|
type_to_str: fix imported types
|
2020-02-21 19:56:37 +01:00 |
|
Alexander Medvednikov
|
e0c6766a79
|
make "unreachable code" a warning in non-prod builds
|
2020-02-21 18:55:18 +01:00 |
|
Alexander Medvednikov
|
1d90c1cbbf
|
nice
|
2020-02-21 18:15:41 +01:00 |
|
Alexander Medvednikov
|
4c95e59d5c
|
fmt, doc: &; update 0.2 roadmap
|
2020-02-21 18:13:34 +01:00 |
|
Alexander Medvednikov
|
9e6773cba8
|
fmt: optionals; none
|
2020-02-21 17:52:20 +01:00 |
|
Alexander Medvednikov
|
d075be73e8
|
fmt: single line if
|
2020-02-21 16:48:45 +01:00 |
|
Alexander Medvednikov
|
e9931e6f84
|
fmt: wrap_long_line()
|
2020-02-21 16:14:15 +01:00 |
|
Alexander Medvednikov
|
728aeb8092
|
fmt: wrap long lines
|
2020-02-21 15:32:48 +01:00 |
|
Alexander Medvednikov
|
e30bd04579
|
fix fmt test
|
2020-02-19 19:57:21 +01:00 |
|
Alexander Medvednikov
|
ec3d67c19f
|
checker: print multiple errors; none
|
2020-02-19 19:54:42 +01:00 |
|
Alexander Medvednikov
|
092c09d81f
|
vdoc using the new parser
|
2020-02-19 16:13:34 +01:00 |
|
Alexey
|
200d3e6446
|
vfmt: process imports and module name
|
2020-02-18 22:35:14 +01:00 |
|
Alexey
|
39c4842bf9
|
vfmt2: skip arg type if possible
|
2020-02-18 21:02:43 +01:00 |
|
Alexander Medvednikov
|
31c1483b9d
|
vfmt2: fn args, comments
|
2020-02-18 20:20:15 +01:00 |
|
Delyan Angelov
|
290feaac51
|
vfmt2: allow running the new vfmt with 'v fmt -2'
|
2020-02-18 20:00:06 +01:00 |
|
Delyan Angelov
|
b991ca4ebc
|
vfmt2: more convenient way to test multiple files for correct formatting
|
2020-02-18 17:54:14 +01:00 |
|
Alexander Medvednikov
|
ed01ab763c
|
v2/vfmt2: more fixes
|
2020-02-18 03:28:41 +01:00 |
|
Alexander Medvednikov
|
2ea2fed8a5
|
vfmt: minor clean up
|
2020-02-17 22:52:48 +01:00 |
|
Alexander Medvednikov
|
59beec8fae
|
new vfmt using the new parser
|
2020-02-17 22:50:11 +01:00 |
|
joe-conigliaro
|
7f709c3285
|
update copyright years
|
2020-02-03 05:00:36 +01:00 |
|
Alexander Medvednikov
|
14e9c3c7bb
|
rename compiler2.parser to v.parser etc
|
2019-12-27 06:09:16 +01:00 |
|