Commit Graph

1553 Commits

Author SHA1 Message Date
Lukáš Hozda
780962fcea add example scripts for comments and loop 2017-10-28 17:44:05 +02:00
Lukáš Hozda
347191505d remove completed entries from TODO 2017-10-28 16:41:48 +02:00
Lukáš Hozda
caf8a411aa impl loop and add tests for both unary operators and loops 2017-10-28 16:40:38 +02:00
Lukáš Hozda
679f0de6b6 implement unary + and -, add useful functions to Token 2017-10-28 16:08:24 +02:00
Lukáš Hozda
7f4fbd940a remove finished items from TODO 2017-10-28 16:07:51 +02:00
Lukáš Hozda
b8157a1121 implement comments 2017-10-28 12:39:29 +02:00
russ
01666cefb9 candidate f64 support 2017-10-27 20:30:12 -07:00
Lukáš Hozda
5bfee9688e add REPL example to README 2017-10-15 17:52:02 +02: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
d2ae2c6057 bump version in README, add TODO 2017-10-13 21:52:07 +02:00
Jonathan Turner
0cb3bd1a90 Update Cargo.toml 2017-10-13 08:05:55 -04:00
Lukáš Hozda
4c61f31c08 bump version 2017-10-02 23:54:00 +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
92465e899e 'var' -> 'let' in README 2017-10-02 18:46:35 +02:00
Lukáš Hozda
6cadf25221 update examples to use let instead of var 2017-10-02 09:51:45 +02:00
Lukáš Hozda
a41a1984f8 bump version since this was a breaking change 2017-10-02 08:51:26 +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
Lukáš Hozda
b7e4954f00 Add .gitignore 2017-10-01 21:50:24 +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
02e67963e7 Update readme for release 2016-04-13 18:52:12 -07:00
jonathandturner
1123b79d00 Oops, we changed to i64, prob should be 0.3.0 2016-04-13 18:44:05 -07:00
jonathandturner
2d592173b1 Bump to 0.2.1 2016-04-13 18:40:51 -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
Jonathan Turner
be3d360913 Update README.md 2016-03-31 07:07:33 -07:00
Jonathan Turner
efb7b31487 Update README.md 2016-03-31 07:06:39 -07:00
Jonathan Turner
ef3ea34d13 Update README.md 2016-03-31 07:03:03 -07:00
Jonathan Turner
f4690017c5 Update README.md 2016-03-31 07:01:58 -07:00
Jonathan Turner
8663c33e01 Update README.md 2016-03-31 06:59:54 -07:00
Jonathan Turner
b286f87c1b Update README.md 2016-03-26 20:27:34 -07:00
Jonathan Turner
53be2c9a2a Update README.md 2016-03-26 13:45:24 -07:00
Jonathan Turner
6a3b6ebe95 Update README.md 2016-03-26 13:43:39 -07:00
Jonathan Turner
05b63ef21b Update README.md 2016-03-26 13:43:06 -07:00
Jonathan Turner
281ee84963 Update README.md
Update docs for 0.2
2016-03-26 13:42:54 -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
21c3b625d7 Remove unnecessary Debug trait from example 2016-03-16 18:38:28 -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