123 Commits

Author SHA1 Message Date
Lewis Van Winkle
f195d968f7 Merge branch 'master' of https://github.com/codeplea/tinyexpr 2016-12-21 12:20:02 -06:00
Lewis Van Winkle
9f2a8ff84a moved license file 2016-12-21 12:19:56 -06:00
Lewis Van Winkle
a02d282112 added logo alt text 2016-12-07 12:21:29 -06:00
Lewis Van Winkle
38851e2061 added logo to readme 2016-12-07 12:18:44 -06:00
Lewis Van Winkle
c38cdbf278 Added building instructions 2016-12-07 11:34:50 -06:00
Lewis Van Winkle
b9d2e4cd34 Updated README with variable naming rules. 2016-11-28 18:24:37 -06:00
Lewis Van Winkle
5bb556038d Added support for underscore in variable names. 2016-11-28 18:20:10 -06:00
Lewis Van Winkle
f0b59d6d48 Added a couple extra tests. 2016-08-23 18:35:50 -05:00
Lewis Van Winkle
a724fbd695 Added additional tests. 2016-08-23 16:01:41 -05:00
Lewis Van Winkle
f74df51001 Merge pull request #11 from codeplea/POW_FROM_RIGHT
Pow from right
2016-08-23 15:36:03 -05:00
Lewis Van Winkle
2d58ae9fb2 Changed the way POW_FROM_RIGHT works with negative constants. 2016-08-23 15:05:59 -05:00
Lewis Van Winkle
b4310cc55c Added section about compile-time options. 2016-08-22 22:29:33 -05:00
Lewis Van Winkle
f70b786ec2 Added TE_NAT_LOG option. 2016-08-22 21:23:16 -05:00
Lewis Van Winkle
af6c47ef28 Added option TE_POW_FROM_RIGHT 2016-08-22 21:20:28 -05:00
Lewis Van Winkle
52a46baabc Merge pull request #9 from EvilPudding/master
Minor optimization
2016-08-22 19:20:25 -05:00
Lewis Van Winkle
ec7dc3a28a Allow whitespace at end of expression. 2016-08-22 19:09:21 -05:00
Lewis Van Winkle
4c1015ab7f Make the te_expr struct valid C++ code. 2016-08-22 19:06:40 -05:00
EvilPudding
d49e4e9af8 Minor optimization 2016-06-02 23:56:13 +00:00
Lewis Van Winkle
860b8ff199 Bug fix on some bad expressions. 2016-06-02 12:09:58 -05:00
Lewis Van Winkle
5e3b8f2ee3 Uses NAN macro if defined. 2016-05-25 12:17:39 -05:00
Lewis Van Winkle
bcd6c85640 Added travis.yml 2016-05-18 12:10:52 -05:00
Lewis Van Winkle
4791163e24 Added additional example and info. 2016-05-05 17:12:02 -05:00
Lewis Van Winkle
cf03962b1c Moved pi and e into functions to allow compile time optimization. 2016-02-26 18:09:44 -06:00
Lewis Van Winkle
8e7c788313 Got optimize working. Added TE_FLAG_PURE. 2016-02-26 17:35:39 -06:00
Lewis Van Winkle
7550e4e309 Refactored closure context storage. 2016-02-25 14:02:44 -06:00
Lewis Van Winkle
a44620f187 Context for closures is now stored separately for each closure. 2016-02-25 13:34:58 -06:00
Lewis Van Winkle
a23801c45f More closure tests. 2016-02-24 22:58:19 -06:00
Lewis Van Winkle
04134389f2 Closure bug fix. 2016-02-24 22:56:57 -06:00
Lewis Van Winkle
b24086b376 Added closures. Refactoring. 2016-02-24 22:26:54 -06:00
Lewis Van Winkle
4f35ab350d Added basic tests for up to 7-ary functions. 2016-02-24 19:28:25 -06:00
Lewis Van Winkle
75daaf891a Refactoring. 2016-02-24 19:02:19 -06:00
Lewis Van Winkle
db29d5ad73 Removed unused mask. 2016-02-24 18:45:35 -06:00
Lewis Van Winkle
fc3cee3fb1 Refactoring. 2016-02-24 18:45:00 -06:00
Lewis Van Winkle
ade15f8f89 Removed whitespace in makefile. 2016-02-24 17:33:49 -06:00
Lewis Van Winkle
4e03677a6f Bug fix. 2016-02-24 14:46:16 -06:00
Lewis Van Winkle
09ef420d5b Merge pull request #3 from EvilPudding/master
Added arity greater than 2.
2016-02-24 14:37:51 -06:00
EvilPudding
8a8fe5ba4f Merge branch 'dynfunc' of https://github.com/codeplea/tinyexpr 2016-02-24 20:19:05 +00:00
EvilPudding
bda6fa9d30 Fixed memory leaks and uninitialized values. 2016-02-24 20:15:47 +00:00
Lewis Van Winkle
31782a849f Bug fix in list grammar. 2016-02-24 13:52:42 -06:00
EvilPudding
0417ed63a8 Added arity greater than 2, and test cases. 2016-02-24 17:46:54 +00:00
Lewis Van Winkle
3f1d5d2553 Renamed find functions for clarity. 2016-02-23 17:36:15 -06:00
Lewis Van Winkle
681fb9aa0f Allow empty parens for function0. 2016-02-23 17:29:03 -06:00
Lewis Van Winkle
d9138d4bff Added ability for dynamic functions. 2016-02-23 17:13:11 -06:00
Lewis Van Winkle
52a4995d6c Added comma operator, builtin functions of arity 0 and 2. 2016-02-23 15:18:44 -06:00
Lewis Van Winkle
5ad50341ec Additional test cases for name lookup. 2016-02-23 11:21:16 -06:00
Lewis Van Winkle
60d4579de8 Merge pull request #1 from EvilPudding/master
Optimized find_function and find_var.
2016-02-23 10:59:14 -06:00
EvilPudding
682e9c1b34 Fixed possible segmentation fault. 2016-02-23 15:24:12 +00:00
EvilPudding
60a852a1a3 Optimized find_var 2016-02-23 15:18:39 +00:00
EvilPudding
3e8fc56209 Optimized find_function 2016-02-23 14:59:04 +00:00
Lewis Van Winkle
df92386cc9 Changed name format. 2016-02-11 14:24:50 -06:00