Commit graph

318 commits

Author SHA1 Message Date
Nathan Marz
d9d6c8772e fix #152 2016-10-14 09:52:12 -04:00
Nathan Marz
ea1f851d94 Fix #148 2016-10-02 07:48:53 -04:00
Nathan Marz
2a6ef8d0c0 fix doc on comp-paths 2016-09-30 06:57:12 -04:00
Nathan Marz
03493cf9ca replace any-pred? with core function some-fn 2016-09-07 15:19:50 -04:00
Nathan Marz
6a5d0f7560 rename any? to avoid conflict with clojure 1.9 2016-09-07 07:54:10 -04:00
Nathan Marz
2673004b5b suppress cache vars from docs 2016-09-06 19:37:35 -04:00
Nathan Marz
c39b41fea1 suppress docs for generated functions 2016-09-06 19:34:37 -04:00
Nathan Marz
3afbafd38b greatly speed up compilation (for select*, transform*, etc) 2016-09-05 08:17:33 -04:00
Nathan Marz
2e85cedcc4 merge macros namespace into core com.rpl.specter namespace 2016-09-05 07:48:05 -04:00
Nathan Marz
c44a380092 fix so direct-nav metadata on vars gets translated appropriately when that var is called as a function 2016-09-03 22:07:45 -04:00
Nathan Marz
18791c6b82 inline caching working for cljs, all tests passing 2016-09-03 19:58:10 -04:00
Nathan Marz
d7d1d264ef basic cljs inline caching working 2016-09-03 17:35:13 -04:00
Nathan Marz
8a71d5241d refactor to unify cljs and clj inline caching code 2016-09-03 16:09:02 -04:00
Nathan Marz
5400e3fd65 cleaner inline caching implementation 2016-09-03 09:29:01 -04:00
Nathan Marz
16446373f1 make terminal-val return a direct-nav, add another benchmark case 2016-09-02 20:20:49 -04:00
Nathan Marz
194396f0f4 remove todo 2016-09-02 10:45:50 -04:00
Nathan Marz
bb77fb8f9d moved mk-comp-navs macro into clj namespace 2016-09-02 09:17:32 -04:00
Nathan Marz
0046e23bfe added with-inline-debug helper and updated comment on dynamicnavs 2016-09-02 09:02:09 -04:00
Nathan Marz
0c50e1859d fix + test for when dynamic navs ignore dynamic params 2016-09-02 08:41:02 -04:00
Nathan Marz
984e3cdcd2 update changelog 2016-09-01 23:37:36 -04:00
Nathan Marz
1d52e970a0 another perf enhancement 2016-09-01 23:20:53 -04:00
Nathan Marz
dc6740d9dc fix accidental reflection 2016-09-01 23:15:42 -04:00
Nathan Marz
939378fcd1 fix transformed, all tests passing 2016-09-01 22:16:39 -04:00
Nathan Marz
23299457db fixes 2016-09-01 21:46:04 -04:00
Nathan Marz
e910f32931 fixes 2016-09-01 21:13:20 -04:00
Nathan Marz
e33ecb2c33 some fixes 2016-09-01 21:07:01 -04:00
Nathan Marz
c80bf573a5 updated tests, lots of errors 2016-09-01 20:32:38 -04:00
Nathan Marz
6549be1be5 protpaths and parameterized protpaths working 2016-09-01 17:35:19 -04:00
Nathan Marz
e057ee8d22 add note about original-obj 2016-09-01 17:04:58 -04:00
Nathan Marz
e571df5832 add code to avoid embedding functions with metadata on them (which kills perf) 2016-09-01 16:59:40 -04:00
Nathan Marz
f8d74d5884 add direct nav hints 2016-09-01 16:31:00 -04:00
Nathan Marz
479cb7d023 re-implemented declarepath and providepath, added local-declarepath for making recursive/mutually-recursive navigators locally 2016-09-01 13:56:51 -04:00
Nathan Marz
4c570e5de4 fixes + manual inlining for keypath, must, view 2016-09-01 11:24:15 -04:00
Nathan Marz
c80a2d3c50 fixes 2016-09-01 10:04:51 -04:00
Nathan Marz
eb5de0bdd5 lots of progress 2016-08-31 22:30:28 -04:00
Nathan Marz
f511cd4fca initial rewriting 2016-08-29 22:01:17 -04:00
Nathan Marz
a35cacae67 have defnav generate every method as a helper function as well (with name <name>-<method-name>, takes params as initial arguments followed by regular method arguments (except for 'this') 2016-08-17 09:42:59 -04:00
Nathan Marz
21f117503e allow non-dynamic vars to be treated as constants and add test for constant detection 2016-08-13 15:59:38 -04:00
Nathan Marz
1b5b19c7c8 fix accidental coercion to rich nav 2016-08-13 09:23:23 -04:00
Nathan Marz
ac3f604211 reformat code with parinfer 2016-08-11 10:13:27 -04:00
Nathan Marz
87137c633d minor refactoring of macros 2016-08-10 15:45:13 -04:00
Nathan Marz
9db244ebe5 always preserve persistentarraymap for ALL and MAP-VALS, also improve performance of those cases by almost 2x 2016-08-09 12:27:46 -04:00
Nathan Marz
9a35c0666d define pred using defnav so it uses lean navigation when possible 2016-08-08 10:16:32 -04:00
Nathan Marz
74f38d93a9 switch from cljx to cljc 2016-08-06 10:40:45 -04:00
Nathan Marz
c4f5a1b02b if set is constant make a static navigator for it 2016-08-06 02:23:11 -04:00
Nathan Marz
b9cd024c38 parameterize navigators immediately if all params are constant (rather than factor) 2016-08-06 00:44:40 -04:00
Nathan Marz
56da47aca5 generate a real higher order function from defnav and defcollector that returns a lean compiled path when invoked but coerces to equivalent paramsneededpath when composed, change nav constructors to recognize this and use a lean proxy for this case 2016-08-05 17:59:12 -04:00
Nathan Marz
7bfad80e00 fix for cljs 2016-08-05 16:34:58 -04:00
Nathan Marz
073dca1e98 add missing file 2016-08-05 16:21:49 -04:00
Nathan Marz
cbd3db5a75 all tests passing 2016-08-05 16:18:10 -04:00