Commit Graph

  • 90cdf170a3
    Merge pull request #242 from schungx/master Stephen Chung 2020-09-24 23:43:00 +08:00
  • 6a53c446d3 Fix no_function build. Stephen Chung 2020-09-24 23:32:54 +08:00
  • c4ec93080e New FileModuleResolver. Stephen Chung 2020-09-24 22:50:28 +08:00
  • b8aeaa84de Add functions to iterate script function definitions. Stephen Chung 2020-09-24 16:10:25 +08:00
  • 12e9a8567d Make tables casing consistent. Stephen Chung 2020-09-24 11:17:39 +08:00
  • 9fcbda1ba4 Add reverse function to arrays. Stephen Chung 2020-09-24 10:51:21 +08:00
  • d91d983c74 Enable dots on numbers to parse as method calls. Stephen Chung 2020-09-23 22:48:28 +08:00
  • 277eef4be6
    Delete benchmark.yml Stephen Chung 2020-09-23 12:24:25 +08:00
  • 4d0b0ab4c9
    Merge pull request #240 from schungx/master Stephen Chung 2020-09-23 12:24:02 +08:00
  • 39433164f2 Fix no_float build. Stephen Chung 2020-09-23 12:06:17 +08:00
  • 4e0f887025 Merge branch 'master' into plugins Stephen Chung 2020-09-23 12:00:15 +08:00
  • ed38b50490 Add parse_int and parse_float. Stephen Chung 2020-09-23 12:00:03 +08:00
  • 5718f454c4
    Merge pull request #60 from jhwgh1968/plugins Stephen Chung 2020-09-23 11:54:57 +08:00
  • d65042088e Remove redundant clones in codegen J Henry Waugh 2020-09-22 21:38:02 -05:00
  • 035b9cb839 Avoid &mut ImmutableString. Stephen Chung 2020-09-22 22:45:11 +08:00
  • 235ad66d2b Flatten types in functions. Stephen Chung 2020-09-22 22:19:21 +08:00
  • 5a37497a22 Flatten type groups and types in parentheses. Stephen Chung 2020-09-22 21:29:44 +08:00
  • 3224c5baf5 Avoid &mut ImmutableString. Stephen Chung 2020-09-22 19:42:44 +08:00
  • 02f37870e5 Better position of string literal errors. Stephen Chung 2020-09-22 19:18:06 +08:00
  • 41a16c9cf7 Use modules. Stephen Chung 2020-09-22 19:17:50 +08:00
  • e7566da7d2 Fix no_std build. Stephen Chung 2020-09-22 18:06:36 +08:00
  • 4719a4ccee Update dependencies. Stephen Chung 2020-09-22 17:58:04 +08:00
  • 594dcc3a06 Disallow registering indexers for arrays, maps and strings. Stephen Chung 2020-09-22 17:57:56 +08:00
  • 870ff81203 Remove diag_test. Stephen Chung 2020-09-22 12:14:38 +08:00
  • 283495a02f Setters should have no return value. Stephen Chung 2020-09-22 12:14:26 +08:00
  • 8095ebc9e4 Remove unused imports. Stephen Chung 2020-09-21 18:00:46 +08:00
  • 83f9df2852 Fix op-assignment overrides. Stephen Chung 2020-09-21 16:15:52 +08:00
  • 748d4d2f36
    Merge pull request #59 from jhwgh1968/rusfmt_ci Stephen Chung 2020-09-21 09:24:03 +08:00
  • 896761eaa9 Update CI to enforce clippy::perf J Henry Waugh 2020-09-20 13:11:15 -05:00
  • c8dffff515 Fix clippy::perf lint errors J Henry Waugh 2020-09-20 13:07:43 -05:00
  • 788a22108b Hide clippy errors from exported modules J Henry Waugh 2020-09-20 13:03:35 -05:00
  • 795c3f870b New CI Job for Formatting J Henry Waugh 2020-09-20 12:47:31 -05:00
  • c389014df7 Run cargo fmt for loose ends J Henry Waugh 2020-09-20 12:37:37 -05:00
  • e89cec2829 Revert "Delete benchmark.yml" Stephen Chung 2020-09-20 18:42:17 +08:00
  • 1d77e3e174
    Merge pull request #238 from schungx/master Stephen Chung 2020-09-20 18:41:47 +08:00
  • 44416ecb05
    Delete benchmark.yml Stephen Chung 2020-09-20 18:33:52 +08:00
  • a49b58002a Fix doc tests. Stephen Chung 2020-09-20 15:55:11 +08:00
  • c7a675e18a Fix no_object builds. Stephen Chung 2020-09-20 14:52:38 +08:00
  • 1ae6af5289 Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins Stephen Chung 2020-09-20 14:32:44 +08:00
  • 3a98567139 Use take_string. Stephen Chung 2020-09-20 14:29:10 +08:00
  • d8d3b52d64 Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev Stephen Chung 2020-09-20 14:25:31 +08:00
  • 2ba875a177 Use take_string for &str and String parameters. Stephen Chung 2020-09-20 14:23:14 +08:00
  • bf245a798b Enable String parameters. Stephen Chung 2020-09-19 18:18:40 +08:00
  • 5a7a0f11ae Fix doc test. Stephen Chung 2020-09-18 14:12:57 +08:00
  • cfe28c9282 Remove Position parameter from plugin call function. Stephen Chung 2020-09-18 13:59:38 +08:00
  • 7c3498a4e1 Prevent errors when using alternative error printout style. Stephen Chung 2020-09-18 12:31:41 +08:00
  • 3341f40fd2 Refine docs. Stephen Chung 2020-09-20 10:50:58 +08:00
  • 20a453b3cc Enable String parameters. Stephen Chung 2020-09-19 18:18:40 +08:00
  • 39546b7053 Enable &str and String parameters in module functions. Stephen Chung 2020-09-19 18:12:23 +08:00
  • 2ff3a1fde5 Refine docs. Stephen Chung 2020-09-19 12:14:02 +08:00
  • f5d132d1f4 Fix doc test. Stephen Chung 2020-09-18 14:12:57 +08:00
  • fe718fea39 Remove Position parameter from plugin call function. Stephen Chung 2020-09-18 13:59:38 +08:00
  • 23b5bc4bd9 Prevent errors when using alternative error printout style. Stephen Chung 2020-09-18 12:31:41 +08:00
  • b795ce9f45 Refine docs. Stephen Chung 2020-09-18 11:52:23 +08:00
  • 206f21c26f
    Merge pull request #56 from schungx/plugins_dev Stephen Chung 2020-09-18 11:49:39 +08:00
  • 92be487e80 Implement constants via calling the constant. Stephen Chung 2020-09-17 11:56:10 +08:00
  • c07c4561eb Remove unused_variables. Stephen Chung 2020-09-17 11:40:31 +08:00
  • 5e4ba9c016 Swich back to assert_eq! for token stream tests. Stephen Chung 2020-09-17 11:37:23 +08:00
  • c692cd7e35 Fix tests. Stephen Chung 2020-09-14 11:40:23 +08:00
  • 3dc599c936 Streamline rhai_generate. Stephen Chung 2020-09-14 11:40:15 +08:00
  • 1060ff35fd Fix tests. Stephen Chung 2020-09-13 23:13:07 +08:00
  • d1d3aaf374 Add cast to type for constants to avoid mis-typing. Stephen Chung 2020-09-13 22:36:24 +08:00
  • 7ceb624ec1 Add combine_with_exported_module. Stephen Chung 2020-09-13 22:12:11 +08:00
  • c63f30a6a2 Fix tests. Stephen Chung 2020-09-14 11:40:23 +08:00
  • 52298bd96c Streamline rhai_generate. Stephen Chung 2020-09-14 11:40:15 +08:00
  • 654da2db8a Fix tests. Stephen Chung 2020-09-13 23:13:07 +08:00
  • d57ce9c050 Remove warning about unused constants in modules. Stephen Chung 2020-09-13 22:36:40 +08:00
  • 6126f0cb10 Add cast to type for constants to avoid mis-typing. Stephen Chung 2020-09-13 22:36:24 +08:00
  • f1d85ae99c Add combine_with_exported_module. Stephen Chung 2020-09-13 22:12:11 +08:00
  • 6dc5a81d53 Add cast to type for constants to avoid mis-typing. Stephen Chung 2020-09-13 22:36:24 +08:00
  • 848bdf3f01 Add combine_with_exported_module. Stephen Chung 2020-09-13 22:12:11 +08:00
  • aed70db303 Revert "Delete benchmark.yml" Stephen Chung 2020-09-15 12:30:40 +08:00
  • 2c1b75e0bb
    Merge pull request #234 from schungx/master Stephen Chung 2020-09-15 12:29:41 +08:00
  • d547562c14
    Delete benchmark.yml Stephen Chung 2020-09-15 12:29:10 +08:00
  • b0d86d8bf2 Revert "Delete benchmark.yml" Stephen Chung 2020-09-15 12:23:57 +08:00
  • c2a6fd5796 Merge branch 'master' of https://github.com/schungx/rhai Stephen Chung 2020-09-15 12:22:05 +08:00
  • 7f8269c288 Add bug fixes. Stephen Chung 2020-09-15 12:21:51 +08:00
  • 83a2b40107
    Delete benchmark.yml Stephen Chung 2020-09-15 12:19:26 +08:00
  • 29124a8543 Restore benchmark.yml. Stephen Chung 2020-09-15 12:14:57 +08:00
  • f69cd44f1a Merge branch 'master' of https://github.com/schungx/rhai Stephen Chung 2020-09-15 11:26:03 +08:00
  • 88e788208b
    Merge pull request #57 from Eliah-Lakhin/set-fn-4-mut-bug Stephen Chung 2020-09-15 11:24:16 +08:00
  • 4bb1a34abb Fixes bug in Module::set_fn_4_mut Ilya Lakhin 2020-09-15 10:03:46 +07:00
  • 2221d523f0
    Merge pull request #232 from schungx/master Stephen Chung 2020-09-14 22:34:13 +08:00
  • db59aed14e Fix bug in optimizer for if statements with empty true blocks. Stephen Chung 2020-09-14 22:24:55 +08:00
  • 5879f467d8
    Merge pull request #55 from jhwgh1968/getters_setters Stephen Chung 2020-09-13 17:37:28 +08:00
  • 381e80179e Re-bless ui tests J Henry Waugh 2020-09-12 22:57:17 -05:00
  • b1f23ac3ed Enforce signatures on user get/set/index functions J Henry Waugh 2020-09-12 22:28:41 -05:00
  • 0a2f93439e Reorganize get/set/index code into FnSpecialAccess J Henry Waugh 2020-09-12 22:27:54 -05:00
  • 335d853060 Unit tests for rename + getter/setter/indexer J Henry Waugh 2020-09-12 17:20:51 -05:00
  • 18032ab8a0 Unit test for multiple renames J Henry Waugh 2020-09-12 17:10:43 -05:00
  • cecf3dd585 Unit tests for index getters and setters J Henry Waugh 2020-09-12 15:22:09 -05:00
  • b74923a63c Unit tests for property getters and setters J Henry Waugh 2020-09-12 14:56:02 -05:00
  • 43969a7bee Forbid $ in renames J Henry Waugh 2020-09-09 16:25:09 -05:00
  • 6e701bfe83 Catch getter, setter, indexer errors J Henry Waugh 2020-09-09 16:24:37 -05:00
  • b311688fee Fix test. Stephen Chung 2020-09-11 22:56:19 +08:00
  • 36fe02558e Fix tests output. Stephen Chung 2020-09-11 22:45:15 +08:00
  • 6c69a40083 Allow scripted functions in packages. Stephen Chung 2020-09-11 22:32:59 +08:00
  • a75aba8a85 Rename calc_fn_spec to calc_fn_hash. Stephen Chung 2020-09-11 22:24:44 +08:00
  • d1ab9a2848 Fix bug on unary function hashes. Stephen Chung 2020-09-11 22:09:09 +08:00
  • c7de72aba2 Clarify private module functions/variables. Stephen Chung 2020-09-10 17:42:53 +08:00