Commit Graph

297 Commits (master)

Author SHA1 Message Date
Alexander Medvednikov 6875a173ec cmd: enable `v translate`, download and install c2v 2022-06-19 15:52:42 +03:00
Wertzui123 f971da9a93
help: add Windows to the list of supported native backends in `v help build-native` (#14589) 2022-06-02 07:08:46 +03:00
Delyan Angelov bf70f0b436
v: add support for `v crun examples/hello_world.v`, use crun mode for .vsh files by default. (#14554) 2022-06-01 14:47:52 +03:00
Delyan Angelov c006d5c242
cgen: add support for `v -cmain SDL_main sdl_example.v` 2022-05-28 21:16:48 +03:00
Larpon f3e7f24ee6
tools: implement `v missdoc --diff oldv newv` (#14537) 2022-05-27 18:19:06 +03:00
Delyan Angelov 953ef1f8c9
pref: add support for `-dump-files -` and for `-dump-modules -` 2022-05-23 19:51:21 +03:00
Delyan Angelov 63d413f93c
tools: support `v missdoc .` instead of `v run cmd/tools/missdoc.v .` 2022-04-30 16:12:39 +03:00
Delyan Angelov c0b37409d2
tools: support a `v vet -p file.v` option that will warn about private functions with missing documentation 2022-04-30 16:09:30 +03:00
Delyan Angelov be04ec0620
pref: add support for `-thread-stack-size 4194304` (default set to 8MB) (#14168) 2022-04-28 08:46:33 +03:00
pancake 804f2f56d4
vpm: support `v install -once module_name`(#13977) 2022-04-09 14:29:41 +03:00
StunxFS 1211b2e941
v: minor change in the output for an unknown help topic (#13927) 2022-04-04 08:36:10 +03:00
Delyan Angelov 74eabba52e
tools: add a `v should-compile-all examples/*.v examples/gg/` tool, to simplify CIs of V modules. 2022-03-31 11:13:20 +03:00
pancake c5174c2c69
doc: fix minor typos in build-c (#13738) 2022-03-15 08:14:46 +02:00
Delyan Angelov beb1b8ce1b
tools: add `v scan file.v` 2022-03-07 18:25:38 +02:00
gcxfd 8b033c3993
tools: add a `-theme-dir folder/` parameter to `v doc` (#13550) 2022-02-21 12:08:46 +02:00
igor 9ff0c51e61
repl: reduce the vertical size used by V's logo, put it on the left of the info texts (#13451) 2022-02-13 11:41:36 +02:00
Artem e0618f94e8
v help: add an example of using both `-prof` and `run` (#13432) 2022-02-11 11:24:07 +02:00
Subhomoy Haldar 5d2995c4d5
tools: support `./v symlink -githubci` (#13403) 2022-02-08 13:23:10 +02:00
Alexander Medvednikov f23d2c8cf4 cgen: c2v variadic fixes 2022-02-06 03:36:38 +03:00
Delyan Angelov db50e79d26
tools: implement `cgen` tag for Markdown examples in `v check-md` (#13332) 2022-01-31 22:51:04 +02:00
Delyan Angelov 46a096b95d
Revert "v.util: make mod_path_to_full_name more robust"
This reverts commit b11ce91141.
2022-01-31 06:57:50 +02:00
Delyan Angelov b11ce91141
v.util: make mod_path_to_full_name more robust 2022-01-30 22:26:36 +02:00
Delyan Angelov 3fa9128716
cgen,pref: support `-profile-fns strings__new_builder,i64_str -profile -` 2022-01-26 20:39:47 +02:00
Delyan Angelov fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
Delyan Angelov 295156e054
checker,cgen: implement v.profile.on/1, support `[if profile]` and `-d no_profile_startup` (#13232) 2022-01-21 03:26:05 +02:00
Delyan Angelov f24e9cc80a
help: fix `-compress` description 2022-01-15 17:32:02 +02:00
Larpon 05ec8ec15b
tools: add help for `v complete` (#13098) 2022-01-09 16:09:10 +02:00
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
pancake 4b55800ffd
v.eval: add tests and fix runtime cast crash (#13019) 2022-01-03 18:30:42 +02:00
Delyan Angelov 9278d4ec19
docs: fix a typo 2022-01-02 09:18:24 +02:00
lydiandy b4723c18fc
cmd: update vast -t help text (#12939) 2021-12-23 11:23:35 +02:00
Delyan Angelov ed2d1286da
help: improve `v help test` 2021-12-20 19:53:39 +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
playX 11d2b8b354
js: support `-es5` flag (#12846) 2021-12-15 15:47:34 +02:00
pancake a1efde8b10
v: list all js backends in `v help build-js` (#12835) 2021-12-14 15:42:14 +02:00
Delyan Angelov 3afbb9e90a
all: split all backends into cmd/tools/builders (#12811) 2021-12-12 22:10:43 +03:00
Delyan Angelov 9b7a50b1a2
v: split the interpreter to cmd/tools/vinterpret.v 2021-12-12 00:06:44 +02:00
Subhomoy Haldar f0969698e2
cmd: add v bump (#12798) 2021-12-11 22:17:01 +02:00
Larpon dbe67c688f
tools: add a `v gret` command to aid detecting visual regressions in `gg` based apps (#12775) 2021-12-09 21:31:55 +02:00
crthpl 2fbf7fea75
all: initial interpreter code (#12605) 2021-12-08 11:09:10 +03:00
lydiandy 3b7e7c9c46
tools: update vast to latest V (#12733) 2021-12-05 19:45:51 +02:00
Delyan Angelov 229d2fb667
v.util.timers: improve tracing by supporting `-d trace_timers_creation` 2021-12-05 11:55:41 +02:00
Leo Developer ace63594bf
all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
Thomas Mangin 5e1cd13e39
v help: add build-c help information on how to use brew for libgc (#12633) 2021-11-30 19:39:27 +02:00
Larpon 5deb56fc79
docs: add `v shader` section, add help text (#12594) 2021-11-28 17:17:04 +02:00
yuyi 08667c5645
pref: allow running a .vsh script with just `v build.vsh gcc`, instead of `v run build.vsh gcc` (#12409) 2021-11-08 15:18:11 +02:00
Delyan Angelov a85707246f
help: document `-skip-unused` in the `v help` output. 2021-10-21 16:33:04 +03:00
Lance Fredrickson 7c1fff3495
builder: pass `-std=gnu99` to the C backend under linux (#12236) 2021-10-20 14:26:25 +03:00
Larpon 678e3a210d
tools: add vshader (#12195) 2021-10-16 22:10:48 +03:00
Delyan Angelov fbe54e49f5
tools: support `v fmt -w -backup file.v` 2021-10-07 13:59:49 +03:00