Delyan Angelov
|
705e260180
|
eval: make the interpreter backtrace more efficient and informative.
|
2022-04-29 21:38:23 +02:00 |
Delyan Angelov
|
34961a23b4
|
ast: allow `a := match x { 101 { ... for {...} ... y }`
|
2022-04-25 19:07:26 +02:00 |
Alexander Medvednikov
|
9b276a4138
|
ast: remove .byte
|
2022-04-17 12:14:28 +02:00 |
Alexander Medvednikov
|
3b36f16365
|
all: volatile globals
|
2022-04-15 02:39:38 +03:00 |
Alexander Medvednikov
|
0dff050735
|
builtin: u8/byte clean up
|
2022-04-14 16:43:34 +03:00 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
5551cb248c
|
ast, parser, fmt: fix formatting of consts with embedded comments (#14008)
|
2022-04-11 17:27:41 +03:00 |
yuyi
|
875ad1f6ea
|
ast: minor cleanup in ast.v (#13839)
|
2022-03-27 16:21:40 +03:00 |
Nick Treleaven
|
a4ab3c1f14
|
checker: disallow `mut_ptr = &immutable_var` (#13814)
|
2022-03-24 20:43:25 +02:00 |
yuyi
|
3e40cd5baa
|
ast, checker, cgen: fix error for go anon fn variable call (#13776)
|
2022-03-20 07:45:23 +02:00 |
yuyi
|
57cba4d3f0
|
ast: minor cleanup in is_blank_ident() (#13748)
|
2022-03-16 09:30:37 +02:00 |
yuyi
|
f7feb634d2
|
checker: fix error for if mut with immutable variable (#13728)
|
2022-03-13 16:33:50 +02:00 |
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
yuyi
|
36e80266e6
|
ast: fix error for 'for smartcast' - part 2 (#13635)
|
2022-03-02 16:01:20 +02:00 |
Larpon
|
d80f5165dd
|
fmt: keep trailing comments after fn header decl (#13596)
|
2022-02-25 16:36:48 +03:00 |
playX
|
b842e89acc
|
all: initial implementation of compile-time types (#13549)
|
2022-02-21 17:42:54 +02:00 |
yuyi
|
83cdd8bedd
|
ast: add comments for struct 'StructInit' and 'StructInitField' (#13551)
|
2022-02-21 12:48:53 +02:00 |
yuyi
|
f9fc136c24
|
all: rename InterfaceDecl.ifaces to InterfaceDecl.embeds (#13475)
|
2022-02-15 11:17:39 +02:00 |
Delyan Angelov
|
799c95dc4e
|
tests: filter test_ fns with params from the list of automatically run test functions (fix #13443)
|
2022-02-12 17:30:20 +02:00 |
yuyi
|
ae0e90f5d8
|
cgen: fix struct init with embed field update (#13444)
|
2022-02-12 08:16:51 +03:00 |
yuyi
|
7178367de0
|
all: fix error for comptime for in field with generic fn (fix #13409) (#13439)
|
2022-02-11 22:00:13 +02:00 |
Tim Basel
|
9d0a5942ac
|
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
Delyan Angelov
|
9ed18efa53
|
checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419)
|
2022-02-10 12:26:30 +02:00 |
yuyi
|
4be3c92640
|
checker: check generic struct init without type parameter (#13404)
|
2022-02-09 14:06:45 +02:00 |
div72
|
cec7e91714
|
v.parser, v.checker, v.gen: add support for [translated] tag (#13373)
|
2022-02-06 00:16:02 +02:00 |
yuyi
|
a61b4809dc
|
ast, parser, checker: fix generic struct init with inconsistent generic types (#13359)
|
2022-02-04 14:24:38 +02:00 |
yuyi
|
3bd528b218
|
ast, checker, cgen: fix error for map sumtype value init (#13290)
|
2022-01-27 09:44:34 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
yuyi
|
ca1f675dba
|
ast, checker, cgen: implement if guard with multi return optional (#13273)
|
2022-01-25 14:36:33 +02:00 |
yuyi
|
ffb263c2e1
|
ast: minor cleanup of commented struct Field (#13231)
|
2022-01-21 15:00:21 +02:00 |
Tim Basel
|
14b33baa3b
|
transformer: refactor + apply transform to (hopefully) all nodes (#13216)
|
2022-01-20 08:40:16 +02:00 |
yuyi
|
dfc23d939f
|
ast, checker, cgen: fix array of sumtype initialisation with a default `init:` (#13178)
|
2022-01-15 09:59:38 +02:00 |
yuyi
|
155f897270
|
ast, parser, checker: fix generic struct field with default struct value (#13158)
|
2022-01-13 22:25:25 +02:00 |
Tim Basel
|
10efe47f03
|
parser: add support for mutable if guards (#13132)
|
2022-01-11 15:32:58 +02:00 |
Ken
|
9cbfa882e6
|
ast: support attributes for `ast.SumType` (#13010)
|
2022-01-08 17:35:10 +03:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Daniel Däschle
|
35282396ec
|
all: inline sum types (#12912)
|
2021-12-25 18:26:40 +03:00 |
Delyan Angelov
|
e256f1b2aa
|
checker,cgen: stabilise generic method handling (fix a source code ordering issue)
|
2021-12-22 18:03:46 +02:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03:00 |
Delyan Angelov
|
df7f2aa8a3
|
all: support `[markused]` tags for fns/consts/globals
|
2021-12-15 14:34:49 +02:00 |
yuyi
|
f407d6de02
|
ast, checker, cgen: fix generics multiple type comptime call (fix #12777) (#12806)
|
2021-12-12 19:42:40 +02:00 |
Delyan Angelov
|
79de408ef0
|
parser,checker: support `[generated] module xyz` (turns off notices). Use it for `infix.v`.
|
2021-12-12 00:58:38 +02:00 |
Thomas Mangin
|
0d0d7323bb
|
transformer: provide direct_memory_access to arrays when safe (#12724)
|
2021-12-11 21:55:46 +02:00 |
crthpl
|
2fbf7fea75
|
all: initial interpreter code (#12605)
|
2021-12-08 11:09:10 +03:00 |
playX
|
105d7fcf75
|
js: support JS.await (#12726)
|
2021-12-05 13:33:53 +02:00 |
Leo Developer
|
ace63594bf
|
all: support `$embed_file('embed.vv', .zlib)` (#12654)
|
2021-12-04 19:43:19 +02:00 |
yuyi
|
0cb4557a8d
|
ast, checker, cgen: fix nested struct embed method call (#12714)
|
2021-12-04 14:51:42 +02:00 |
yuyi
|
2d43fdb42a
|
ast, checker, cgen: fix nested struct embed error (fix #12659) (#12712)
|
2021-12-04 11:19:19 +03:00 |
Alexander Medvednikov
|
eca78a2906
|
checker: allow infix expressions in enum declarations
|
2021-12-03 07:45:37 +03:00 |