Commit Graph

372 Commits

Author SHA1 Message Date
Hugo Locurcio
e3bee78030
Fix mixed indentation in the README
This makes the Loop example script display correctly on GitHub.
2019-09-09 17:21:46 +02:00
Jonathan Turner
daadb4c9ef Bump version 2019-07-23 19:55:58 +12:00
Jonathan Turner
b114c0d420
Merge pull request #82 from dkushner/bugfix/nightly-type-id
Fix ambiguous calls to `type_id()` preventing compilation on 1.35-nightly.
2019-04-21 11:01:21 -10:00
David Kushner
0a11cadebf fix ambiguous calls to type_id preventing compilation on nightly 2019-04-17 13:28:14 -07:00
Lukáš Hozda [magnusi]
3bab79f375
Merge pull request #77 from stevedonovan/master
Engine::register_type_name for nice error messages for arbitrary types
2018-07-22 19:14:48 +02:00
steve donovan
7ff1c39e01 Engine should be Clone 2018-07-22 17:06:13 +02:00
steve donovan
3fb2f543bb Engine::register_type_name for nice error messages for arbitrary types 2018-07-22 11:43:21 +02:00
Lukáš Hozda [magnusi]
92716670fa
Merge pull request #76 from stevedonovan/master
better not-found error messages for variables and functions
2018-07-20 18:19:19 +02:00
steve donovan
2bf3f5e957 better not-found error messages for variables and functions 2018-07-16 13:01:11 +02:00
Lukáš Hozda [magnusi]
8bf318c99f
Merge pull request #71 from juanibiapina/directory-structure
Use default rust directory structure for tests
2018-06-13 11:03:17 +02:00
Juan Ibiapina
e534e907e8 Use default rust directory structure for tests 2018-06-13 10:56:29 +02:00
Lukáš Hozda
59c60c43d1 bump version 2018-05-23 17:50:27 +02:00
Lukáš Hozda [magnusi]
0fd1bd66ca
Merge pull request #70 from rustysec/feature/unit-type
added unit type as ()
2018-05-23 17:49:41 +02:00
russ morris
2f46af64dd added unit type as () 2018-05-22 16:44:41 -07:00
Lukáš Hozda
aae4345911 bump version 2018-03-27 20:01:34 +02:00
Jonathan Turner
8ad9726518
Merge pull request #62 from noformnocontent/master
libs.rs >> awesome-rust
2018-03-02 17:12:39 +13:00
DYM
eda257a810
libs.rs >> awesome-rust
libs.rs is DEPRECATED in favour of https://github.com/rust-unofficial/awesome-rust
2018-03-01 18:51:01 +01:00
Lukáš Hozda
8d07d8e00a lock debug messages behind 'debug_msgs' feature 2018-02-09 22:27:41 +01:00
Lukáš Hozda
02dff9525f Merge branch 'master' of https://github.com/jonathandturner/rhai 2017-12-31 19:59:13 +01:00
Lukáš Hozda
ccc16f42f9 make engine clone-able 2017-12-31 19:58:50 +01:00
Lukáš Hozda [magnusi]
bcacf72a9f
Merge pull request #59 from nabijaczleweli/master
Syntax highlight TOML as TOML in README
2017-12-21 15:16:03 +01:00
nabijaczleweli
14f31f4232
Syntax highligh TOML as TOML in README 2017-12-21 14:24:54 +01:00
Lukáš Hozda
f8606aec4c bump version once again, since operators were renamed 2017-12-21 12:33:12 +01:00
Lukáš Hozda
b318ec24a9 rename OpEquals to OpAssign, as all of them are compound assignment operators 2017-12-21 12:32:18 +01:00
Lukáš Hozda
5edcfc2156 minor refactor 2017-12-21 12:28:59 +01:00
Lukáš Hozda
13f7f43f98 bump version, since @torkleyy provided some major improvements, also a breaking change (FnRegister -> RegisterFn); fix typo in readme 2017-12-21 11:24:30 +01:00
Lukáš Hozda [magnusi]
c1a0312432
Merge pull request #57 from torkleyy/rewrite
Rewrite Rhai function dispatching
2017-12-21 11:17:54 +01:00
torkleyy
76a1e3056b Add better funcion call syntax 2017-12-20 22:16:53 +01:00
torkleyy
71ebd0d4d1 Use &mut Any instead of &mut Box<Any> 2017-12-20 21:52:26 +01:00
torkleyy
348a680980 Fix build and all tests 2017-12-20 21:09:53 +01:00
torkleyy
3672414212 Simplify and fix code 2017-12-20 17:37:12 +01:00
torkleyy
aec1fdcb78 Revert debugging changes 2017-12-20 16:39:03 +01:00
torkleyy
a0fb5036f6 Minor tweaks, fix bug 2017-12-20 16:32:04 +01:00
torkleyy
f09545921f Rewrite Rhai function dispatching 2017-12-20 12:16:14 +01:00
Lukáš Hozda [magnusi]
ecf143b649
Merge pull request #54 from rustysec/power_of
i64 and f64 exponent implementation
2017-11-24 10:16:13 +01:00
russ
3a5a1d2aff i64 and f64 exponent implementation 2017-11-23 23:56:22 -08:00
Lukáš Hozda
5a9c59eaad bump version to allow README update on crates.io 2017-11-04 11:20:34 +01:00
Lukáš Hozda
df6ac00a67 update README 2017-11-04 11:18:56 +01:00
Lukáš Hozda
8fbeecb31b export EvalAltResult, because it was public already and might be needed for some eval() and consume() calls 2017-11-03 18:49:27 +01:00
Lukáš Hozda [magnusi]
bf77db513d
Merge pull request #50 from rustysec/tests
separated tests for mergability
2017-11-03 18:10:00 +01:00
russ
037a9cdc67 separated tests for mergability 2017-11-03 09:58:51 -07:00
Lukáš Hozda
8e4ded77b0 I believe latest additions warrant a version increment 2017-11-02 08:34:32 +01:00
Lukáš Hozda
17ebeeeb89 add a test for unary after new binary ops 2017-11-01 23:09:30 +01:00
Lukáš Hozda
3c8feab630 allow unary after compound and new binary operators 2017-11-01 23:09:07 +01:00
Lukáš Hozda
2421ccb662 add .travis.yml 2017-11-01 22:27:52 +01:00
Lukáš Hozda [magnusi]
580b7c7d69
Merge pull request #48 from rustysec/integer_literals
Integer literals
2017-11-01 22:12:33 +01:00
russ
7f6edf732f resolved merge conflicts 2017-11-01 11:17:53 -07:00
Lukáš Hozda [magnusi]
1c6a3fa5fa
Merge pull request #47 from rustysec/modulo_and_bugfix
bugfix for binary and, modulo, binary ops tests
2017-11-01 18:25:23 +01:00
russ
6d151bc2b9 minor refactor for sanity 2017-10-31 22:10:46 -07:00
russ
6cff70f2a3 binary, hex, octal literal types 2017-10-31 22:02:36 -07:00