Alexey
|
4cde6c0865
|
fmt: process TypeOf node
|
2020-04-03 11:59:53 +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 |
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 |
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 |
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 |
Delyan Angelov
|
5e541e1f11
|
vfmt: alias type and sum type + sum type fix
|
2020-03-07 17:37:55 +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
|
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
|
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
|
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
|
1d90c1cbbf
|
nice
|
2020-02-21 18:15:41 +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
|
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 |