1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
joe-conigliaro
7311db60a0 compiler: vargs - for loop support & indexing / dot fixes 2019-09-30 17:11:12 +03:00
Delyan Angelov
a4cbe78d97 compiler: streamline main function handling
* compiler: streamline C main function generation

* fix most tests

* compiler: fix for 'go update()' in graph.v . More precise parser error messages.

* Fix temporarily examples/hot_reload/message.v by using os inside it (os.clear).

* Make graph.v easier to quickly modify by defining y outside the loop.

* Fix failure of /v/nv/compiler/tests/defer_test.v when run with 'v -g' (#line directive was not on its own line, but right after } ).

* Do not pass the os.args to tests, even if the tests import os (they are more stable when run in a controlled environment).

* fix declared and not used in the js backend.

* fix js main => main__main too.
2019-09-28 20:42:29 +03:00
joe-conigliaro
ed3a4961d0 compiler: blank identifier for loops. dont declare any variables 2019-09-28 19:53:56 +03:00
joe-conigliaro
157ef46d5a parser: fix a few things in with blank ident 2019-09-26 14:09:59 +03:00
joe-conigliaro
746655c1d5 compiler: re assignable blank identifier _ & no longer a variable 2019-09-25 14:53:44 +03:00
vitalyster
377956e969 js: no need to generate ES6 classes 2019-09-19 00:03:54 +03:00
Alexander Medvednikov
ecffa8e1d9 v.js: fix for .. 2019-09-17 22:21:44 +03:00
Alexander Medvednikov
0a2f7a6ba7 fix tests 2019-09-17 13:37:25 +03:00
Alexander Medvednikov
c76d09f9a5 make V.js compile 2019-09-16 18:31:13 +03:00
Alexander Medvednikov
5cc81b91cb JavaSript backend (early stage) 2019-09-15 03:49:57 +03:00