1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler
Delyan Angelov ac5241b5bd compiler: implement -stats option for running a _test.v file
* Draft implementation of `v -stats file_test.v` .

* compiler: call stuff in vlib/benchmark/tests/always_imported.v, when doing `v -stats file_test.v`

* Nicer looking output from 'v -stats file_test.v' .

* Tweak colors and layout of -stats file_test.v .

* Fix a hardcoded path in compiler/main.v .

* Show colorized OK/FAIL for the examples in 'v test v' too.

* Add some comments about the purpose of the methods inside vlib/benchmark/tests/always_imported.v .

* when fails are 0, do not colorize their number at all.
2019-10-07 08:51:26 +03:00
..
tests repl: handle print and one-line conditions 2019-10-06 17:21:10 +03:00
cc.v compiler: get existing parser using path 2019-10-05 07:10:28 +03:00
cflags.v compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
cgen.v compiler: streamline main function handling 2019-09-28 20:42:29 +03:00
cheaders.v compiler: generate a v.c that is compatible with latest tcc 2019-10-05 15:46:13 +03:00
compile_errors.v compiler: print relative paths for user code 2019-10-01 15:39:19 +03:00
comptime.v compiler: remove unneeded field & manually add parser to v.parsers (#2232) 2019-10-05 16:52:50 +10:00
depgraph.v bring back automatic array_free() 2019-09-08 14:50:18 +03:00
fn.v compiler: use the new optimized in 2019-10-06 16:56:22 +03:00
gen_c.v compiler: fix -obf regression (main__main) 2019-10-06 16:23:52 +03:00
gen_js.v parser: add v error if assigning var to blank identifier _ 2019-10-01 15:40:11 +03:00
jsgen.v remove u8 and i32 aliases 2019-09-01 22:37:22 +03:00
live.v compiler: streamline main function handling 2019-09-28 20:42:29 +03:00
main.v compiler: implement -stats option for running a _test.v file 2019-10-07 08:51:26 +03:00
module_header.v compiler: get existing parser using path 2019-10-05 07:10:28 +03:00
modules.v compiler: get existing parser using path 2019-10-05 07:10:28 +03:00
msvc.v fix find vsdevcmd.bat in VS2019Preview 2019-10-06 16:27:50 +03:00
optimization.v optimize a in [1,2,3] to a == 1 || a == 2 || a == 3 2019-10-06 06:07:38 +03:00
parser2.v parser: do not allow "int?", only "?int" 2019-09-23 23:17:06 +03:00
parser.v compiler: implement -stats option for running a _test.v file 2019-10-07 08:51:26 +03:00
query.v compiler: rename cerror() to verror(); some small optimizations 2019-09-24 19:38:04 +03:00
repl.v repl: handle print and one-line conditions 2019-10-06 17:21:10 +03:00
scanner.v compiler: get existing parser using path 2019-10-05 07:10:28 +03:00
table.v parser: multiple returns, allow assignment as well as deceleration closes 2019-10-05 19:17:08 +03:00
token.v if a := foo() { syntax for handling optionals 2019-10-01 22:57:38 +03:00
vfmt.v bring back "parser: cache tokens (first step)" 2019-09-27 04:00:48 +03:00
vhelp.v vhelp.v: -shared 2019-10-03 02:02:06 +03:00