Stephen Chung
|
883f08c026
|
Enable more indexing expressions.
|
2020-03-05 20:28:03 +08:00 |
|
Stephen Chung
|
c9395049e2
|
Remove no-std feature and rename stdlib to no_stdlib.
|
2020-03-05 10:18:46 +08:00 |
|
Stephen Chung
|
347f6d607a
|
Add no-std and stdlib features.
|
2020-03-04 23:44:32 +08:00 |
|
Stephen Chung
|
ba2aac4960
|
General code cleanup.
|
2020-03-04 23:06:05 +08:00 |
|
Stephen Chung
|
bb56a7a843
|
Code refactor, bug fixes, code docs.
|
2020-03-04 22:00:01 +08:00 |
|
Stephen Chung
|
b4d56accd4
|
Reverse commit fa13588f69 . Limit input script size not meaningful.
|
2020-03-04 09:33:35 +08:00 |
|
Stephen Chung
|
b421c8ac50
|
Minor refactor.
|
2020-03-03 23:31:29 +08:00 |
|
Stephen Chung
|
3af421ae5f
|
Fix problems with script-defined functions.
|
2020-03-03 23:31:16 +08:00 |
|
Stephen Chung
|
01bee6e16e
|
Accept up to 20 parameters in functions.
|
2020-03-03 23:17:42 +08:00 |
|
Stephen Chung
|
71a3c79915
|
Fix number parsing.
|
2020-03-03 21:39:25 +08:00 |
|
Stephen Chung
|
9f80bf03c4
|
Add throw.
|
2020-03-03 18:15:20 +08:00 |
|
Stephen Chung
|
e2cb111e4b
|
Add type_of function.
|
2020-03-03 17:28:38 +08:00 |
|
Stephen Chung
|
71ec23e621
|
Minor code refactoring.
|
2020-03-03 16:24:03 +08:00 |
|
Stephen Chung
|
95d0b2e620
|
Better error messages for function definitions.
|
2020-03-03 16:23:55 +08:00 |
|
Stephen Chung
|
a1591ae45b
|
Better API for Scope.
|
2020-03-03 15:20:20 +08:00 |
|
Stephen Chung
|
fa13588f69
|
Limit script size to avoid overflowing positions.
|
2020-03-03 13:30:46 +08:00 |
|
Stephen Chung
|
6969b13ebc
|
Remove TODO in favor of tracking issue.
|
2020-03-03 10:01:48 +08:00 |
|
Stephen Chung
|
366188234b
|
Pretty-print common type names.
|
2020-03-02 23:16:19 +08:00 |
|
Stephen Chung
|
a4a9102fc5
|
Add remaining integer types.
|
2020-03-02 22:32:08 +08:00 |
|
Stephen Chung
|
0e96e1080c
|
Comprehensive error line number/character position during evaluation.
|
2020-03-02 22:13:14 +08:00 |
|
Stephen Chung
|
0707fad1ca
|
Refactor tests.
|
2020-03-02 22:11:56 +08:00 |
|
Stephen Chung
|
ed8d2ac20f
|
Add else if control flow.
|
2020-03-02 17:04:56 +08:00 |
|
Stephen Chung
|
cc87214750
|
Simplify code.
|
2020-03-02 17:04:45 +08:00 |
|
Stephen Chung
|
103c62fb43
|
Include io::Error in file API's.
|
2020-03-02 16:29:50 +08:00 |
|
Stephen Chung
|
318bf97986
|
Bump version to 0.10.1.
|
2020-03-02 15:20:29 +08:00 |
|
Stephen Chung
|
710a07d896
|
Refactor some examples.
|
2020-03-02 15:19:59 +08:00 |
|
Stephen Chung
|
adaa65f953
|
Allow script functions to override built-in functions.
|
2020-03-02 15:19:41 +08:00 |
|
Stephen Chung
|
a5e09295f8
|
Allow comparisons between different types (returning false).
|
2020-03-02 14:28:42 +08:00 |
|
Stephen Chung
|
22a505b57b
|
Short-curcuit boolean operators.
|
2020-03-02 12:08:03 +08:00 |
|
Stephen Chung
|
bedfe55005
|
Minor code refactoring.
|
2020-03-02 00:11:00 +08:00 |
|
Stephen Chung
|
a64b01692b
|
Use impl Fn style.
|
2020-03-01 19:26:57 +08:00 |
|
Stephen Chung
|
b152ed88f0
|
Move built-in functions into separate module.
|
2020-03-01 17:37:47 +08:00 |
|
Stephen Chung
|
e93fd7d3fe
|
Properly handle char types.
|
2020-03-01 13:30:22 +08:00 |
|
Stephen Chung
|
5f135353c0
|
Change precedence to i8.
|
2020-02-29 21:18:48 +08:00 |
|
Stephen Chung
|
17f0001b11
|
Fix string handling - error for unterminated strings.
|
2020-02-29 21:10:31 +08:00 |
|
Stephen Chung
|
4b3cf95871
|
Simplify position handling.
|
2020-02-29 20:12:10 +08:00 |
|
Stephen Chung
|
c9daab3754
|
Simplify code by removing redirections.
|
2020-02-29 17:10:51 +08:00 |
|
Stephen Chung
|
8723eedca9
|
Rename RegisterBoxFn to RegisterDynamicFn.
|
2020-02-28 23:38:39 +08:00 |
|
Stephen Chung
|
8128c0cf24
|
Add pad and truncate array functions.
|
2020-02-25 16:23:59 +08:00 |
|
Stephen Chung
|
80a9abada6
|
Introduce to_int and to_float conersion functions.
|
2020-02-25 15:02:50 +08:00 |
|
Stephen Chung
|
51abc4a2c1
|
Simplify API by introducing the Dynamic and Array type aliases.
|
2020-02-25 15:02:27 +08:00 |
|
Stephen Chung
|
2e296ff9d7
|
Fix MarkDown style.
|
2020-02-25 15:01:50 +08:00 |
|
Stephen Chung
|
7893a9734b
|
Minor fixes to README.
|
2020-02-25 11:23:46 +08:00 |
|
Stephen Chung
|
1820732865
|
Bump version to 0.10.0-alpha1.
|
2020-02-25 11:12:42 +08:00 |
|
Stephen Chung
|
f8485932b5
|
Add documentation on pre-compilation.
|
2020-02-25 11:08:40 +08:00 |
|
Stephen Chung
|
2c3328e167
|
Merge branch 'master' of https://github.com/schungx/rhai
|
2020-02-25 10:52:23 +08:00 |
|
Stephen Chung
|
6434875530
|
Merge pull request #1 from jonathandturner/master
Merge pull request #97 from schungx/master
|
2020-02-25 10:51:02 +08:00 |
|
Stephen Chung
|
a0c5635712
|
Update README with new features.
|
2020-02-25 10:43:13 +08:00 |
|
Stephen Chung
|
60a7d51537
|
Allow override of print and debug.
|
2020-02-25 10:40:48 +08:00 |
|
Jonathan Turner
|
2a663d5c07
|
Merge pull request #97 from schungx/master
Handle arrays properly, plus other enhancements.
|
2020-02-25 05:18:56 +13:00 |
|