russ
|
e5e58fce98
|
sync'd latest master
|
2017-10-30 08:08:44 -07:00 |
|
russ
|
18c6892df3
|
take 2, 100% fewer variable name conflicts
|
2017-10-29 20:32:41 -07:00 |
|
russ
|
01666cefb9
|
candidate f64 support
|
2017-10-27 20:30:12 -07:00 |
|
Lukáš Hozda
|
0b9865b24c
|
add REPL example and consume functions
|
2017-10-15 17:50:39 +02:00 |
|
Lukáš Hozda
|
13a3ba6f77
|
add a section about examples to README, add imports to tests.rs
|
2017-10-15 17:48:53 +02:00 |
|
Lukáš Hozda
|
597c2eda21
|
move tests to a separated module for clarity, lock test module behind #[cfg(test)]
|
2017-10-14 19:49:18 +02:00 |
|
Lukáš Hozda
|
00dedcc3b4
|
minor refactoring
|
2017-10-14 19:46:22 +02:00 |
|
Lukáš Hozda
|
5bd2338f1c
|
replace try!() with the more compact ? operator, compress operator functions to single lines
|
2017-10-02 23:51:04 +02:00 |
|
Lukáš Hozda
|
a1e92d006c
|
clippy refactoring
|
2017-10-02 23:44:45 +02:00 |
|
Lukáš Hozda
|
660fbe2e39
|
[BREAKING CHANGE] change variable keyword to 'let' from 'var'
|
2017-10-02 08:46:35 +02:00 |
|
Lukáš Hozda
|
87b68b79f8
|
check if a char is whitespace instead of explicitly checking against a few chars, ignore Cargo.lock
|
2017-10-02 08:33:47 +02:00 |
|
Jonathan Turner
|
2a28209b38
|
Add string concat/compare. Bump to 0.4
|
2016-08-17 18:33:31 -07:00 |
|
jonathandturner
|
7a46c7d9bc
|
Refactoring a bit of the string/char parser code. Fmt'd
|
2016-04-16 19:32:18 -07:00 |
|
jonathandturner
|
b9ea072d6a
|
Add support for character constants
|
2016-04-13 18:40:06 -07:00 |
|
jonathandturner
|
3364191781
|
Move to i64 by default
|
2016-04-13 18:05:44 -07:00 |
|
jonathandturner
|
4e38b9e611
|
Clean up trailing space and fix rhai_runner print out
|
2016-04-13 18:01:08 -07:00 |
|
jonathandturner
|
3dfc6e627d
|
Move to using i64 by default
|
2016-04-12 19:52:27 -07:00 |
|
jonathandturner
|
d133a62fc6
|
Tidy up tests
|
2016-03-26 13:36:26 -07:00 |
|
jonathandturner
|
5ccfab87ce
|
Fill out array support with get/set for indexes in more complex expressions
|
2016-03-26 13:32:20 -07:00 |
|
jonathandturner
|
b1ccaf4516
|
Add support for arrays
|
2016-03-26 10:46:28 -07:00 |
|
jonathandturner
|
ceadc0977f
|
Add eval_file and get/set helpers
|
2016-03-17 08:45:48 -04:00 |
|
jonathandturner
|
65bf269843
|
Add error test case for mismatched args
|
2016-03-16 19:20:11 -04:00 |
|
jonathandturner
|
cfac566425
|
Remove unbox/cast step in eval
|
2016-03-16 18:32:05 -04:00 |
|
jonathandturner
|
254f4b081c
|
Simplified function registration to not require explicit coercion step. Simplified eval to take &str instead of String
|
2016-03-16 18:07:08 -04:00 |
|
jonathandturner
|
0e4f194880
|
A few minor cleanups
|
2016-03-10 16:19:56 -05:00 |
|
jonathandturner
|
924ce2eddc
|
Add preliminary support for deeper get/set
|
2016-03-10 14:21:36 -05:00 |
|
jonathandturner
|
72c23ad7ca
|
Start adding support for dotted expressions
|
2016-03-07 15:39:02 -05:00 |
|
jonathandturner
|
fbf81ff651
|
Add Scope to API. Move todo to github
|
2016-03-04 08:45:43 -05:00 |
|
jonathandturner
|
b5075e6511
|
Fix divide support
|
2016-03-03 11:32:02 -05:00 |
|
jonathandturner
|
3dea40a9f7
|
Fix type register visibility. Add a few more examples
|
2016-03-03 11:08:34 -05:00 |
|
jonathandturner
|
fee3852979
|
Move to lib style, move scripts into their own directory, start source examples
|
2016-03-03 10:55:28 -05:00 |
|
jonathandturner
|
fbb5b72f24
|
Add support for loop breaks and function returns
|
2016-03-03 09:31:42 -05:00 |
|
jonathandturner
|
30b914e7b7
|
Add else to if
|
2016-03-03 08:20:55 -05:00 |
|
jonathandturner
|
6ddeec4166
|
Remove debug function
|
2016-03-02 14:51:51 -05:00 |
|
jonathandturner
|
a10b59d835
|
Refactor function lookup for better compile times and slightly cleaner code
|
2016-03-02 14:14:22 -05:00 |
|
jonathandturner
|
3d0d3803fc
|
typo in function resolution
|
2016-03-02 11:17:53 -05:00 |
|
jonathandturner
|
54279fd75f
|
Add support for functions up to arity 6
|
2016-03-02 10:49:24 -05:00 |
|
jonathandturner
|
0fd1af9c8d
|
Improve lexer errors a little
|
2016-03-02 09:16:36 -05:00 |
|
jonathandturner
|
2bba8dc429
|
Add support for string constants with escape sequences
|
2016-03-02 08:37:28 -05:00 |
|
jonathandturner
|
1320a35c81
|
Add a few examples
|
2016-03-01 21:36:46 -05:00 |
|
jonathandturner
|
d8dd673459
|
Add support for functions declared in script
|
2016-03-01 20:45:02 -05:00 |
|
jonathandturner
|
a8fa76c2fc
|
Support for methods. Started support for functions defined in script but not yet ready
|
2016-03-01 15:16:10 -05:00 |
|
jonathandturner
|
419781cfb6
|
Fill out support for operators
|
2016-03-01 09:40:48 -05:00 |
|
jonathandturner
|
02935fd8cf
|
Move to Display rather than Debug for simple script runner
|
2016-02-29 16:56:26 -05:00 |
|
jonathandturner
|
6739706b64
|
Initial commit
|
2016-02-29 16:43:45 -05:00 |
|