Commit Graph

791 Commits

Author SHA1 Message Date
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
russ
4fed05c20a bugfix for binary and, modulo, binary ops tests 2017-10-31 15:06:13 -07:00
Lukáš Hozda [magnusi]
896c2f7a08
Merge pull request #43 from luciusmagn/master
fix version in README, continue documenting
2017-10-31 13:43:46 +01:00
Lukáš Hozda [magnusi]
99d5ae2524
Merge pull request #42 from rustysec/compound_assignment
candidate compound assignment implementation
2017-10-31 13:39:15 +01:00
russ
f1cd71a72b candidate compound assignment implementation 2017-10-30 22:55:20 -07:00
Lukáš Hozda [magnusi]
04f0b70b4a
Merge pull request #38 from rustysec/float
candidate f64 support
2017-10-30 16:37:49 +01:00
russ
e6b764a9df fixed nagging merge conflicts 2017-10-30 08:16:37 -07:00
russ
e5e58fce98 sync'd latest master 2017-10-30 08:08:44 -07:00
Lukáš Hozda
9448c19581 fix version in README, continue documenting 2017-10-30 13:08:40 +01:00
Lukáš Hozda [magnusi]
39c9460bbc
Merge pull request #41 from luciusmagn/master
Loops, comments, refactor, docs, unary operators
2017-10-30 08:54:06 +01:00
Lukáš Hozda
50b8fe365a fix warning in lib.rs doctest 2017-10-30 08:53:11 +01:00
Lukáš Hozda [magnusi]
b95c402e3f
Merge branch 'master' into master 2017-10-30 08:48:19 +01:00
Lukáš Hozda [magnusi]
68f4f77cb7
Merge pull request #40 from rustysec/inc_dec
candidate increment/decrement implementation
2017-10-30 08:35:07 +01:00
russ
e042e1e31d candidate increment/decrement implementation 2017-10-29 22:03:35 -07:00
russ
18c6892df3 take 2, 100% fewer variable name conflicts 2017-10-29 20:32:41 -07:00
Lukáš Hozda
f81ef3665e bump version once more 2017-10-28 22:33:39 +02:00
Lukáš Hozda
47ce39062f initial documentation (WIP) 2017-10-28 22:33:00 +02:00
Lukáš Hozda
1b22cab7dd add loops and comments and a list of example scripts and how to run them to README 2017-10-28 21:59:14 +02:00
Lukáš Hozda
32c252d4d2 allow unary operators as the first token after if or while 2017-10-28 20:58:22 +02:00
Lukáš Hozda
ebbab0d259 bump version, remove unneeded cause() fn as it now has a provided implementation 2017-10-28 17:44:53 +02:00
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