Alexander Medvednikov
6c1b0785de
tools/fast: minor layout fix
2019-11-07 22:24:25 +03:00
Alexander Medvednikov
7a29d959ce
tools/fast: test hello world
2019-11-07 21:59:34 +03:00
Alexander Medvednikov
13ee2ad670
tools/fast: use clang
2019-11-07 21:53:07 +03:00
Alexander Medvednikov
c93e51e92d
tools/fast.v: small fixes
2019-11-07 21:47:31 +03:00
Alexander Medvednikov
f9e79cd73c
tools: fast.v for fast.vlang.io
2019-11-07 21:36:42 +03:00
vitalyster
86447c1301
windows: use CreateProcess for os.exec
2019-11-07 16:01:17 +03:00
Delyan Angelov
d279cedd28
v repl: remove dependency on v compiler module, thus making its compilation faster
2019-11-05 15:10:15 +03:00
Delyan Angelov
59efd42483
tools/vget => tools/v , search, install, etc
...
* compiler: rename vget to tools/vpm, implement draft support for v vpm search, v vpm update, v vpm install, v vpm remove, v vpm help .
* compiler: use "v pm" instead of "v vpm" to reduce the redundancy of typing, as suggested by slapden
* Use 'v install modulename', 'v search keywords', 'v update modulename', 'v remove modulename' instead of the longer 'v pm install modulename' etc.
2019-11-01 15:19:04 +03:00
Delyan Angelov
e15abb3de0
compiler: move `v up` implementation to tools/vup.v
2019-11-01 13:14:59 +03:00
Delyan Angelov
bfe039fcba
compiler: extract testing to tools/vtest.v
2019-11-01 02:15:03 +03:00
Henrixounez
55f6e810cf
repl: moved as a tool and using readline
2019-10-31 19:01:04 +03:00
joe-conigliaro
59378dce46
compiler/vlib: replace substr/left/right with `[start..end]` everywhere
2019-10-27 10:03:15 +03:00
Alexander Medvednikov
4574039e4d
new vh generation + simpler match statement
2019-10-23 00:45:17 +03:00
Delyan Angelov
eef73eea22
tools: new tool to extracts function names declared in V files
2019-10-21 14:14:28 +03:00
Alexander Medvednikov
a76165828b
snake_case consts
2019-10-12 22:36:14 +03:00
Delyan Angelov
4f4ac45670
performance_compare: support passing --vcrepo and --hyperfine_options
...
* support passing --vcrepo and --hyperfine_options. Streamline output.
* Compare the performance of compiling a simple hello world program too.
* Remove redundant vprod comparisons. Instead use v .
2019-10-10 20:10:41 +03:00
Delyan Angelov
f43c4fd81c
tools/performance_compare: speed it up and make it more robust
...
* tools/performance_compare is now more robust. It uses the C source from the time of the v commit, instead of always the latest one. It also now clones https://github.com/vlang/vc just once per comparison, not for every build.
* Remove obsoleted tools/compare_v_performance_between_commits shell script.
2019-10-04 16:11:29 +03:00
Delyan Angelov
e72fe25224
compiler: more precise 'declared and not used' error positioning
...
* compiler: extract and cleanup error handling functionality into its own file compiler/compile_errors.v
* compiler: implement p.error_with_token_index and p.warn_with_token_index and use them. Fix tests.
* tools/performance_compare: add a 'Source lines in compiler/' line
* MSVC does not have STDOUT_FILENO nor STDERR_FILENO ...
2019-09-29 20:37:39 +03:00
Dongliang Ma
46ac22f3e5
vget fixes
...
* refactor(tools): remove trailing spaces in vget.v
* refactor(tools): fix mix tabs and spaces
* fix(tools): vget should exit non-zero when call with invalid arguments
* refactor(tools): extract vmodules directory create and chdir logic
* feat(tools): add travis-ci check to vget
2019-09-28 14:21:52 +03:00
Delyan Angelov
366c50674c
tooling: add tools/compare_v_performance_between_commits
...
easily compare v performance/size across commits.
* fix eprintln on linux (it now uses stderr, and flushes it).
* flag: cleaner usage information.
2019-09-28 14:17:16 +03:00
joe-conigliaro
8974aa4513
compiler/vlib: change `_ :=` to `_ =` and disable `_ :=`
2019-09-25 15:10:45 +03:00
joe-conigliaro
e1dd8716fb
tools: gen_vc - add purge flag
2019-08-31 19:00:40 +03:00
joe-conigliaro
b737eb1a87
tools: move gen_vc into the v repo
2019-08-31 17:44:01 +03:00
Delyan Angelov
f013359a44
compiler: improve error handling for 'v install'
2019-08-18 17:57:57 +03:00
Delyan Angelov
891913e182
vget: handle more errors.
2019-08-11 13:22:13 +02:00
iRedMail
c67783bcd1
v install: install multiple modules in one command: 'v install m1 m2 m3 …'
2019-08-10 12:21:31 +02:00
Alexander Medvednikov
a0b583d8c8
fix vget
2019-08-10 12:05:18 +02:00
Julian Schurhammer
28147c0930
os.exec: return ?string instead of string
2019-08-08 07:30:05 +02:00
FoXy
fa99402314
VGet: Fix for dot folder name import
2019-08-07 04:28:55 +02:00
FoXy
67d6702c1f
Create VModules directory before Clone
2019-08-06 16:09:44 +02:00
Alexander Medvednikov
5ed338dc2e
bring back map.str()
2019-08-05 04:34:12 +02:00
S-YOU
58117f1312
vget: clone with depth 1 and use module name instead of repository name
2019-08-05 03:04:23 +02:00
Alexander Medvednikov
a7e464fee9
user modules + `v install` from vpm
2019-08-01 17:28:25 +02:00