Commit Graph

66 Commits (88ec9c235dfbb2a446e84b50cddcc0b7adc8ccbd)

Author SHA1 Message Date
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