Commit graph

488 commits

Author SHA1 Message Date
Nathan Marz
73e460df80 optimization for using comp-paths on already compiled path 2016-05-24 17:29:34 -04:00
Nathan Marz
b8bcfd6054 change how macroexpansion is done during inline caching so that nested &env are correctly computed. Allows for inline caching to occur nested inside an inline caching expression 2016-05-24 17:01:17 -04:00
Nathan Marz
799c6578b8 update changelog 2016-05-24 16:08:36 -04:00
Nathan Marz
d7db4190dd fix nav constructors for cljs 2016-05-24 16:06:32 -04:00
Nathan Marz
e70cfb3623 added nav constructors + tests, fixed bug with clj platform eval'd params fn to bind to the namesapace where the path was defined 2016-05-24 16:00:22 -04:00
Nathan Marz
cd7b759c3a added nav constructors with integration into automatic inline factoring + caching 2016-05-24 13:49:41 -04:00
Nathan Marz
b2cb9f1940 add doc for must-cache-paths 2016-05-24 08:42:23 -04:00
Nathan Marz
33f8ed3e73 update changelog 2016-05-23 15:33:15 -04:00
Nathan Marz
29fc629899 update changelog 2016-05-23 15:30:26 -04:00
Nathan Marz
8dd0f7e168 finish test for inline caching 2016-05-23 15:17:47 -04:00
Nathan Marz
4f3990c239 added tests and cljs-specific fixes 2016-05-23 14:58:22 -04:00
Nathan Marz
218cbcb933 use mutable cell for must-cache-paths state for cljs compatibility 2016-05-23 10:36:52 -04:00
Nathan Marz
1e0a43c903 all tests passing for both clj and cljs 2016-05-23 10:21:43 -04:00
Nathan Marz
b156727f3c fix inline handle params for cljs, most tests passing 2016-05-23 10:01:44 -04:00
Nathan Marz
ac8119dbbe inline caching for cljs working in repl tests, tests not working for cljs yet 2016-05-23 09:23:14 -04:00
Nathan Marz
d30af6e972 cljs inline caching impl almost working 2016-05-23 08:18:49 -04:00
Nathan Marz
2071059695 revert back to using concurrenthashmap - the performance benefit is not worth the potential startup time problems with >5000 callsites 2016-05-22 09:52:37 -04:00
Nathan Marz
50b02c17f0 add case to automatically factor string for cached path if it is extended as a navigator 2016-05-22 09:25:33 -04:00
Nathan Marz
fcb5e013d4 fixed inline precompilation of inline sets in paths, fix bug leading to wrong params order during inline precompilation, change select/transform operations to be macros and move code around accordingly, rename previous versions of select/transform functions with * added 2016-05-22 08:57:53 -04:00
Nathan Marz
cdcdbbbaa4 clean up terminology – defpath -> defnav, path -> nav, fixed-pathed-path -> fixed-pathed-nav, variable-pathed-path -> variable-pathed-nav, StructurePath -> Navigator (breaking changes) 2016-05-21 15:54:07 -04:00
Nathan Marz
c567045fb5 better conditional checking of cached value 2016-05-21 10:08:50 -04:00
Nathan Marz
c2fa922717 automatically factor anonymous functions with pred, 20% more effient cache strategy, more efficient hot path, added ability with must-cache-paths to error when a path can't be cached and get detailed information why 2016-05-21 09:44:20 -04:00
Nathan Marz
d3a462aa06 initial impl working for basic use cases 2016-05-20 16:57:53 -04:00
Nathan Marz
ac5efb2eb9 add link to clojurians #specter channel 2016-05-17 11:27:52 -04:00
Nathan Marz
1d77d295fa minor refactoring of ATOM and update changelog 2016-05-08 15:55:45 -04:00
Nathan Marz
4a5f0b79b8 Merge pull request #87 from rakeshp/master
Added path to navigate to atom value
2016-05-08 15:52:21 -04:00
Rakesh
c280b40b12 renamed atompath to ATOM 2016-05-08 23:39:14 +05:30
Rakesh
7b33c93132 Added path to navigate to atom value 2016-05-07 22:40:21 +05:30
Nathan Marz
03f6a12baa fix must select 2016-05-05 14:59:25 -04:00
Nathan Marz
3602a08e5d docstring for view 2016-05-05 14:29:20 -04:00
Nathan Marz
b4b2200377 added must navigator 2016-05-05 14:24:57 -04:00
Nathan Marz
9d2a5ed46f 0.10.0 2016-04-26 10:21:54 -04:00
Nathan Marz
f5c5284ae1 add docstrings to zippers 2016-04-25 17:47:10 -04:00
Nathan Marz
48ad46d5e5 add zipper/PREV 2016-04-24 16:54:07 -04:00
Nathan Marz
9a3a19bb9b add NODE-SEQ, find-first, and NEXT-WALK 2016-04-24 16:49:45 -04:00
Nathan Marz
96d5e94a5b fix zipper navigation to stop navigating when right/left/up/down/next navigate nowhere 2016-04-24 13:03:29 -04:00
Nathan Marz
64700208f6 update changelog 2016-04-24 11:11:50 -04:00
Nathan Marz
a4e1f1267b zippers working in cljs 2016-04-24 11:10:55 -04:00
Nathan Marz
70523ac38f add zipper tests 2016-04-24 11:03:52 -04:00
Nathan Marz
747b080909 added INNER-RIGHT and INNER-LEFT 2016-04-24 10:42:19 -04:00
Nathan Marz
b68d59ca90 Merge branch 'zipper' 2016-04-23 13:30:15 -04:00
Nathan Marz
9c87a0ebab update changelog 2016-04-21 16:34:58 -04:00
Nathan Marz
db8451a47e fix travis ci build 2016-04-21 11:07:11 -04:00
Nathan Marz
4e38d0c3b3 fix travis ci build 2016-04-21 11:05:14 -04:00
Nathan Marz
a9aafc3eb8 clean up terminology usage by replacing selector with navigator or path as appropriate 2016-04-21 10:59:35 -04:00
Nathan Marz
0014e413b0 Merge pull request #25 from cgore/travis-ci
Adding config and a badge for travis-ci.org to do CI.
2016-04-21 10:49:39 -04:00
Nathan Marz
4df4603762 update changelog 2016-04-20 23:32:45 -04:00
Nathan Marz
2cbb49de48 verify that filterer maintains sequence types to the same degree that ALL does 2016-04-20 23:32:10 -04:00
Nathan Marz
6894578569 update README 2016-04-20 22:20:45 -04:00
Nathan Marz
82f591a5d3 redefine filterer in terms of subselect 2016-04-20 22:09:02 -04:00