1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
83289d74a7 builtin: fix int to hex 2020-04-02 17:16:17 +02:00
437bba5566 cgen: generate fn main for tests; fix consts bug 2020-03-24 22:24:03 +01:00
67ba56c65c expression: set integer literals as int by default 2020-03-23 20:05:37 +01:00
f798a0937a expression: set floats as f64 by default 2020-03-19 07:24:49 +01:00
630913d872 builtin: new str(), hex() functions without C.printf 2020-03-11 00:38:11 +01:00
7d2eb4f604 scanner: make 0o prefix the only way to define octals 2020-02-23 23:43:04 +01:00
adb1d3f8c9 scanner: enable 0oxx to handle octals 2020-02-23 12:33:07 +01:00
18c440c990 fix int_test.v 2020-02-07 22:16:14 +01:00
80daaff874 v2: scopes, or, in, hex 2020-02-04 17:44:39 +01:00
cba6a6fdea as casting 2019-12-30 10:47:34 +01:00
cb46bf314e get_type.v 2019-12-05 18:48:39 +03:00
ff80e3a5fa i8 print test + $if mac => $if macos 2019-12-03 16:09:43 +03:00
f724a956b3 parser: fix a & b == c precedence 2019-11-29 22:42:32 +03:00
56e4ed1e6b compiler: float comparison uses machine epsilon by default 2019-10-01 22:38:36 +03:00
6d483c0a56 parser: float1 == float2 uses machine epsilon by default 2019-09-29 18:27:53 +03:00
b4207e1be7 compiler: allow "u64_var == 0" without casting the const literal 2019-09-23 02:14:10 +03:00
1f67d9edd8 fix bugs breaking tests 2019-09-03 15:21:52 +03:00
1c6d51f271 remove u8 and i32 from tests and examples 2019-09-02 15:02:25 +03:00
3bd7bcfac3 remove u8 and i32 aliases 2019-09-01 22:37:22 +03:00
872aa536d8 compiler: unsigned number properly printed and converted to string
fix: array accessing now works with unsigned numbers
2019-08-12 09:15:53 +03:00
181a39d752 fix int_test.v 2019-08-09 10:21:21 +02:00
ae0e3efb8e scanner: experimental ≠ etc support 2019-08-09 09:32:51 +02:00
350e13679c force () in complex bool expressions: (a && b) || c instead of a && b || c 2019-08-05 03:22:28 +02:00
8bce5cb810 force snake_case in struct fields 2019-08-04 09:18:16 +02:00