Commit Graph

44 Commits (dcfc9eb1a1f4a57da5f186c82bfc094bbbebe7ac)

Author SHA1 Message Date
Delyan Angelov 77b31de117 compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
Emily Hudson 151686501d compiler: fix MSVC flag parsing 2019-08-20 16:32:15 +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
Marco Böttcher d6d17fe3f2 scanner: string interpolation with $var at the end 2019-08-16 17:06:27 +03:00
Marco Böttcher 87216cff63 compiler: '\$' escape 2019-08-15 12:41:23 +03:00
Henrixounez 2ba1edaa80 repl: default printing fix and test 2019-08-12 16:19:56 +03:00
Alexander Medvednikov 3c6a11eb0b fix mut_test.v 2019-08-11 22:45:21 +03:00
Alexander Medvednikov 8c3475b902 generate `.str()` for all arrays 2019-08-11 22:39:45 +03:00
Julian Schurhammer 1864e92ff4 parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly 2019-08-10 10:26:42 +02:00
Henrixounez 7879bde8bb repl: enabled back and added automated tests
fixed typos and macos errors
2019-08-10 07:01:40 +02:00
Alexander Medvednikov 4b69d43f9f fix examples 2019-08-07 14:16:10 +02:00
Alexander Medvednikov 78c20e02ee tmp test fix 2019-08-07 13:50:28 +02:00
Alexander Medvednikov 7a7b5040e2 http: fix response headers and status code; clean up ft and gg 2019-08-06 03:06:27 +02:00
Marco Böttcher aff8d05040 compiler: add a test case to ensure more stable local modules 2019-08-05 10:05:00 +02:00
Alexander Medvednikov 5ed338dc2e bring back map.str() 2019-08-05 04:34:12 +02:00
Alexander Medvednikov 8d3617b3de fix fn_test.v and urllib.v 2019-08-05 03:31:22 +02:00
Alexander Medvednikov 350e13679c force `()` in complex bool expressions: `(a && b) || c` instead of `a && b || c` 2019-08-05 03:22:28 +02:00
joe-conigliaro 1a22482c09 move module tests 2019-07-28 17:20:24 +02:00
Alexander Medvednikov 2ad0d0200d make the new mut check work with `fn foo(mut bar)` 2019-07-25 14:04:45 +02:00
Alexander Medvednikov d1b732cbcc function argument benchmark 2019-07-25 00:13:54 +02:00
Alexander Medvednikov 9837d6cf69 fix option_test.v 2019-07-24 22:49:16 +02:00
Alexander Medvednikov d2b33397cc optionals: better errors 2019-07-24 22:41:46 +02:00
Alexander Medvednikov 6b2063a2ea mutable args: don't allow primitives 2019-07-24 15:33:41 +02:00
Alexander Medvednikov 7ea688aa43 fix mutable array args 2019-07-24 15:10:48 +02:00
Alexander Medvednikov c28a490c17 @ for escaping keywords 2019-07-24 02:28:29 +02:00
Alexander Medvednikov ac238a5362 allow multiple defers 2019-07-21 16:34:21 +02:00
Alexander Medvednikov 3245377683 fix defer before returns 2019-07-21 00:52:21 +02:00
Alexander Medvednikov 14ad70d3a0 match: else 2019-07-17 02:47:45 +02:00
Alexander Medvednikov 76d6e9fd1a minor match_test.v fixes 2019-07-17 02:44:41 +02:00
Alexander Medvednikov a9463a180d new match statement 2019-07-17 02:41:08 +02:00
d2verb 40ad868f22 Fix #1107 2019-07-15 16:30:06 +02:00
d2verb 2811145437 Add enum_test.v 2019-07-13 12:19:57 +02:00
joe-conigliaro 298ca8676f Change import syntax to "import as alias" 2019-07-13 12:15:16 +02:00
Nick Treleaven af19aa5096 Fix #1021 - Optional `or` branch doesn't define `err` 2019-07-07 01:24:36 +02:00
joe-conigliaro 8a2d25247f submodules 2019-07-07 01:22:47 +02:00
marco 155e1fa961 FIX #202
allow interface method with empty (void) return type

-> only look for type declaration if no new line has been
   while skipping whitespace
2019-07-04 01:04:10 +02:00
Alexander Medvednikov 1e32a4cec4 println: optimize and remove memory leaks 2019-07-04 00:40:30 +02:00
Alexander Medvednikov 8c36b9499d make json work with new optionals 2019-07-03 21:50:06 +02:00
jiro4989 30633ff14f Fix "Nested comments won't compile" (#908) 2019-07-02 02:19:15 +02:00
Alexander Medvednikov 761ba17018 move compiler tests to compiler/ 2019-06-29 12:10:19 +02:00