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

104 Commits

Author SHA1 Message Date
7a67a08d2f js: implement codegen for array.sort and implement .any,.all (#11100) 2021-08-09 01:46:40 +03:00
94c321c80d v.gen.js: port fully the array test suite & add fixes (#11073) 2021-08-07 17:58:49 +03:00
8743b616a0 v.gen.js: codegen fixes, add a few builtins, port more array tests (#11049) 2021-08-04 12:46:24 +03:00
836ac54d12 v.gen.js: add more array tests and fixes (#11014) 2021-08-01 14:08:49 +03:00
a7ca051016 v.gen.js: fix for array filter, add more tests and other fixes (#10999) 2021-07-30 11:17:11 +03:00
75c41252d9 js: add more tests & add array prepend codegen (#10988) 2021-07-29 11:39:36 +03:00
e3cf95b058 js: add more tests for array, support array insert_many, minor fixes for references (#10983) 2021-07-28 13:01:00 +03:00
b0a721b2ec js: draft support for compiling -b js x_test.v 2021-07-27 13:49:47 +03:00
f51fa7e665 v.gen.js: fix references and add iterator to map (#10938) 2021-07-24 15:35:17 +03:00
69cbdf9fdc v.gen.js, os_js: port the OS module to JS (#10872) 2021-07-23 18:04:36 +03:00
ad3835b598 parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
d5e0fa6d1b v.gen.js: port string methods and fix booleans (#10824) 2021-07-18 09:00:20 +03:00
06edbc8a38 v.gen.js: implement most of array and map methods in builtin/js (#10806) 2021-07-15 17:36:53 +03:00
96c8d147b2 v.gen.js: add source map creation support (inline only, no src) (#10384) 2021-06-10 08:33:46 +03:00
ae9f8627fc checker: simplify generic structs (#10167) 2021-05-23 05:54:58 +03:00
57e6138a61 all: remove byteptr and charptr; replace them with &byte and &char 2021-04-04 17:43:32 +03:00
6bc9ef7373 builtin: vfmt every .v file, except vlib/builtin/int_test.v (#9448) 2021-03-24 20:39:59 +02:00
64d0006ff9 jsgen: fix string and array for loops and improve casting (#9295) 2021-03-14 08:20:01 +02:00
65e888230a jsgen: object equality checks, optimise casting and start builtin implementation (#9068) 2021-03-04 14:02:16 +01:00
d63b7bc35a all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
ac2c3847af all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
21805ea2a5 all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
90c1c639fe js: types (#7108) 2020-12-08 17:49:20 +01:00
96b73acad7 jsgen: optional "or blocks" (#6938) 2020-11-24 22:52:23 +01:00
aa90625819 js: initial support for optional return unwrapping (#6926) 2020-11-24 12:54:26 +01:00
a02aff9126 jsgen: fixes and improvements 2020-06-20 13:22:49 +02:00
13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
f2ea8ca62c jsgen: class -> factory 2020-05-21 22:36:06 +02:00
9888bacad5 v: make js hello world work 2020-05-21 16:17:16 +03:00
7f4cf08516 parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
f638caef39 compiler: v -autofree can now compile itself 2020-05-06 19:03:51 +03:00
acd80f052b tests: improve diagnostic output on failure 2020-05-04 11:21:25 +03:00
2574dce174 all: fix remaining []array warnings 2020-04-26 16:25:54 +02:00
69f256b900 use LF line endings in examples/quick_sort.v 2020-03-03 14:41:05 +01:00
ef8c1203b4 cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
7f709c3285 update copyright years 2020-02-03 05:00:36 +01:00
c8c43a2475 update copyright year 2020-01-23 21:04:46 +01:00
da9b6394e8 0bxxxx binary literal support; _ in literals (1_000_000) 2020-01-23 03:28:25 +01:00
5ff387bbe4 strings: split_nth and add tests 2019-12-01 16:10:13 +03:00
6eaa2db533 fix V.js 2019-11-14 10:05:41 +03:00
59378dce46 compiler/vlib: replace substr/left/right with [start..end] everywhere 2019-10-27 10:03:15 +03:00
4e21e9ed44 minor V.js fixes 2019-10-25 12:13:38 +03:00
d4c1bba856 fix V.js 2019-10-24 22:58:01 +03:00
054dd237a4 V.js: remove u8 2019-10-23 15:56:57 +03:00
6174dfb424 fix V.js 2019-10-23 15:51:52 +03:00
b73387647c v.js: make eprintln use console.error 2019-10-19 15:42:37 +03:00
de10a529b0 CI: fix building v 2019-10-14 07:08:02 +03:00
9385ed27ae fix v.js 2019-10-10 01:27:16 +03:00
2411b8d1e7 module cache fixes; do not allow function names starting with _ 2019-10-10 00:44:26 +03:00
e14861694c another v.js fix 2019-10-05 08:03:26 +03:00