Commit Graph

22 Commits (236b34c00935b8a0928fca3956aec0f811095ce4)

Author SHA1 Message Date
Henrixounez 30e7cd8ed5 repl: handle print and one-line conditions 2019-10-06 17:21:10 +03:00
Delyan Angelov 3fbfc5fbd4 repl: tests show difference (in color where available) 2019-09-25 22:00:56 +03:00
joe-conigliaro d4bae356ba compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00
Alexander Medvednikov d2d75f3824 parser: do not allow "int?", only "?int" 2019-09-23 23:17:06 +03:00
vitalyster f1bb25bfaf windows: Unicode input in REPL 2019-09-20 17:03:13 +03:00
Delyan Angelov a45895a3af new benchmark module + make the tests use it 2019-09-16 17:29:06 +03:00
Delyan Angelov 854de4e7e0 repl: add more stats and tests; compiler: tcc fixes 2019-09-16 00:41:12 +03:00
Delyan Angelov 35f927e64e repl: add some timing statistics when running REPL test files 2019-09-15 18:08:16 +03:00
Delyan Angelov ec61821bf7 compiler: support explicit runrepl argument, so that the v repl can be launched with options like -debug and so on. 2019-09-04 19:50:51 +03:00
joe-conigliaro 6921c15b7b compiler: fix repl chained_fields test (windows) 2019-09-03 18:42:40 +03:00
kawa-yoiko 4f0f99e663 parser: fix mutability with chained fields 2019-08-30 20:19:06 +03:00
Shiqing 519028e263 Fix incorrect string open/close check in REPL 2019-08-29 21:40:49 +03:00
Delyan Angelov 4f62e8235f repl: add a test for naked strings. 2019-08-29 12:30:33 +03:00
Delyan Angelov aa438c7c3f os: fix exec() and get_raw_line(); fix Windows tests and examples 2019-08-26 13:51:48 +03:00
Delyan Angelov 77b31de117 compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
Delyan Angelov 41efe545f2 repl_test: remove dependance on echo, use stdin redirection instead. 2019-08-18 23:02:32 +03:00
Henrixounez e1d2c83ff6 repl: functions and conditional blocks support 2019-08-18 22:50:38 +03:00
Henrixounez 14f13ff55a tests: v implementation of repl tests 2019-08-18 19:26:55 +03:00
Henrixounez aae063b9ad repl: dont save line if last compilation errored 2019-08-18 19:25:46 +03:00
Delyan Angelov bbc5c14d99 repl: fix compiler/tests/repl/error.repl test case. 2019-08-18 17:24:02 +03:00
Henrixounez 2ba1edaa80 repl: default printing fix and test 2019-08-12 16:19:56 +03:00
Henrixounez 7879bde8bb repl: enabled back and added automated tests
fixed typos and macos errors
2019-08-10 07:01:40 +02:00