Delyan Angelov
ee1edab2a9
implement 'v build-vbinaries' tooling
2019-12-01 16:12:51 +03:00
Delyan Angelov
ec15bfb7d1
v test v => v test-compiler
2019-12-01 12:50:13 +03:00
Alexander Medvednikov
a23a4ed98a
update all index() uses
2019-11-30 15:27:16 +03:00
Alexander Medvednikov
ae171ec28e
a small "v test v" fix
2019-11-29 19:32:07 +03:00
Abdullah Atta
d4ae39348f
eventbus: make it usable and add README
2019-11-24 14:27:50 +03:00
Don Alfons Nisnoni
3a6ccf7f31
os: mkdir() error handling
2019-11-23 19:55:18 +03:00
Delyan Angelov
f42be0622e
examples/game_of_life: add a GUI frontend; compiler: local modules relative to a main module
2019-11-23 16:33:25 +03:00
Alexander Medvednikov
94318b1287
x64: use correct exe name and set +x
2019-11-22 19:09:14 +03:00
Don Alfons Nisnoni
28117353a9
tools/fast.v: calculate the difference between current and previous results
2019-11-20 17:59:37 +03:00
Delyan Angelov
a620e66af5
compiler: add os.mv_by_cp and use it for the temporary files
2019-11-19 12:55:02 +03:00
Alexander Medvednikov
43863edc4f
remove asm test from msvc
2019-11-17 07:27:59 +03:00
Alexander Medvednikov
3c03051bcf
skip asm test on tcc
2019-11-17 01:16:36 +03:00
Alexander Medvednikov
2545e1c22c
fix vpm
2019-11-14 23:33:35 +03:00
Alexander Medvednikov
7d924679a6
[]: update all examples and tests
2019-11-14 10:00:22 +03:00
Alexander Medvednikov
65426821c4
repl: hide temp filename from output
2019-11-13 20:40:01 +03:00
Henrixounez
76c27c0b03
cli: create project helper
2019-11-11 00:48:56 +03:00
Alexander Medvednikov
da574640e7
bring back interface test on msvc
2019-11-09 18:21:01 +03:00
Alexander Medvednikov
be4eaa680a
skip module test on msvc for now
2019-11-09 02:45:49 +03:00
Alexander Medvednikov
fad0cc2ce5
skip interface test on msvc for now
2019-11-09 02:40:41 +03:00
Alexander Medvednikov
06a7954298
update roadmap
2019-11-08 07:49:56 +03:00
Alexander Medvednikov
0ca75f7782
tools/fast: run git pull
2019-11-08 00:07:53 +03:00
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