Commit Graph

107 Commits (f1f8a2e4dd309c4af706893d13bab9a6b2d1ab68)

Author SHA1 Message Date
joe-conigliaro 554d1dd7c6
compiler: make optionals work with multi return 2020-02-02 02:53:23 +01:00
joe-conigliaro 05374e162e
compiler: attribute test - fix typo in function name 2020-02-01 18:59:34 +11:00
radare bf9eefa694
parser: resolve optional enum type 2020-01-31 16:00:31 +01:00
joe-conigliaro 80d936adc1
fix attributes on public structs & enums 2020-01-30 01:27:13 +01:00
Alexander Medvednikov f55646746c handle empty config structs 2020-01-24 18:57:32 +01:00
joe-conigliaro 20f6cdc53a compiler: fix module alias resolution 2020-01-23 21:07:53 +01:00
Alexander Medvednikov 0502a54a36 new gg/freetype modules with sokol/fontstash backends 2020-01-22 20:54:36 +01:00
Delyan Angelov d92291dd76 repl: execute REPL tests ~1.5x to 2x faster 2020-01-20 23:04:26 +01:00
Delyan Angelov 64a9f43405 Make REPL tests parallel too 2020-01-20 17:06:36 +01:00
Delyan Angelov ddc04979a4 deprecate `v runrepl` in favour of `v repl` 2020-01-17 14:09:26 +01:00
Delyan Angelov 6d30697d9b time: move time.random() to time.misc module
avoids importing rand to programs that do not need pseudo random generation).
2020-01-07 12:58:24 +01:00
Shivanjan Chakravorty a0c8ad7398 post increment/decrement repl fix 2020-01-07 12:26:49 +01:00
Alexander Medvednikov b815878d60
simplify and improve pratt 2020-01-06 16:13:12 +01:00
joe-conigliaro 43895269ff compiler: implement direct cast for sum type 2020-01-03 14:42:48 +01:00
Delyan Angelov a0f32f5c29 tests: improved test output formatting 2019-12-30 05:23:54 +01:00
Alexander Medvednikov b5fe40624c staments + a sum type fix 2019-12-28 18:53:08 +01:00
Alexander Medvednikov ca284482cb new AST built with sum types 2019-12-24 16:04:49 +03:00
Alexander Medvednikov 803ded3dec sum type `type Foo = Bar | Baz` 2019-12-24 16:04:49 +03:00
Alexey dced76d1a4 os, filepath: reorganize functions 2019-12-23 13:09:22 +03:00
Alexander Medvednikov 7ab993c218 sum types 2019-12-23 06:14:31 +03:00
れもん 28ecfb231d compiler: map[string]pointer, ?pointer, fix []pointer 2019-12-22 01:44:16 +03:00
Alexander Medvednikov 31b7991a93 negative enum vals + `[10]C.Foo` fix 2019-12-22 00:17:13 +03:00
joe-conigliaro fbd9fedbfb implement generic structs 2019-12-21 03:53:57 +03:00
BigBlack a38a0f4fb7 parser: fix x.function_pointer() 2019-12-19 21:23:29 +03:00
BigBlack 2f218b878b fix fn type call 2019-12-18 13:21:49 +03:00
Alexander Medvednikov 81045023c4 run vfmt on scanner.v 2019-12-18 08:26:51 +03:00
Alexander Medvednikov 3d1db3519d test enum printing 2019-12-18 05:45:48 +03:00
Alexander Medvednikov 7456d556e1 fix 2 repl tests 2019-12-18 05:02:23 +03:00
Johan Hillerström 6008fa44c6 parser: fix generic function call in `for in` expression 2019-12-17 01:08:30 +03:00
Alexander Medvednikov 560d1383d1 fix optional struct field assignment 2019-12-17 00:36:28 +03:00
Alexander Medvednikov bcde155da7 test the recent type alias string; print vweb templates in verbose mode 2019-12-16 19:34:04 +03:00
BigBlack fc33f9d49c type alias check 2019-12-14 22:01:20 +03:00
Delyan Angelov 1cd5fab21d testing: support for internal module testing 2019-12-14 15:57:28 +03:00
Alexander Medvednikov c72bf0e1b1 global access modifier 2019-12-13 20:28:28 +03:00
Alexander Medvednikov dc83e30a44 access modifiers: update tests/examples 2019-12-13 20:09:11 +03:00
Delyan Angelov fc64238a39 testing: allow tests to import the same module with no custom options 2019-12-13 19:28:39 +03:00
Alexander Medvednikov 88ec9c235d sort structs: handle fixed size arrays 2019-12-12 14:21:22 +03:00
joe-conigliaro 3486118ab7 compiler: force custom struct .str() methods to be defined public 2019-12-11 03:24:26 +03:00
joe-conigliaro 6d5e9f88f8 parser: allow enums to be used as bitfield flags 2019-12-10 06:16:47 +03:00
Alexander Medvednikov 02eee49d25 fix defer_test 2019-12-08 15:30:14 +03:00
Alexander Medvednikov c9886e6f42 use ++ everywhere 2019-12-08 14:34:51 +03:00
Alexander Medvednikov c019dd6f98 test assert in functions that return values 2019-12-07 22:42:20 +03:00
Alexander Medvednikov ad6adf327e vlib: fix missing `else{}` in match statements 2019-12-07 17:23:37 +03:00
Alexander Medvednikov a594e009f2 test high order function 2019-12-07 16:13:25 +03:00
Delyan Angelov 98374ea6fe CI: fix msvc (temporary work around dialogs poping up) 2019-12-05 17:08:18 +03:00
Alexander Medvednikov fb237b9e53 parser: check types in `a in b` expressions 2019-12-04 22:17:24 +03:00
Delyan Angelov 9a6711fa1b compiler: c'str' now has type charptr 2019-12-04 13:34:06 +03:00
Alexander Medvednikov 3fea8f3de5 *char => charptr everywhere 2019-12-01 10:33:26 +03:00
Alexander Medvednikov a23a4ed98a update all index() uses 2019-11-30 15:27:16 +03:00
bogen85 e31d892598 make _V_mret_ unique by putting p.token_idx in it 2019-11-29 11:11:53 +03:00