Commit Graph

20 Commits (e35ff0533b4796dd731f550897f1d3f30c0adc04)

Author SHA1 Message Date
Alexander Medvednikov d9753ee2c6 lots of vfmt fixes 2019-07-03 16:37:21 +02:00
Alexander Medvednikov a9b8bc067f enums (`mode == .default_mode` syntax); fix `foo.bar[0].baz = val` 2019-07-02 21:39:26 +02:00
Maulana Akmal 24b0fd5097 Refactor BuildMode enum to lowercase 2019-07-01 17:20:59 +02:00
Archan Patkar 74d234f8cd remove duplication by using a new Preferences struct 2019-06-30 22:03:17 +02:00
Henrixounez d8caa6431f compiler: checks if variables are unused on scripts main function 2019-06-28 21:05:04 +02:00
Henrixounez b6b313d246 compiler: clears MainFn when recompile on repl 2019-06-28 17:24:18 +02:00
Alexander Medvednikov 42bb85197a force `mut a := ...`, do not allow `mut a = ...` 2019-06-28 15:04:41 +02:00
Alexander Medvednikov bd49977feb fix single file programs without `fn main` and REPL (allow imports,
function definitions, consts, etc)
2019-06-28 13:43:32 +02:00
Alexander Medvednikov 6824e6e7db Replace all remaining C code with V in the compiler and vlib (hoorah!) 2019-06-27 23:11:27 +02:00
Alexander Medvednikov 959cc2ea03 some more tests 2019-06-27 15:01:09 +02:00
Alexander Medvednikov 76bf732e63 builtin: public/private functions, remove lots of duplicate functionality
(string.eq, compare_strings, etc)
2019-06-27 13:29:31 +02:00
Alexander Medvednikov 90c0791345 replace ugly `tos2(bytes)` with `string(bytes)` 2019-06-27 12:50:02 +02:00
Alexander Medvednikov 7e641cd5ba structure printing: minor fixes 2019-06-27 01:55:37 +02:00
Henrixounez 40df91fc08 compiler: added structure printing capabilities 2019-06-27 01:47:45 +02:00
Alexander Medvednikov b0a5cac0c0 clean up 2019-06-26 13:17:45 +02:00
Alexander Medvednikov c860bac7bf don't allow calling private functions/methods 2019-06-26 13:15:47 +02:00
Alexander Medvednikov 2a3cf0bec9 os.v: clean up init_os_args() 2019-06-26 11:15:05 +02:00
Alexander Medvednikov ee5d6f1e7f make -prod no longer hide println() 2019-06-23 09:59:34 +02:00
chai2010 978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
Alexander Medvednikov d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00