Commit Graph

40 Commits (bfddb9a80feae0cde7ad9a883fc158ab1952539c)

Author SHA1 Message Date
joe-conigliaro 74b3ef3a3f minor module fixes 2019-07-30 03:49:47 +02:00
Alexander Medvednikov 207bab5f79 generics, vweb, comptime codegen, etc 2019-07-29 18:24:48 +02:00
joe-conigliaro 979917144f internal modules 2019-07-26 18:02:58 +02:00
Alexander Medvednikov 9ccd3bde01 do not allow declaring a mutable variable if it's never modified 2019-07-25 13:44:34 +02:00
Emily Hudson 049d78a78d Change CGen so that v.c is compileable with msvc 2019-07-24 17:46:41 +02:00
Alexander Medvednikov 6b2063a2ea mutable args: don't allow primitives 2019-07-24 15:33:41 +02:00
Alexander Medvednikov 527b9e13fa `key in map` syntax 2019-07-23 23:00:09 +02:00
joe-conigliaro 135f200ea2 modules: cyclic import detection 2019-07-21 17:53:35 +02:00
d2verb 92fbe56276 table: fix #1219 2019-07-18 04:32:49 +02:00
Alexander Medvednikov 830f63e86a make maps work with structs defined in different modules 2019-07-16 12:18:52 +02:00
d2verb 916b13b286 fix maps 2019-07-15 12:33:18 +02:00
Alexander Medvednikov f7dbbf5810 re-write map.v and update the compiler 2019-07-14 22:08:17 +02:00
joe-conigliaro 298ca8676f Change import syntax to "import as alias" 2019-07-13 12:15:16 +02:00
joe-conigliaro 9a957ccc18 module aliasing & file import scope 2019-07-12 07:37:54 +02:00
Alexander Medvednikov 4a8ba9756f disable u32 check for now 2019-07-10 22:05:50 +02:00
Alexander Medvednikov 3d4cd0bbc0 check integer const overflow at compilation 2019-07-10 21:22:03 +02:00
Alexander Medvednikov fba8443f30 allow defining methods on aliases 2019-07-10 14:18:21 +02:00
Alexander Medvednikov 28843a12c7 cache string.hash() 2019-07-10 10:00:12 +02:00
Alexander Medvednikov 26ef99293d new enum syntax; update the compiler (`p.tok == .name`) 2019-07-10 02:02:38 +02:00
hazohelet 204bcee951 fix typo 2019-07-06 12:01:58 +02:00
Alexander Medvednikov d47e2f113f Revert "make function arguments immutable"
This reverts commit 0f0ed8d716.
2019-07-05 02:44:22 +02:00
Alexander Medvednikov 0f0ed8d716 make function arguments immutable 2019-07-05 00:24:13 +02:00
Alexander Medvednikov 8f10e37370 make << work with appending arrays; PostgreSQL driver 2019-07-04 17:31:14 +02:00
Alexander Medvednikov a9b8bc067f enums (`mode == .default_mode` syntax); fix `foo.bar[0].baz = val` 2019-07-02 21:39:26 +02:00
Alexander Medvednikov 5936ab16c8 fix maps; use maps for storing functions; verify struct initialization 2019-07-01 02:24:39 +02:00
Archan Patkar 74d234f8cd remove duplication by using a new Preferences struct 2019-06-30 22:03:17 +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 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 fa925f3092 os.v: clean up, remove C code, os.exec() 2019-06-26 17:01:50 +02:00
Ryota.I (yabu) 61e4367aa8 👍 Fix up redundant type declare and remove space (#603) 2019-06-26 16:39:40 +02:00
Alexander Medvednikov 2a3cf0bec9 os.v: clean up init_os_args() 2019-06-26 11:15:05 +02:00
Alexander Medvednikov f3f24b25bb remove old types and 2019-06-25 22:19:17 +02:00
Alexander Medvednikov f26e65a943 remove old `float` type entirely 2019-06-25 22:10:22 +02:00
Alexander Medvednikov 877d1c6255 table.v: stdout 2019-06-24 17:30:32 +02:00
Alexander Medvednikov 06a4dfa290 replace silly `exit(reason string)` with `exit(code int)` 2019-06-23 10:14:37 +02:00
Alexander Medvednikov 20b5c4b88b Remove println2 2019-06-23 10:03:03 +02:00
chai2010 978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
Yoshiya Hinosawa cf6aa16ee4 fix: fix error messages 2019-06-23 02:49:48 +02:00
Alexander Medvednikov d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00