Commit Graph

1227 Commits

Author SHA1 Message Date
Paul Chiusano
60b7a179cc added dev notes document, updated logging defaults 2016-10-06 13:11:38 -04:00
Paul Chiusano
f3c701198d Merge pull request #117 from unisonweb/topic/searchengine
"Working" search engine example
2016-10-06 12:27:45 -04:00
Paul Chiusano
3fe4807d55 search engine implementation + various utilities and tweaks 2016-10-05 16:57:32 -04:00
Paul Chiusano
75a24f5a7c update sort call, due to rename 2016-10-04 21:00:34 -04:00
Paul Chiusano
9b4233e079 Vector.dedup and Order.equal 2016-10-04 20:53:51 -04:00
Paul Chiusano
e3e134cb83 Text.take/drop/words, Vector.dedup-adjacent 2016-10-04 20:37:59 -04:00
Paul Chiusano
d18364fa84 Fix quadratic performance bug in interpreter, added simple test of indexed traversal 2016-10-03 13:50:48 -04:00
Paul Chiusano
45a4274d22 ABT.subst avoids inspecting/rebuilding subtrees that can't contain the target variable
This sped up the unison-shared tests from 8-9s to 5-6s on my machine
2016-10-01 09:25:31 -04:00
Paul Chiusano
47f891d1f5 fix issue with IndexedTraversal.intersect 2016-09-30 14:34:33 -04:00
Paul Chiusano
dc491cf881 fix issue with interpreter handling of let rec 2016-09-30 12:55:33 -04:00
Paul Chiusano
3f51471b09 fix interpreter bug caused by type annotations not being stripped out 2016-09-28 10:39:38 -04:00
Paul Chiusano
c7e698b036 missed a few eval calls 2016-09-26 20:21:38 -04:00
Paul Chiusano
dbb2cd0de2 convert to strict interpreter, add if-then-else syntax 2016-09-26 17:59:13 -04:00
Paul Chiusano
328939809c DIndex seems to be working, added simple test 2016-09-15 13:03:24 -04:00
Paul Chiusano
2eaacba7e0 fix issues with Remote.sleep and Remote.race 2016-09-15 12:35:16 -04:00
Paul Chiusano
4e4b1e17ae Remote.send is strict 2016-09-15 00:09:51 -04:00
Paul Chiusano
d62745a74d added receive-async example, toned down logging 2016-09-15 00:06:02 -04:00
Paul Chiusano
05fa231622 fix issue with Remote.receive-async 2016-09-15 00:03:57 -04:00
Paul Chiusano
5b844512c0 got rid of node worker processes, spawning node worker in same process 2016-09-14 12:31:41 -04:00
Paul Chiusano
0dc9e37a47 fix compile errors in dindex.u and extra.u 2016-09-13 11:54:59 -04:00
Paul Chiusano
2f70ae7407 Merge remote-tracking branch 'origin/topic/searchengine' into topic/searchengine 2016-09-13 11:43:59 -04:00
Paul Chiusano
5a2ee0c5af using type aliases in dindex.u 2016-09-13 11:43:35 -04:00
Paul Chiusano
7b8f83c31e fix TermSearchboxParser errors 2016-09-13 11:42:29 -04:00
Paul Chiusano
1f6b13e37f Merge pull request #99 from sfultong/topic/html
Topic/html
2016-09-08 15:14:05 -04:00
Sam Griffin
e408ea1746 removing commented out code 2016-09-07 21:39:17 +00:00
Sam Griffin
1056a14ecd plaintext from html 2016-09-07 21:39:17 +00:00
Paul Chiusano
3866da099f Merge pull request #96 from sfultong/text-encoding
Text encoding
2016-09-02 15:36:24 -04:00
Sam Griffin
bfbfac7fa3 cleaning up warnings 2016-09-02 03:37:53 +00:00
Sam Griffin
5e7f3aff10 fixed old references to Optional.getOr 2016-09-02 03:27:34 +00:00
Sam Griffin
70a5c54460 fixed text encoding issues 2016-09-01 21:04:44 +00:00
Paul Chiusano
f0082af4ec Merge pull request #95 from sfultong/topic/cpp-fix
fix cpp preprocessing
2016-08-30 21:06:11 -04:00
Sam Griffin
86efe2f2a1 fix cpp preprocessing 2016-08-31 00:55:23 +00:00
Paul Chiusano
7b1e574ea6 Optional.getOr => Optional.get-or, down with CamelCase!! 2016-08-30 10:06:10 -04:00
Paul Chiusano
93c9f84b52 rename Vector.split to Vector.halve, add Vector.sort' 2016-08-29 17:12:43 -04:00
Paul Chiusano
02227a56e9 IndexedTraversals done + some other std library tweaks 2016-08-28 23:51:13 -04:00
Paul Chiusano
c0663e2fe8 Adding indexed traversals WIP 2016-08-28 16:45:37 -04:00
Paul Chiusano
45e6615b9c Order.ignore 2016-08-28 16:15:44 -04:00
Paul Chiusano
30d9d89fe1 Much nicer ordering support, including arbitrary pairs, inverting orders, etc 2016-08-28 15:40:36 -04:00
Paul Chiusano
50367dd5c6 qualified operator infix syntax - a ==_Text b, and removed use of camel case in Unison 2016-08-28 00:05:09 -04:00
Paul Chiusano
cef44c2daa parser now supports type aliases in lists of bindings, syntax alias Nums = Vector Numbers; 2016-08-26 21:35:43 -04:00
Paul Chiusano
f65d1500c7 Modify parser to support user state, get rid of committed success combinators 2016-08-26 16:18:39 -04:00
Paul Chiusano
221079d7d0 added save/restoreReceive, needed for implementation of Remote.receive-async 2016-08-25 01:46:29 -04:00
Paul Chiusano
58dc81e2c2 simplify Index.insert# 2016-08-24 23:02:58 -04:00
Paul Chiusano
39f52aa34c fix node tests to propagate logger 2016-08-24 22:01:07 -04:00
Paul Chiusano
9ecadfb976 Debug.log and Debug.watch builtins 2016-08-24 21:41:48 -04:00
Paul Chiusano
a886c063b8 lots of std lib improvements / fixes to support DIndex 2016-08-24 17:16:26 -04:00
Paul Chiusano
1331400b1d Vector.zip/bind/pure 2016-08-23 22:02:08 -04:00
Paul Chiusano
33f83dcfeb Vector.at/take/drop 2016-08-23 21:27:59 -04:00
Paul Chiusano
89ec20d2a7 Added Vector.sort and some additional builtins 2016-08-23 17:27:31 -04:00
Paul Chiusano
09eaa3db1d Index.{keys,increment} functions, added better error for unresolved symbols, defined various functions in Unison instead of ExtraBuiltins 2016-08-23 16:10:47 -04:00