Commit Graph

12838 Commits (9abf3a62c0558a4e4d8973785536a5818a064b42)

Author SHA1 Message Date
yuyi 9abf3a62c0
checker: fix error for fn with multi return () 2022-04-21 10:34:34 +02:00
yuyi f7dbbba7ae
checker: fix error for assign array of aliases () 2022-04-21 10:34:33 +02:00
Alexander Medvednikov fac15fb862
builtin: define C.abs() 2022-04-21 10:34:33 +02:00
Isaiah ae3906141d
vpm: fix get_all_modules() () 2022-04-21 10:34:33 +02:00
yuyi 9c7da323f1
checker: check error for arguments of array.contains() () 2022-04-21 10:34:33 +02:00
playX 9c9b50933c
v.util: add math to builtin_module_names (temporary fix for C2V) () 2022-04-21 10:34:33 +02:00
playX 0065dba88a
checker: c2v fixes () 2022-04-21 10:34:33 +02:00
Delyan Angelov f3ce968124
sync: use #insert for atomic.h, so that bootstrapping can be simplified 2022-04-21 10:34:33 +02:00
Delyan Angelov b03aa06152
checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-21 10:34:33 +02:00
JalonSolov 43efdd464e
checker: fix error message when number of generic parameters is incorrect () 2022-04-21 10:34:33 +02:00
Jef Roosens 32d7ae7835
Made publish curl's failable 2022-04-19 12:42:44 +02:00
yuyi 168531d4e0
examples: fix optional in string interpolation and format error () 2022-04-19 12:42:44 +02:00
yuyi 1660be910d
token: minor cleanup of token.v () 2022-04-19 12:42:44 +02:00
yuyi 33005becf1
checker: check fn return type mismatch () 2022-04-19 12:42:44 +02:00
Nick Treleaven f291e5fdd8
checker: Revert part of small_unsigned == signed () ()
`gcc -W` doesn't error for e.g. u16 == i32, only for u32 == i16.
Any u16 value can fit in an i32.
2022-04-19 12:42:43 +02:00
yuyi 898167f986
checker: check error for fn decl with optional arguments () 2022-04-19 12:42:43 +02:00
yuyi 77593d6c68
cgen: minor cleanup of infix_expr.v () 2022-04-19 12:42:43 +02:00
Delyan Angelov cc3740fda6
ci: update windows-install-sqlite.bat to latest sqlite 2022-04-19 12:42:43 +02:00
yuyi 0d4d4ffc2d
ast, checker, cgen: fix aggregations type check () 2022-04-19 12:42:43 +02:00
spaceface 090a9755db
builtin: compile the gc statically by default () 2022-04-19 12:42:43 +02:00
Jef Roosens 761ed28bb4
Fixed typo in ci config [CI SKIP] 2022-04-18 10:28:04 +02:00
Jef Roosens 07cab64d12
Added PKGBUILD & CI step for deploying packages 2022-04-18 10:27:07 +02:00
Jef Roosens 92ad025d40
Corrected GNUmakefile as well [CI SKIP] 2022-04-17 18:31:46 +02:00
Jef Roosens 38cceeafe5
Verify ssh keys; stop building for armv7 2022-04-17 18:05:06 +02:00
Jef Roosens 56597ba354
Please just work 2022-04-17 18:01:01 +02:00
Jef Roosens 01b9d033d8
Perhaps some more quoting issues 2022-04-17 17:54:48 +02:00
Jef Roosens 5833d5e9c2
Clone using ssh url instead 2022-04-17 17:49:25 +02:00
Jef Roosens 1529b6a3f6
Merged build & gen-vc 2022-04-17 17:46:16 +02:00
Jef Roosens 18ef6e4a31
Main instead of master 2022-04-17 17:43:54 +02:00
Jef Roosens 31ff4c32ed
Commit to awake ci 2022-04-17 17:38:51 +02:00
Jef Roosens a05a3a9fdb
Some more quoting 2022-04-17 17:35:30 +02:00
Jef Roosens 31566d784c
Once again, we need git 2022-04-17 17:31:07 +02:00
Jef Roosens f23e273f3d
Why is git not in build-essential gosh 2022-04-17 17:29:32 +02:00
Jef Roosens 5618916a67
Install build-essential for compiler build 2022-04-17 17:28:39 +02:00
Jef Roosens d0d1f60c7f
Perhaps quote the square brackets? 2022-04-17 17:26:12 +02:00
Jef Roosens 5c27361e15
There's so many bugs in this yaml 2022-04-17 17:19:03 +02:00
Jef Roosens 1beedc54f4
Fixed dockerfile; hopefully implemented vc ci routine 2022-04-17 17:15:39 +02:00
Ikko Ashimine 186c056a46
io: fix typo in readerwriter.v ()
seperate -> separate
2022-04-17 16:52:49 +02:00
yuyi f33bccc111
checker, cgen: minor cleanup of last expr stmt expression () 2022-04-17 16:52:49 +02:00
yuyi 5e98ea12c8
checker, cgen: fix error for if expr with generic sumtype () 2022-04-17 12:14:33 +02:00
Vincenzo Palazzo 9f9d24d616
checker: ensure that the variant SubType exists ()
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-04-17 12:14:33 +02:00
Vincenzo Palazzo 9528a89b17
ci: reformatted tools/vcreate.v ()
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-04-17 12:14:33 +02:00
Cameron Katri a286129f4a
vcreate: Allow custom default license () 2022-04-17 12:14:33 +02:00
Delyan Angelov 53fde9c812
v.util: always compile vfmt with `-d vfmt` to enable more efficient parsing 2022-04-17 12:14:33 +02:00
Julien de Carufel 72a7c19f83
cgen: fix infix generics bug () 2022-04-17 12:14:33 +02:00
Alexander Medvednikov e65f602a4f
doc: byte => u8 2022-04-17 12:14:32 +02:00
Delyan Angelov 2d9d4f86a8
v.pref: show the VCROSS_COMPILER_NAME notice only when the output is not a .c file 2022-04-17 12:14:32 +02:00
Delyan Angelov 0fd92699e7
ci: add test_byte_vs_u8 to int_test.v 2022-04-17 12:14:32 +02:00
Delyan Angelov 807038be66
ci: fix typeof_simple_types_test.v 2022-04-17 12:14:32 +02:00
Delyan Angelov 409fc2b1ee
ci: fix typeof_simple_types_test.v 2022-04-17 12:14:32 +02:00