Commit Graph

160 Commits (74dc57e678179bbf332da30dac384f3f83dc5f1c)

Author SHA1 Message Date
Lukas Neubert a9c71a89cf
vfmt: improve the documentation for the -c flag (#7196) 2020-12-09 10:58:37 +02:00
Delyan Angelov d5915bde7c
parser: implement support for -Wimpure-v (#7195) 2020-12-08 17:52:24 +01:00
Daniel Däschle 334d605d90
tools,vls: add `v test-parser examples/hello_world.v` (#7145) 2020-12-06 12:42:56 +02:00
Daniel Däschle 47d0ed308d
parser: prepare for better VLS integration, more accurate parser errors (#7119) 2020-12-04 20:34:05 +02:00
Nick Treleaven 8f15af6adc
pref: add -m32, -m64 command-line options (#7011) 2020-11-29 14:53:49 +01:00
Nick Treleaven 9772306ae9
help: list -showcc, -w (#7013) 2020-11-29 14:11:12 +01:00
Alexander Medvednikov 13948152b6 cmd/v: rename reuse-tmpc to keepc 2020-11-27 20:16:24 +01:00
Delyan Angelov f2d59fbc0f
cmd/v: make `echo ...|v` same as `echo ...|v run -` (#6899) 2020-11-21 15:39:47 +01:00
Delyan Angelov 92d3cff957 vfmt: run vfmt over v.v, and add it to `v test-cleancode` too 2020-11-21 10:24:11 +02:00
Larpon 82b16cbf45
v: add shell auto-completion with `source <(v complete setup bash)` (#6886) 2020-11-20 16:17:31 +02:00
Nicolas Sauzede 159932d59b
v: run code from stdin `echo println(2+2) | v run -`, with no repl limits (#6884) 2020-11-20 10:25:59 +02:00
Delyan Angelov 4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00
Delyan Angelov 4b35495fbe all: support VMODULES environment variable (defaulting to ~/.vmodules) 2020-11-08 08:07:17 +02:00
Delyan Angelov fee56b1902 v repl: improve the V REPL welcome message 2020-10-30 14:09:43 +02:00
Jabba Laci a7e3092165
help text is nicely aligned (#6683) 2020-10-26 11:24:25 +02:00
Delyan Angelov 8b01146b90 compiler: implement -W and -reuse-tmpc 2020-10-24 20:34:50 +03:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Alexey 3ae3196d42
vdoc: allow to omit timestamp (#6652) 2020-10-19 21:30:37 +02:00
Delyan Angelov 62f6e65509 repl: fix `reset`; make `echo "print(2.0 * 3.14159)" | ./v` print only the result 2020-10-11 10:50:24 +03:00
Alexander Medvednikov defa9c1d00 cmd: update flags help 2020-09-29 03:28:41 +02:00
Nick Treleaven 05dcdfd267
pref: error if unknown argument passed to `v` (#6487) 2020-09-29 03:13:54 +02:00
Denis 6981f2afeb
help: print errors to stderr (#6486) 2020-09-28 06:14:34 +02:00
Ned Palacios 744f685973
vdoc: document variables in a specific pos/scope; support `v doc os File` (#6354) 2020-09-21 17:40:39 +03:00
Delyan Angelov 79ac431e9e doctor: add first draft 2020-09-20 13:13:20 +03:00
Lukas Neubert 5c8e1c7eeb
help: remove note about v2 backend (#6364) 2020-09-14 15:33:58 +02:00
Nick Treleaven 497bf226e2
add TESTS.md file to explain different tests (#6318) 2020-09-07 13:48:15 +02:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02:00
Alexander Medvednikov 3a461e7cee vfmt: update help 2020-08-06 18:09:14 +02:00
pancake 36352085ae
v: add support for iOS crosscompilation (#5943) 2020-07-23 07:58:44 +03:00
Delyan Angelov 14fd7d93ca v.pref: fix `v build file.v` 2020-07-21 19:36:58 +03:00
Lukas Neubert c93467bca5
vpm: add list command (#5888) 2020-07-20 17:39:37 +03:00
Delyan Angelov c858978348 cgen: add support for `-d trace_gen` too. Add `v tracev` command. 2020-07-20 12:36:27 +03:00
Ryan Willis e804ba5294
vfmt: add support for VDIFF_TOOL, detect more diffing tools (#5857) 2020-07-17 14:03:07 +03:00
Lukas Neubert cc7c8009a1
vpm: outdated command (#5833) 2020-07-15 21:55:07 +02:00
Delyan Angelov e23925f2be pref: add -show-timings option 2020-07-14 18:47:40 +03:00
Lukas Neubert ee46c8075f
help: document existence of vet (#5816) 2020-07-13 16:41:47 +02:00
Alexander Medvednikov 03b76d19f1 repl: make the info message a bit smaller 2020-07-08 17:22:38 +02:00
Delyan Angelov 25771a1afe compiler: remove -keepc option (it is now always on) 2020-07-06 13:42:18 +03:00
Delyan Angelov 652380c5fd cgen: fix `-printfn main` 2020-07-03 17:42:59 +03:00
Ned Palacios 025652bb78
vdoc: dd .vdocignore + minor fixes 2020-06-29 11:03:09 +02:00
Alexander Medvednikov 2bfe8e5153 vet: a basic version that just checks indentation for now 2020-06-27 14:50:07 +02:00
Lukas Neubert 8652f422d4
bin2v: specify custom filename for write 2020-06-24 12:56:00 +02:00
Lukas Neubert d4f0fe12ab
bin2v: allow direct file output 2020-06-24 00:00:37 +02:00
Ned Palacios 5ff7d07138
vdoc: fix sorting + other minor improvements 2020-06-19 10:36:45 +02:00
Lukas Neubert eec5cf1eb1
vpm: use only `-v` for verbose output 2020-06-07 14:20:56 +02:00
Ned Palacios cbcdc8434f
vdoc: group constants + minor fixes 2020-06-07 12:27:42 +02:00
Daniel Däschle 32463e94f5
vdoc: help 2020-06-06 17:41:44 +02:00
Ned Palacios 30e0bda434
vdoc: rewrite usage, add new options + streamline process 2020-06-05 09:59:26 +02:00
Daniel Däschle d0f9bdf85e
vdoc: style and other improvements 2020-06-04 23:50:59 +02:00
Ned Palacios b99ba21ddd
vdoc: markdown, html, json generation + lots of fixes 2020-06-02 12:10:01 +02:00