Joe Conigliaro
|
a331abf675
|
ast/cgen/parser: combine IfExpr branches into single node
|
2020-03-21 00:39:56 +11:00 |
Alexander Medvednikov
|
b290efa394
|
ast: TypeOf
|
2020-03-19 12:15:42 +01:00 |
Joe Conigliaro
|
6c56528cd7
|
checker: update assoc type
|
2020-03-19 19:52:33 +11:00 |
Joe Conigliaro
|
a456c21249
|
gen: cgen sum cast in struct init
|
2020-03-19 19:40:21 +11:00 |
Alexander Medvednikov
|
28309da1f1
|
cgen: assoc
|
2020-03-19 08:14:09 +01:00 |
Alexander Medvednikov
|
c514f0b672
|
cgen: automatic dereference and match fix
|
2020-03-18 16:07:54 +01:00 |
lydiandy
|
04184f1715
|
ast: make ReturnStmt field public
|
2020-03-18 15:39:26 +01:00 |
Joe Conigliaro
|
c4f6125a31
|
gen/checker: add errors for as cast & for in var
|
2020-03-19 00:50:21 +11:00 |
Joe Conigliaro
|
96af21ff68
|
gen: impl as cast
|
2020-03-18 23:55:46 +11:00 |
Alexander Medvednikov
|
91378583cc
|
cgen: another expected_type fix
|
2020-03-18 12:34:27 +01:00 |
Alexander Medvednikov
|
af289da844
|
ast: MatchExpr: expr_type => cond_type
|
2020-03-18 12:23:32 +01:00 |
Alexander Medvednikov
|
a011b8951a
|
cgen: if/match expressions and other fixes
|
2020-03-18 08:41:49 +01:00 |
Joe Conigliaro
|
3fecf154aa
|
gen: move helper fns to ast
|
2020-03-18 11:19:23 +11:00 |
Joe Conigliaro
|
91e47caf38
|
gen: add if guard to cgen
|
2020-03-18 02:40:41 +11:00 |
Delyan Angelov
|
f73b38a0d8
|
vfmt2: fix literal integer number formatting
|
2020-03-17 02:49:15 +01:00 |
Alexander Medvednikov
|
900ada1112
|
cgen: match: do not use a temp var; minor fixes
|
2020-03-16 10:53:36 +01:00 |
Alexander Medvednikov
|
0f160707a4
|
cgen: GoStmt; experimental parallel parser
|
2020-03-16 08:33:42 +01:00 |
joe-conigliaro
|
c947e6ebe6
|
cgen: cast to sum type
|
2020-03-16 17:42:45 +11:00 |
Alexander Medvednikov
|
37504c487a
|
cgen: sum types: match
|
2020-03-16 03:19:26 +01:00 |
Joe Conigliaro
|
3e05939b65
|
cgen: enum fixes
|
2020-03-15 12:51:31 +11:00 |
Alexander Medvednikov
|
843bb6dac1
|
cgen: lots of fixes
|
2020-03-15 00:46:08 +01:00 |
Joe Conigliaro
|
50ed4004f4
|
ast/table: use common struct fn decl arguments
|
2020-03-15 09:21:36 +11:00 |
Joe Conigliaro
|
cc338df77f
|
parser/checker/gen: update call args to use ast.CallArg
|
2020-03-14 21:11:43 +11:00 |
Alexander Medvednikov
|
b173cea177
|
cgen: optionals
|
2020-03-13 05:57:55 +01:00 |
Alexander Medvednikov
|
4b4c47461b
|
cgen: error fixes; table: simplify; compiler tests
|
2020-03-13 01:43:30 +01:00 |
Alexander Medvednikov
|
92d6eec09a
|
cgen: fix remaining errors. hello world now compiles
|
2020-03-12 09:11:41 +01:00 |
Alexander Medvednikov
|
e0c85f87ae
|
cgen: args fixes
|
2020-03-11 21:11:27 +01:00 |
Alexander Medvednikov
|
aada19f574
|
cgen: fix [] => string casts and for in
|
2020-03-11 19:00:55 +01:00 |
Joe Conigliaro
|
a1314bd199
|
checker/gen/table: impl fn types & sum/other fixes & tidy
|
2020-03-12 02:10:46 +11:00 |
Joe Conigliaro
|
7513dab185
|
table/checker: proper parent field/method lookup & cleanup
|
2020-03-11 20:48:45 +11:00 |
Alexander Medvednikov
|
22e558aecb
|
cgen: fix C style loops without an init; fix integer consts
|
2020-03-11 02:44:30 +01:00 |
Alexander Medvednikov
|
de55a26cfe
|
cgen: lots of fixes
|
2020-03-10 23:21:29 +01:00 |
Joe Conigliaro
|
f7a93a69f6
|
v: fix/gen multi return/assign + merge VarDecl & AssignStmt
|
2020-03-10 22:01:37 +11:00 |
Alexander Medvednikov
|
d9854f2abd
|
cgen: fix mutable receivers
|
2020-03-07 22:37:03 +01:00 |
Delyan Angelov
|
5e541e1f11
|
vfmt: alias type and sum type + sum type fix
|
2020-03-07 17:37:55 +01:00 |
Alexander Medvednikov
|
fbf80dc315
|
cgen: array_set()
|
2020-03-07 16:39:15 +01:00 |
Alexander Medvednikov
|
63032c4bb7
|
cgen: minor fixes
|
2020-03-07 16:23:10 +01:00 |
Joe Conigliaro
|
09d9dd2607
|
v: add map init
|
2020-03-07 18:13:00 +11:00 |
Alexander Medvednikov
|
c14c81ace6
|
cgen: fix ->
|
2020-03-07 04:45:35 +01:00 |
Alexander Medvednikov
|
180b9b971a
|
cgen: string_add()
|
2020-03-07 00:34:14 +01:00 |
Alexander Medvednikov
|
1a8b7d0447
|
cgen: fix slices
|
2020-03-06 22:24:42 +01:00 |
Alexey
|
81ce524705
|
ast: add Expr to AsCast
|
2020-03-06 22:12:15 +01:00 |
Alexander Medvednikov
|
5c8617ec68
|
ast: set IndexType.container_type; array_get()
|
2020-03-06 17:06:03 +01:00 |
Alexander Medvednikov
|
be2480c320
|
cgen: fix several errors
|
2020-03-06 16:31:44 +01:00 |
Alexander Medvednikov
|
91269961d0
|
cgen: array types
|
2020-03-06 13:44:13 +01:00 |
Joe Conigliaro
|
49f3ce0571
|
v2: add method call receiver to cgen & check method args
|
2020-03-06 20:52:03 +11:00 |
Joe Conigliaro
|
7008b1a92c
|
v2: update ident name for resolved const/fn objects
|
2020-03-06 10:10:01 +11:00 |
Alexander Medvednikov
|
9c1e50b1aa
|
vdoc: don't show deprecated functions
|
2020-03-05 16:13:14 +01:00 |
Alexander Medvednikov
|
6659f1751e
|
ast: make IdentInfo public
|
2020-03-05 14:16:08 +01:00 |
Joe Conigliaro
|
272eaaa704
|
v2: remove type fields from parser & some cleanup
|
2020-03-05 23:57:05 +11:00 |