This website requires JavaScript.
1820732865
Bump version to 0.10.0-alpha1.
Stephen Chung
2020-02-25 11:12:42 +08:00
f8485932b5
Add documentation on pre-compilation.
Stephen Chung
2020-02-25 11:08:40 +08:00
2c3328e167
Merge branch 'master' of https://github.com/schungx/rhai
Stephen Chung
2020-02-25 10:52:23 +08:00
6434875530
Merge pull request #1 from jonathandturner/master
Stephen Chung
2020-02-25 10:51:02 +08:00
a0c5635712
Update README with new features.
Stephen Chung
2020-02-25 10:43:13 +08:00
60a7d51537
Allow override of print and debug.
Stephen Chung
2020-02-25 10:40:48 +08:00
2a663d5c07
Merge pull request #97 from schungx/master
Jonathan Turner
2020-02-25 05:18:56 +13:00
e4e471fd20
Add line/position in compilation errors; Add compile to AST; FIx infinite loop in close parens.
Stephen Chung
2020-02-24 23:25:52 +08:00
b3247204c6
Include filename in ErrorCantOpenScriptFile.
Stephen Chung
2020-02-24 11:06:33 +08:00
c58b3e644a
Ignore .vscode
Stephen Chung
2020-02-24 11:05:39 +08:00
896579869c
Fix test_mismatched_op.
Stephen Chung
2020-02-23 23:41:14 +08:00
157aa2be94
Add for statement and range function; New register_box_fn for functions returning Box<dyn Any> (which should not be boxed again); Register standard utility functions in library (e.g. print, string concat).
Stephen Chung
2020-02-23 22:48:46 +08:00
b2747b076e
Add bouncs check to array index access.
Stephen Chung
2020-02-23 14:09:40 +08:00
829621a3d4
Trap array out-of-bound index access error.
Stephen Chung
2020-02-23 13:59:50 +08:00
c4a2e3bd44
Merge pull request #90 from timfish/fixes/minor
Jonathan Turner
2019-10-10 05:47:16 +13:00
4217e96d19
Remove unused enums and simplify test assertions
timfish
2019-10-09 12:06:32 +01:00
1999120298
Merge pull request #89 from timfish/feat/std-any-type_name
Jonathan Turner
2019-10-01 07:08:48 +13:00
c34af7979a
Format
timfish
2019-09-30 18:58:01 +01:00
53bb0a38f0
Use std::any::type_name
timfish
2019-09-30 18:57:21 +01:00
20d30d93c3
Merge pull request #87 from timfish/feat/2018
Jonathan Turner
2019-10-01 05:45:30 +13:00
82fd20b2b1
Rust 2018
timfish
2019-09-18 11:21:07 +01:00
b92ed6201e
Merge pull request #86 from timfish/fix/small
Lukáš Hozda [magnusi]
2019-09-17 13:04:02 +02:00
d7d0507f5a
Fix readme and a couple of mis-named types?
timfish
2019-09-16 22:14:14 +01:00
7d3306f6c7
Merge pull request #85 from Calinou/fix-readme-mixed-indent
Jonathan Turner
2019-09-10 05:20:13 +12:00
e3bee78030
Fix mixed indentation in the README
Hugo Locurcio
2019-09-09 17:21:26 +02:00
daadb4c9ef
Bump version
Jonathan Turner
2019-07-23 19:55:58 +12:00
b114c0d420
Merge pull request #82 from dkushner/bugfix/nightly-type-id
Jonathan Turner
2019-04-21 11:01:21 -10:00
0a11cadebf
fix ambiguous calls to type_id preventing compilation on nightly
David Kushner
2019-04-17 13:28:14 -07:00
3bab79f375
Merge pull request #77 from stevedonovan/master
Lukáš Hozda [magnusi]
2018-07-22 19:14:48 +02:00
7ff1c39e01
Engine should be Clone
steve donovan
2018-07-22 17:06:13 +02:00
3fb2f543bb
Engine::register_type_name for nice error messages for arbitrary types
steve donovan
2018-07-22 11:43:21 +02:00
92716670fa
Merge pull request #76 from stevedonovan/master
Lukáš Hozda [magnusi]
2018-07-20 18:19:19 +02:00
2bf3f5e957
better not-found error messages for variables and functions
steve donovan
2018-07-16 13:01:11 +02:00
8bf318c99f
Merge pull request #71 from juanibiapina/directory-structure
Lukáš Hozda [magnusi]
2018-06-13 11:03:17 +02:00
e534e907e8
Use default rust directory structure for tests
Juan Ibiapina
2018-06-13 10:56:29 +02:00
59c60c43d1
bump version
Lukáš Hozda
2018-05-23 17:50:27 +02:00
0fd1bd66ca
Merge pull request #70 from rustysec/feature/unit-type
Lukáš Hozda [magnusi]
2018-05-23 17:49:41 +02:00
2f46af64dd
added unit type as ()
russ morris
2018-05-22 16:44:41 -07:00
aae4345911
bump version
Lukáš Hozda
2018-03-27 20:01:34 +02:00
8ad9726518
Merge pull request #62 from noformnocontent/master
Jonathan Turner
2018-03-02 17:12:39 +13:00
eda257a810
libs.rs >> awesome-rust
DYM
2018-03-01 18:51:01 +01:00
8d07d8e00a
lock debug messages behind 'debug_msgs' feature
Lukáš Hozda
2018-02-09 22:27:41 +01:00
02dff9525f
Merge branch 'master' of https://github.com/jonathandturner/rhai
Lukáš Hozda
2017-12-31 19:59:13 +01:00
ccc16f42f9
make engine clone-able
Lukáš Hozda
2017-12-31 19:58:50 +01:00
bcacf72a9f
Merge pull request #59 from nabijaczleweli/master
Lukáš Hozda [magnusi]
2017-12-21 15:16:03 +01:00
14f31f4232
Syntax highligh TOML as TOML in README
nabijaczleweli
2017-12-11 07:32:12 +01:00
f8606aec4c
bump version once again, since operators were renamed
Lukáš Hozda
2017-12-21 12:33:12 +01:00
b318ec24a9
rename OpEquals to OpAssign, as all of them are compound assignment operators
Lukáš Hozda
2017-12-21 12:32:18 +01:00
5edcfc2156
minor refactor
Lukáš Hozda
2017-12-21 12:28:59 +01:00
13f7f43f98
bump version, since @torkleyy provided some major improvements, also a breaking change (FnRegister -> RegisterFn); fix typo in readme
Lukáš Hozda
2017-12-21 11:24:30 +01:00
c1a0312432
Merge pull request #57 from torkleyy/rewrite
Lukáš Hozda [magnusi]
2017-12-21 11:17:54 +01:00
76a1e3056b
Add better funcion call syntax
torkleyy
2017-12-20 22:16:53 +01:00
71ebd0d4d1
Use &mut Any instead of &mut Box<Any>
torkleyy
2017-12-20 21:52:26 +01:00
348a680980
Fix build and all tests
torkleyy
2017-12-20 21:09:53 +01:00
3672414212
Simplify and fix code
torkleyy
2017-12-20 17:37:12 +01:00
aec1fdcb78
Revert debugging changes
torkleyy
2017-12-20 16:39:03 +01:00
a0fb5036f6
Minor tweaks, fix bug
torkleyy
2017-12-20 14:35:44 +01:00
f09545921f
Rewrite Rhai function dispatching
torkleyy
2017-12-20 12:16:14 +01:00
ecf143b649
Merge pull request #54 from rustysec/power_of
Lukáš Hozda [magnusi]
2017-11-24 10:16:13 +01:00
3a5a1d2aff
i64 and f64 exponent implementation
russ
2017-11-23 23:56:22 -08:00
5a9c59eaad
bump version to allow README update on crates.io
Lukáš Hozda
2017-11-04 11:20:34 +01:00
df6ac00a67
update README
Lukáš Hozda
2017-11-04 11:18:56 +01:00
8fbeecb31b
export EvalAltResult, because it was public already and might be needed for some eval() and consume() calls
Lukáš Hozda
2017-11-03 18:49:27 +01:00
bf77db513d
Merge pull request #50 from rustysec/tests
Lukáš Hozda [magnusi]
2017-11-03 18:10:00 +01:00
037a9cdc67
separated tests for mergability
russ
2017-11-03 09:58:51 -07:00
8e4ded77b0
I believe latest additions warrant a version increment
Lukáš Hozda
2017-11-02 08:34:32 +01:00
17ebeeeb89
add a test for unary after new binary ops
Lukáš Hozda
2017-11-01 23:09:30 +01:00
3c8feab630
allow unary after compound and new binary operators
Lukáš Hozda
2017-11-01 23:09:07 +01:00
2421ccb662
add .travis.yml
Lukáš Hozda
2017-11-01 22:27:52 +01:00
580b7c7d69
Merge pull request #48 from rustysec/integer_literals
Lukáš Hozda [magnusi]
2017-11-01 22:12:33 +01:00
7f6edf732f
resolved merge conflicts
russ
2017-11-01 11:17:53 -07:00
1c6a3fa5fa
Merge pull request #47 from rustysec/modulo_and_bugfix
Lukáš Hozda [magnusi]
2017-11-01 18:25:23 +01:00
6d151bc2b9
minor refactor for sanity
russ
2017-10-31 22:10:46 -07:00
6cff70f2a3
binary, hex, octal literal types
russ
2017-10-31 22:02:36 -07:00
4fed05c20a
bugfix for binary and, modulo, binary ops tests
russ
2017-10-31 15:06:13 -07:00
896c2f7a08
Merge pull request #43 from luciusmagn/master
Lukáš Hozda [magnusi]
2017-10-31 13:43:46 +01:00
99d5ae2524
Merge pull request #42 from rustysec/compound_assignment
Lukáš Hozda [magnusi]
2017-10-31 13:39:15 +01:00
f1cd71a72b
candidate compound assignment implementation
russ
2017-10-30 22:55:20 -07:00
04f0b70b4a
Merge pull request #38 from rustysec/float
Lukáš Hozda [magnusi]
2017-10-30 16:37:49 +01:00
e6b764a9df
fixed nagging merge conflicts
russ
2017-10-30 08:16:37 -07:00
e5e58fce98
sync'd latest master
russ
2017-10-30 08:08:44 -07:00
9448c19581
fix version in README, continue documenting
Lukáš Hozda
2017-10-30 13:08:40 +01:00
39c9460bbc
Merge pull request #41 from luciusmagn/master
Lukáš Hozda [magnusi]
2017-10-30 08:54:06 +01:00
50b8fe365a
fix warning in lib.rs doctest
Lukáš Hozda
2017-10-30 08:53:11 +01:00
b95c402e3f
Merge branch 'master' into master
Lukáš Hozda [magnusi]
2017-10-30 08:48:19 +01:00
68f4f77cb7
Merge pull request #40 from rustysec/inc_dec
Lukáš Hozda [magnusi]
2017-10-30 08:35:07 +01:00
e042e1e31d
candidate increment/decrement implementation
russ
2017-10-29 22:03:35 -07:00
18c6892df3
take 2, 100% fewer variable name conflicts
russ
2017-10-29 20:32:41 -07:00
f81ef3665e
bump version once more
Lukáš Hozda
2017-10-28 22:33:39 +02:00
47ce39062f
initial documentation (WIP)
Lukáš Hozda
2017-10-28 22:33:00 +02:00
1b22cab7dd
add loops and comments and a list of example scripts and how to run them to README
Lukáš Hozda
2017-10-28 21:59:14 +02:00
32c252d4d2
allow unary operators as the first token after if or while
Lukáš Hozda
2017-10-28 20:56:34 +02:00
ebbab0d259
bump version, remove unneeded cause() fn as it now has a provided implementation
Lukáš Hozda
2017-10-28 17:44:53 +02:00
780962fcea
add example scripts for comments and loop
Lukáš Hozda
2017-10-28 17:44:05 +02:00
347191505d
remove completed entries from TODO
Lukáš Hozda
2017-10-28 16:41:48 +02:00
caf8a411aa
impl loop and add tests for both unary operators and loops
Lukáš Hozda
2017-10-28 16:40:38 +02:00
679f0de6b6
implement unary + and -, add useful functions to Token
Lukáš Hozda
2017-10-28 16:08:24 +02:00
7f4fbd940a
remove finished items from TODO
Lukáš Hozda
2017-10-28 16:07:51 +02:00
b8157a1121
implement comments
Lukáš Hozda
2017-10-28 12:39:29 +02:00
01666cefb9
candidate f64 support
russ
2017-10-27 20:30:12 -07:00