Commit Graph

  • e9c8af13a1 doc: fix minor typos in build-c pancake 2022-03-14 20:26:58 +0100
  • 9291180274 fmt Nick Treleaven 2022-03-14 18:59:10 +0000
  • e96385463e Fix slice inside ternary Nick Treleaven 2022-03-14 18:56:22 +0000
  • 083469eeaa gen/c: fix double evaluation of rvalue array expression in slice Nick Treleaven 2022-03-14 17:03:11 +0000
  • 34dd4f34ab
    checker: fix cgen error on sliced references (#13736) weekly.2022.11 Nick Treleaven 2022-03-14 17:52:37 +0000
  • ea3c0166c0
    ast: fix error for typeof aggregate (#13735) yuyi 2022-03-15 00:42:47 +0800
  • d6eb6d5bae
    doc: update struct access modifiers (#13734) serg-meus 2022-03-14 23:38:36 +0700
  • 337948b337
    Apply suggestions from code review serg-meus 2022-03-14 22:31:17 +0700
  • 7da28deaaf fmt Nick Treleaven 2022-03-14 14:50:53 +0000
  • dbb18e3656
    parser: fix error for match branch with array expression (#13733) yuyi 2022-03-14 22:19:05 +0800
  • 231a2fb9fc ast: fix error for typeof aggregate yuyi98 2022-03-14 22:01:38 +0800
  • e711fe6782 checker: fix cgen error on sliced references Nick Treleaven 2022-03-14 14:01:35 +0000
  • 4da1d67eaf
    doc: update struct access modifiers serg-meus 2022-03-14 20:47:09 +0700
  • a1d0db792e
    native: initial support for typeof() expressions (#13730) pancake 2022-03-14 14:15:06 +0100
  • c342511483 parser: fix error for match branch with array expression yuyi98 2022-03-14 17:55:37 +0800
  • d435331d7a Fix & pancake 2022-03-14 10:28:01 +0100
  • a8f6574471
    math: allow i64 in digits function and add count_digits function (#13729) kylepritchard 2022-03-14 08:41:01 +0000
  • 18c58c7244
    do not use %, in favour of division, multiplication and addition Delyan Angelov 2022-03-14 10:34:51 +0200
  • c8b0f51c13
    builtin.wasm_bare: use walloc as malloc/free implementation (#13731) playX 2022-03-14 10:20:20 +0300
  • 32a012ddd9 v: Allow any clang version for WASM builds playXE 2022-03-14 09:10:24 +0300
  • 0433f8e1d2 builtin/wasm: Use walloc for malloc/free playXE 2022-03-14 09:10:07 +0300
  • f189bbd356 remove commented code pancake 2022-03-13 21:35:28 +0100
  • 8d544f276e
    make the doc strings for digits more explicit Delyan Angelov 2022-03-13 22:28:19 +0200
  • d07566fbc6 native: initial support for typeof() expressions pancake 2022-03-13 21:10:27 +0100
  • 4094df512d
    add more tests for a known number like 100 in base 10, expressed in different bases Delyan Angelov 2022-03-13 22:21:35 +0200
  • 9f22fbafee
    math.digits: add a convenience reverse parameter too Delyan Angelov 2022-03-13 22:15:05 +0200
  • 96ee0efc12
    improve math.digits/2 api by using a struct instead of an unrestricted variadic for passing the optional parameter Delyan Angelov 2022-03-13 22:11:18 +0200
  • 5c88337150
    fix test, remove redundant comments, make the assertions more exhaustive and readable Delyan Angelov 2022-03-13 22:03:40 +0200
  • fa5dc02358
    run v fmt Kyle Pritchard 2022-03-13 17:28:25 +0000
  • 204568a398
    tidy up fucntion arguments and fix error in count_digits Kyle Pritchard 2022-03-13 17:17:14 +0000
  • 1e607656ed
    improve math.digit and add math.count_digit Kyle Pritchard 2022-03-13 16:16:58 +0000
  • ca40cf3eb6
    improve math.digits to accept larger numbers Kyle Pritchard 2022-03-13 15:59:07 +0000
  • 4d99157cd5
    ci: add go2v build & test job to other_ci.yml Delyan Angelov 2022-03-13 19:03:35 +0200
  • f7feb634d2
    checker: fix error for if mut with immutable variable (#13728) yuyi 2022-03-13 22:33:50 +0800
  • b020b75233 checker: fix error for if mut with immutable variable yuyi98 2022-03-13 18:06:21 +0800
  • 9495aacf3e
    datatypes.fsm: add a fsm_graph.v tool (#13723) Mihai Galos 2022-03-13 10:40:03 +0100
  • 99482e6b87
    Add more examples on how to work with .dot files in README.md Delyan Angelov 2022-03-13 10:31:29 +0200
  • 3a9ed0a066
    move vlib/datatypes/fsm/fsm_graph.v to vlib/datatypes/fsm/tools/fsm_graph.v Delyan Angelov 2022-03-13 10:31:07 +0200
  • 5a906246c1
    vfmt vlib/datatypes/fsm/fsm_graph.v Delyan Angelov 2022-03-13 10:07:26 +0200
  • cc188916bf
    Add FSM plot Mihai Galos 2022-03-12 19:43:22 +0100
  • 424ef0b2b8
    stbi: fixed panic when trying to load JPG (#13724) Adam Oates 2022-03-13 07:57:34 +0000
  • 27f9bc9ba0
    checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725) yuyi 2022-03-13 15:53:29 +0800
  • 035e658fbd change match_mut_with_immutable_var_err test yuyi98 2022-03-13 11:27:18 +0800
  • 96a4a7bff3 checker: check error for match mut with immutable variable yuyi98 2022-03-13 11:17:39 +0800
  • 1ee8f9c8f6 stbi: fixed panic when trying to load JPG Adam Oates 2022-03-12 18:49:25 -0600
  • 83762fa4a4
    native: align the disassembly/comment column in the `-v -b native` output Delyan Angelov 2022-03-12 11:08:32 +0200
  • 40504e8600
    rand: further bridge gap b/w rand module and PRNG interface (#13719) Subhomoy Haldar 2022-03-12 13:11:12 +0530
  • 2fe02cd505 cleanup imports Subhomoy Haldar 2022-03-12 01:12:32 +0530
  • 807cd408f7 decrease gap between PRNG interface and rand module functions Subhomoy Haldar 2022-03-12 01:09:12 +0530
  • ba4cb35251 v fmt Subhomoy Haldar 2022-03-12 00:01:47 +0530
  • d2c483635d add missing read() function and tests Subhomoy Haldar 2022-03-12 00:01:22 +0530
  • a3e9409196
    strconv: fix a double free bug in v_sprintf/remove_tail_zeros_old, reduce leaks Delyan Angelov 2022-03-11 18:54:28 +0200
  • 795fe5844c
    strconv: fix strconv.v_printf() (#13716) yuyi 2022-03-11 23:00:57 +0800
  • e559758873 strconv: fix error of vprintf() yuyi98 2022-03-11 21:45:28 +0800
  • 10ab758aa7
    ast: minor cleanup in pref_arch_to_table_language() (#13714) yuyi 2022-03-11 20:56:48 +0800
  • b56352972c ast: minor cleanup in pref_arch_to_table_language() yuyi98 2022-03-11 17:48:19 +0800
  • 8dc4b1d9a3
    builtin: use malloc_noscan more (for map metas and in []byte.hex()) Delyan Angelov 2022-03-11 11:07:00 +0200
  • 1993bf2a12
    parser: cleanup map syntax (#13713) yuyi 2022-03-11 17:15:52 +0800
  • c1c3ae2a18
    parser: minor cleanup in fn_args() (#13711) yuyi 2022-03-11 16:42:03 +0800
  • 6082e84332 parser: cleanup map syntax yuyi98 2022-03-11 15:21:17 +0800
  • 69cb86ef6b parser: minor cleanup in fn_args() yuyi98 2022-03-11 10:32:39 +0800
  • 3f351036a2
    parser: fix error for fn with type only argument (fix #13704) (#13709) yuyi 2022-03-11 04:52:06 +0800
  • 723aca3950
    change test to use `time` instead of `gg`, so it can be run everywhere Delyan Angelov 2022-03-10 22:35:11 +0200
  • dd06698ee3
    ast: rename TypeSymbol.is_public to TypeSymbol.is_pub (#13710) yuyi 2022-03-11 04:18:57 +0800
  • f3388df577
    ci: fix dump_expression.vv when v is actually vprod (-‸ლ) Delyan Angelov 2022-03-10 18:12:03 +0200
  • 5148308586 fix some anomalies yuyi98 2022-03-10 22:51:41 +0800
  • 308500ff90 ast: rename TypeSymbol.is_public to TypeSymbol.is_pub yuyi98 2022-03-10 22:40:23 +0800
  • d6d45f7ab0 parser: fix error for fn with type only argument yuyi98 2022-03-10 22:13:34 +0800
  • e8c8f0e7c0
    v.ast: fix `dump(os.real_path(Makefile))` printing `main.os.real_path` Delyan Angelov 2022-03-10 11:11:09 +0200
  • 4bea35b028
    vlib/arrays: fix `copy` to not use memcpy for array, map, string (#13703) Nick Treleaven 2022-03-09 22:30:51 +0000
  • de2fc87995
    os: handle trailing backslash on windows path when quoting (#13705) JalonSolov 2022-03-09 17:29:37 -0500
  • b5bb17071c shorter fix JalonSolov 2022-03-09 14:59:30 -0500
  • 2335a2ea4a fix return JalonSolov 2022-03-09 14:50:50 -0500
  • 9bb848bb61 fix: handle trailing backslash on windows path when quoting JalonSolov 2022-03-09 14:32:37 -0500
  • 7231a3f135
    vlib: add `mut` for the first parameter of builtin.copy, arrays.copy and crypto (#13702) Nick Treleaven 2022-03-09 18:26:00 +0000
  • 4c33003f86
    checker: check error for infix compare optional (#13701) yuyi 2022-03-10 02:20:21 +0800
  • 54de04a916
    arrays: improve fold/reduce docs (#13700) Nick Treleaven 2022-03-09 18:04:49 +0000
  • bab4517984 vlib/crypto: fix missing `mut` Nick Treleaven 2022-03-09 15:21:24 +0000
  • a66660894c vlib/arrays: fix copy to not use memcpy for array, map, string Nick Treleaven 2022-03-09 12:46:28 +0000
  • 8fc5db7bff declare `mut dst` parameter Nick Treleaven 2022-03-09 13:13:20 +0000
  • 747b2d07bc Fix vlib Nick Treleaven 2022-03-09 13:01:53 +0000
  • 1b8920e943
    Apply suggestions from code review Delyan Angelov 2022-03-09 14:39:59 +0200
  • f7fd4b6db2 vlib: make builtin.copy and arrays.copy declare `mut dst` Nick Treleaven 2022-03-09 12:21:22 +0000
  • 75c8768fe2 checker: check error for infix compare optional yuyi98 2022-03-09 19:46:15 +0800
  • 2835253f22 vlib/arrays: Improve fold/reduce docs Nick Treleaven 2022-03-07 13:50:30 +0000
  • 437ffa215f string: fix split of empty string yuyi98 2022-03-09 18:42:26 +0800
  • 6c7243f2f7
    checker: remove redundant 'c.expected_type = ast.void_type' (#13687) yuyi 2022-03-09 18:33:23 +0800
  • d5b087de10
    vlib: add a datatypes.fsm module (#13668) Mihai Galos 2022-03-09 11:14:54 +0100
  • ef37f59bc2 fix comptime `$else` `[noreturn]` function timbasel 2022-03-09 09:53:54 +0100
  • 201e50a96d
    Ensure that the FSM can have *multiple* possible transitions for each state, not just one; add a looping test; improve API; add more descriptions on what is happening when in the README.md . Delyan Angelov 2022-03-09 10:51:33 +0200
  • a88f01b2a6
    Delete statemachine example Delyan Angelov 2022-03-09 09:18:20 +0200
  • aabdb3de7b v fmt struct_embed_method_is_private_test.v yuyi98 2022-03-09 11:06:16 +0800
  • cc4da51f89
    Updated index_by call I missed Tarcisio Gruppi 2022-03-09 00:05:35 -0300
  • 7af164474b checker: fix error for embedded struct method is private yuyi98 2022-03-09 10:53:23 +0800
  • f1873908ea
    Make all string.index functions return ?int Tarcisio Gruppi 2022-03-08 22:13:17 -0300
  • 3f1e232c9b
    native: support comparing two idents and avoid printing idents (#13686) pancake 2022-03-08 18:52:30 +0100
  • fb6ffb89f2 Test formal parameters passed correctly Mihai Galos 2022-03-08 18:16:16 +0100
  • 3de9ae264e Use from and to formal parameters Mihai Galos 2022-03-08 18:13:31 +0100
  • 40eef8f65a Apply format Mihai Galos 2022-03-08 17:59:50 +0100
  • 241b2c9576 Add state machine example Mihai Galos 2022-03-08 17:47:02 +0100