Delyan Angelov
|
db1175e455
|
parser: handle `[noreturn]` on methods too
|
2021-12-22 19:58:37 +02:00 |
yuyi
|
cd0b581445
|
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
|
2021-12-19 18:25:18 +02:00 |
ChAoS_UnItY
|
50d988ebc7
|
v.parser: forbid unsupported language functions/types in specific backends (#12655)
|
2021-12-18 10:00:31 +02:00 |
Delyan Angelov
|
6ff953d936
|
preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523)
|
2021-12-16 15:59:46 +02:00 |
Delyan Angelov
|
df7f2aa8a3
|
all: support `[markused]` tags for fns/consts/globals
|
2021-12-15 14:34:49 +02:00 |
yuyi
|
7fc9e614a3
|
ast, parser, checker: fix generic fn in builtin module (#12769)
|
2021-12-09 21:37:43 +02:00 |
playX
|
2eb02ff5a7
|
jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488)
|
2021-11-17 11:41:33 +02:00 |
playX
|
6c32c544e1
|
js,parser: allow declaring methods on JS interfaces for easier FFI (#12447)
|
2021-11-13 11:08:17 +02:00 |
yuyi
|
8f4180ea09
|
parser: check generic parameters error of generic struct declaration (#12418)
|
2021-11-09 09:25:57 +02:00 |
Delyan Angelov
|
c4e282a0c8
|
parser: check fn args in declarations too with `-Wimpure-v`
`v -Wimpure-v examples/2048/` now passes cleanly.
|
2021-11-03 16:20:24 +02:00 |
yuyi
|
943a807d30
|
parser: implement generics method with auto multi generic types (#12312)
|
2021-10-27 15:41:13 +03:00 |
playX
|
a3de67de28
|
js: support WASM interoperability using `wasm_import`/`wasm_export` fn tags (#12212)
|
2021-10-18 10:56:21 +03:00 |
Delyan Angelov
|
4c2cb1b6df
|
vdoc: prevent leaking to the docs the `pure_v_but_overriden_by_` prefix
|
2021-10-14 11:47:50 +03:00 |
yuyi
|
f1742a6f62
|
v.ast: change 'type.to_ptr()' to 'type.ref()' (#12086)
|
2021-10-06 20:49:39 +03:00 |
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
Enzo
|
ccf6285f82
|
checker: allow mut arg on C functions (#11430)
|
2021-09-11 14:25:38 +03:00 |
Delyan Angelov
|
ec196cfcd1
|
all: support overriding individual function from .v files in .c.v or .js.v files.
|
2021-08-22 15:51:26 +03:00 |
Daniel Däschle
|
6dbc6f233b
|
v.parser: add checks for interoperability (C. or JS.) function declarations (#11140)
|
2021-08-12 10:47:24 +03:00 |
Enzo
|
da53f818df
|
all: initial support for closures (x64 / linux-only) (#11114)
|
2021-08-10 21:27:15 +03:00 |
Daniel Däschle
|
815c4b7420
|
all: rename generic_struct_inst to generic_inst (#11044)
|
2021-08-04 03:37:27 +03:00 |
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
playX
|
425ca5e3c3
|
v.gen.js: add three backend options for JS, and comptime if support (#10859)
|
2021-07-19 15:55:03 +03:00 |
yuyi
|
aca66d503d
|
parser: minor optimization in call_expr() (#10809)
|
2021-07-15 17:47:59 +03:00 |
shadowninja55
|
d1f1c5ae51
|
v doc: add attribute tags to `v doc -f html` (#10778)
|
2021-07-13 08:27:20 +03:00 |
Alexander Medvednikov
|
0f72bc9819
|
parser: temporary [c2v_variadic] fn attr for c2v'ed code
|
2021-07-05 11:32:15 +03:00 |
Delyan Angelov
|
6aecda3be8
|
all: support `[noreturn] fn abc() { for{} }`, mark panic/1 and exit/1with it too. (#10654)
|
2021-07-04 20:24:19 +03:00 |
shadowninja55
|
2e5ed08558
|
v.parser: allow anonymous function to return a function (#10592)
|
2021-06-28 11:51:24 +03:00 |
shadowninja55
|
9b84faad6f
|
v.parser: prohibit redeclaration of imported functions (#10564)
|
2021-06-25 14:27:58 +03:00 |
Uwe Krüger
|
f32a76b268
|
all: promote value type function arguments to heap if necessary (#10528)
|
2021-06-20 18:40:24 +03:00 |
Delyan Angelov
|
39e7290416
|
v: support for `[if expr]`, part 2 (old `[if ident]` is not yet deprecated)
|
2021-06-17 18:55:20 +03:00 |
Emily Hudson
|
535dcac8fa
|
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904)
|
2021-06-13 23:53:38 +03:00 |
Uwe Krüger
|
daeeaef030
|
vfmt: hot fix to allow separate `array_d_gcboehm_opt.v` (#10413)
|
2021-06-11 12:00:18 +03:00 |
crthpl
|
6576d876fc
|
cgen: support a `[_naked]` fn attribute (#10418)
|
2021-06-11 11:03:39 +03:00 |
Delyan Angelov
|
3dc4d13160
|
v.parser: do not treat test_ functions specially outside of _test.v files
|
2021-06-08 23:01:49 +03:00 |
yuyi
|
114c382c46
|
parser: fix generic fn typeof name (#10363)
|
2021-06-06 17:40:13 +03:00 |
Uwe Krüger
|
d39a55ac11
|
checker: forbid leaving function from inside `defer` block (#10285)
|
2021-05-31 17:09:57 +03:00 |
Delyan Angelov
|
e9fa53b0c1
|
v.parser: let fn_decl use 1 loop, instead of multiple p.attrs.contains calls
|
2021-05-23 16:54:12 +03:00 |
Delyan Angelov
|
bf3af40f13
|
v.markused: support `./v -skip-unused -freestanding run vlib/os/bare/bare_example_linux.v` too
|
2021-05-23 16:25:34 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |
Delyan Angelov
|
ea74e2bc64
|
v.parser: add p.unique_prefix, add run_project_folders_test.v (closes #10023)
|
2021-05-06 21:14:19 +03:00 |
yuyi
|
ae22967d1d
|
parser: ensure generic function declaration specifies type names (fix #9959) (#9967)
|
2021-05-02 19:30:39 +03:00 |
yuyi
|
d236d6a473
|
parser, cgen: fix generics fn typeof name (fix #7357) (#9939)
|
2021-04-30 13:40:36 +03:00 |
yuyi
|
25d9272c84
|
all: rename `table.register_fn_generic_types` to `table.register_fn_concrete_types` (#9914)
|
2021-04-29 09:06:50 +03:00 |
yuyi
|
212b4fa089
|
parser: implement infering generic type parameters from receiver types (fix #5862) (#9870)
|
2021-04-26 10:56:08 +03:00 |
spaceface
|
9d68f924c3
|
parser: don't disallow closures in the JS backend (#9884)
|
2021-04-26 10:00:39 +03:00 |
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
yuyi
|
8ccdae6188
|
all: cleanup generics call_expr (#9856)
|
2021-04-24 09:44:15 +03:00 |
Enzo
|
af8ef12990
|
ast: use `AttrKind` (#9845)
|
2021-04-23 15:51:52 +03:00 |
yuyi
|
51258923d7
|
checker: fix generics call with reference arg (fix #9817 #9818) (#9830)
|
2021-04-21 06:40:11 +03:00 |
yuyi
|
953057ef35
|
parser: check generic receiver method decl has no generic names (fix parts of #9811) (#9819)
|
2021-04-20 21:38:17 +03:00 |