Commit Graph

10887 Commits (d235de63e2a62a0768e3f1de69282b4244bb29d3)

Author SHA1 Message Date
Miccah d235de63e2
math: add egcd function implementing the extended Euclidean algorithm (#11203) 2021-08-16 11:49:50 +03:00
yuyi 90b052b1db
v.gen.c: fix error of if_expr in infix_expr (#11200) 2021-08-16 11:23:19 +03:00
Delyan Angelov d7490abe19
ci: fix binary_artifact.yml 2 2021-08-16 11:20:39 +03:00
Delyan Angelov 9aa84082fd
cleanup binary_artifact.yml, remove failing build-linux-arm64 job 2021-08-16 11:13:50 +03:00
Delyan Angelov f8d6fe7a8b
ci: skip running `fast` on FreeBSD 13 for now 2021-08-16 10:13:44 +03:00
Delyan Angelov 46ede3fb98
v check-md: reduce false positives for too long lines in various cases (real problems are easier to spot now) 2021-08-16 10:12:29 +03:00
Delyan Angelov e28dc0489d
ci: fix `./v check-md README.md` 2021-08-16 08:37:13 +03:00
Alexander Medvednikov e09d3eef5f tools/fast: fix uploading 2021-08-16 08:33:53 +03:00
Alexander Medvednikov 22b1fca793 tools/fast: minor fixes 2021-08-16 08:26:50 +03:00
Alexander Medvednikov 20ca038a56 ci: build hello world with -usecache 2021-08-16 06:42:43 +03:00
Alexander Medvednikov fadfc3b457 gg: format a line 2021-08-16 06:36:23 +03:00
Alexander Medvednikov 7f2d6b779d
readme: add a link to vinix 2021-08-16 06:35:26 +03:00
Alexander Medvednikov 58999423b7
readme: add vinix info 2021-08-16 06:34:13 +03:00
Alexander Medvednikov 765759817d ci: run fast.v with clang on freebsd 2021-08-16 06:30:35 +03:00
Alexander Medvednikov eb1ac5b30d time: use i64 in unix() 2021-08-16 06:28:54 +03:00
Lukas Neubert 1c847e04c8
fmt: fix malformed import for incorrect module lookup paths (#11192) 2021-08-16 05:15:32 +03:00
Miccah 60f21f065f
encoding.hex: remove strconv dependency (#11196) 2021-08-16 04:59:21 +03:00
Benjamin Stigsen 022503a107
gg: fix top left corner pixel not being drawn (#11202) 2021-08-16 04:59:05 +03:00
Miccah ea4f6fd48f
encoding: add a hex sub-module (#11193) 2021-08-15 21:42:51 +03:00
playX 4cde618582
js: fix builtin casts & global declarations with no initializer (#11187) 2021-08-15 18:10:06 +03:00
playX 659f823c5c
js: initial work on porting rand module to JS backend (#11188) 2021-08-15 18:09:51 +03:00
Delyan Angelov 6ee77724e8
cmd/tools/gen1m.v: fix unused variable warnings in 1m.v 2021-08-15 16:04:45 +03:00
Delyan Angelov 0be20f1556
v.pref: keep the -error-limit option for now too 2021-08-15 13:46:50 +03:00
Leo Developer b3094b0667
checker: abort prematurely on too many errors (#11185) 2021-08-15 13:41:51 +03:00
Delyan Angelov 6bc44acc70
Revert "ci: cleanup .cirrus.yml"
This reverts commit c26d82cc1a.
2021-08-15 12:22:36 +03:00
Delyan Angelov c26d82cc1a
ci: cleanup .cirrus.yml 2021-08-15 12:20:43 +03:00
Delyan Angelov 5da13ac5b1
ci: do not run fast on the FreeBSD runner for now 2021-08-15 12:11:52 +03:00
Delyan Angelov 344f13d6de
ci: cleanup .cirrus.yml 2021-08-15 12:03:09 +03:00
Delyan Angelov e0451c5b33
cmd/tools/fast/fast.v: use clang instead of tcc on the cirrus ci build ¯\_(ツ)_/¯ ... 2021-08-15 12:00:51 +03:00
Delyan Angelov 1a5c4b18ec
cmd/tools/fast/fast.v: do not use -no-std and -no-rsp anymore (tcc is the most recent on the CI runner now) 2021-08-15 11:52:11 +03:00
Delyan Angelov e64a9fa592
freebsd_build_tcc.sh: use an explicit --cc=clang 2021-08-15 11:43:25 +03:00
Delyan Angelov 3c553f16ed
ci: use gmake in freebsd_build_tcc.sh 2021-08-15 11:32:40 +03:00
Delyan Angelov d4af86738b
ci: try using freebsd_build_tcc.sh again on the FreeBSD runner 2021-08-15 11:27:45 +03:00
Delyan Angelov 0dde8ab0e5
cmd/tools/fast/fast.v: use -no-std for tcc too 2021-08-15 11:21:25 +03:00
Delyan Angelov 6843b85063
ci: fix `clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c` warnings 2021-08-15 11:12:48 +03:00
Delyan Angelov eef7eea7bc
v.pref, v.builder: support `-no-std` (skips passing `-std=c99` to the C backend) 2021-08-15 11:05:06 +03:00
Delyan Angelov b1186cca3f
cmd/tools/fast/fast.v: use -no-rsp for tcc (which may be much older on freebsd) 2021-08-15 10:47:44 +03:00
Delyan Angelov f7cbcc241a
v.pref, v.builder: support `-no-rsp` (pass C options directly to the C compiler backend, without writing response files) 2021-08-15 10:47:44 +03:00
Delyan Angelov 7494d7f6c7
ci: just rely on the freebsd's tcc being recent enough :-| 2021-08-15 10:06:04 +03:00
Delyan Angelov 1e7c9ad8d0
ci: do use freebsd_build_tcc.sh on the freebsd runner 2021-08-15 09:59:24 +03:00
Delyan Angelov 15eff279f4
ci: fix .cirrus.yml (tab => spaces) 2021-08-15 09:51:42 +03:00
Delyan Angelov e3bd793f43
ci: add a script to install tcc from source on freebsd so it can be run the freebsd job 2021-08-15 09:49:56 +03:00
Delyan Angelov c225bb8465
ci: install tcc on the freebsd runner too 2021-08-15 09:38:34 +03:00
Alexander Medvednikov e6d79f2fa7 ci: run fast.v on freebsd 2021-08-15 09:27:17 +03:00
Alexander Medvednikov f1244bd7f1 ci: do not upload fast.v results 2021-08-15 09:22:01 +03:00
Delyan Angelov f67e5d12e5
v.gen.c: fix v_typeof_interface_idx codegen (add `static `) 2021-08-15 09:15:33 +03:00
Alexander Medvednikov 1bfb525ce1 tools/fast: improve uploading to gh pages and print errors 2021-08-15 09:03:19 +03:00
Delyan Angelov 3ffa6c1664
v.pref: fix `./v -usecache -cg run examples/hello_world.v` 2021-08-15 08:35:41 +03:00
Alexander Medvednikov 40efe4f620
ci: freebsd (cirrus) 2021-08-15 08:18:59 +03:00
yuyi d3cf53ec41
cgen: fix a bug with autofree in if expr (#11182) 2021-08-15 07:55:27 +03:00