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

125 Commits

Author SHA1 Message Date
b2945e916f js: add initial support for runes (#12077) 2021-10-06 10:43:49 +03:00
8d1ba52d0c js: fix string.bytes codegen, readline, add tests for strings (#12060) 2021-10-04 18:28:30 +03:00
9145cd66ec js: add more tests to builtin/js and implement more builtin functions (#12049) 2021-10-03 10:08:21 +03:00
82f187e5e0 js: fix rand build, properly use key values on map, add rand.string (#12020) 2021-10-01 21:23:49 +03:00
4333a53f28 js: support running .js.v tests in v test-self, fixes for array methods & codegen (#12011) 2021-09-29 15:33:14 +03:00
863dd0b23e js: array improvements (#11952) 2021-09-26 07:33:53 +03:00
7d1776b84d js: equality method generation for V types (#11503) 2021-09-16 07:07:48 +03:00
5b619b99c2 v.gen.js: Interfaces support, fix for error propagation & panic stacktraces (#11471) 2021-09-11 14:24:47 +03:00
4faa0f8487 v.checker: add checks for .free() methods 2021-09-09 09:54:06 +03:00
72089c4feb js: use prefixed names for functions and global symbols (#11387) 2021-09-08 20:30:46 +03:00
91f7be98d0 builtin.js.v: run vfmt 2021-09-03 14:13:36 +03:00
a4df418a68 js: support [export: 'AnotherName'] for FnDecl codegen (#11377) 2021-09-03 13:00:24 +03:00
08c517c966 strconv,v.gen.js: proper optionals returns, strconv compiles to the JS backend (#11364) 2021-09-03 12:16:07 +03:00
a9b705bfd8 js: fix printing, make builtins for result and option types behave correctly (#11336) 2021-08-30 20:47:18 +03:00
61ac7b671d js: add initial support for optional types, IfGuardExpr codegen for if (#11332) 2021-08-29 14:27:17 +03:00
118c5fdcd8 js: fix -stats compilation of tests, proper alias codegen (#11327) 2021-08-28 16:57:33 +03:00
bdf11d969a js: add basic support for running tests, fix string.replace_each (#11314) 2021-08-26 15:20:54 +03:00
109d5d5847 js: os now compiles to the JS backend, more builtins & minor codegen fixes (#11302) 2021-08-25 14:40:53 +03:00
d78e7e3b2b js: codegen fixes, W.I.P os availability for JS backend (#11281) 2021-08-23 14:25:02 +03:00
0121c8b4fd v.gen.js: fix method calls and other codegen parts, rand module compiles (#11205) 2021-08-18 11:33:37 +03:00
c9e9556a92 js: array.delete_last() (#11160) 2021-08-12 19:39:33 +03:00
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