Commit Graph

133 Commits (59ed4be49aa5af5a0fb9927fba6ccb3403969556)

Author SHA1 Message Date
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03: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
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
Larpon 678e3a210d
tools: add vshader (#12195) 2021-10-16 22:10:48 +03:00
Delyan Angelov 6134c4870b
v.util: extract v.util.version, use it to speed up building `v repl`, `v up` and `v doctor` 2021-07-27 12:59:56 +03:00
William Gooch 51dd8304bb
tools: make the `v` REPL help screen look nicer (#10833) 2021-07-17 11:23:29 +03:00
Delyan Angelov 7c5f012cbc
v: add a warning note to `v repl` 2021-07-16 12:01:51 +03:00
Delyan Angelov 007ba5178e
v: add more timing points 2021-06-06 12:23:00 +03:00
lydiandy e09f0234ea
tools: add `v ast file.v` (#10236) 2021-05-28 19:54:44 +03:00
Enzo 0d25106b4d
cmd/tools/vpm: improve v show (#10198) 2021-05-25 14:30:48 +03:00
Delyan Angelov 626517f5f7
tools: turn `v -watch` into a `v watch` sub-command, so that it can have its own options 2021-04-28 12:29:50 +03:00
Enzo c174bfa52f
tools: add a `v bug file.v` tool to automatically report bugs on GitHub (#9746) 2021-04-19 21:40:54 +03:00
Delyan Angelov 365f9fcfc5
v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler 2021-04-14 09:59:52 +03:00
crthpl 14434cc86a
all: bare metal support (fix `-freestanding`) (#9624) 2021-04-14 07:50:50 +02:00
Delyan Angelov c698fa1a58
all: support `v -watch run` (#9577) 2021-04-04 16:05:06 +02:00
fossdd 27cb0d97cc
v.v: fix exit codes and add stderr (#9247) 2021-03-11 14:52:13 +02:00
Patrick Hintermayer 8f0ede34ad
v doc: add available output formats (#9180) 2021-03-08 17:21:40 +02:00
Delyan Angelov 31321b68ea
v: show help for -h, -help, and --help, in addition to `v help` 2021-03-02 12:22:10 +02:00
Delyan Angelov 0142d58aa6
v.pref: prevent `Too many targets.` from triggering when the command is an external one 2021-02-18 12:13:28 +02:00
Lukas Neubert 76ea3e7b41
tools/check-md: allow directories as args and deprecate -all flag (#8582) 2021-02-05 16:46:20 +01:00
Delyan Angelov dbaccd4272
vfmt: shorten `main.const_name` to just `const_name` 2021-01-25 20:57:33 +02:00
Alexander Medvednikov 29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Delyan Angelov 927606dc39
tools: rename `v test-compiler-full` to `v test-self` 2021-01-19 10:41:51 +02:00
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Delyan Angelov 460f32baf2
tests: add `v test-all`, move `v test-fixed` to `v test-compiler-full` 2021-01-17 16:11:10 +02:00
Delyan Angelov 8724749728
tools: implement `v wipe-cache` to ease cleaning up the cache on windows 2020-12-30 21:36:54 +02:00
joe-conigliaro 23bfbf1665
cmd/pref: disable -usecache on windows & enable by default (commented) 2020-12-21 03:31:57 +11:00
Delyan Angelov 19bfd5ffb5
ci: fix building 2020-12-19 13:16:18 +02:00
Delyan Angelov a1c81aa49d
v,gen,checker: implement `-d time_checking -d time_cgening -d time_v` 2020-12-19 12:36:08 +02:00
Daniel Däschle 334d605d90
tools,vls: add `v test-parser examples/hello_world.v` (#7145) 2020-12-06 12:42:56 +02: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
Delyan Angelov 4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00
Delyan Angelov fee56b1902 v repl: improve the V REPL welcome message 2020-10-30 14:09:43 +02:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03: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
Nick Treleaven 05dcdfd267
pref: error if unknown argument passed to `v` (#6487) 2020-09-29 03:13:54 +02:00
Delyan Angelov 79ac431e9e doctor: add first draft 2020-09-20 13:13:20 +03:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02: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