Commit Graph

1191 Commits

Author SHA1 Message Date
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
Paul Chiusano
968733efb3 some std lib naming tweaks, modified type parser to allow dots in identifiers 2016-08-23 12:58:43 -04:00
Paul Chiusano
fc976fcfaa updated docs on do block syntax 2016-08-23 09:38:44 -04:00
Paul Chiusano
18d3fcd6dc Vector.range, replicate, replicateM 2016-08-22 22:29:44 -04:00
Paul Chiusano
eb7a9fb785 more standard library - hashing functions, traversal, sequencing, folds 2016-08-22 17:00:52 -04:00
Paul Chiusano
1d4e3210d5 get rid of hacky layout support, tweak syntax, build up standard library 2016-08-22 15:27:13 -04:00
Paul Chiusano
d95b9ce286 creating duplicate definitions now merges metadata, and we allow multiple names to alias same hash in Node.allTermsByVarName 2016-08-22 10:58:28 -04:00
Paul Chiusano
441e41311a move all unison files to unison-src directory 2016-08-21 17:58:07 -04:00
Paul Chiusano
632fc73cf9 ignore layout tokens during type parsing 2016-08-21 17:55:12 -04:00
Paul Chiusano
78c3cddef0 added layout blocks, using for do blocks and let bindings, altered syntax of let bindings to closer match do blocks 2016-08-21 17:33:20 -04:00
Paul Chiusano
6e198724d6 some cleanup, tests passing again with loading base libs from file 2016-08-20 21:33:42 -04:00
Paul Chiusano
fdac639034 examples working again, needed to resurrect Remote.map builtin 2016-08-20 16:27:54 -04:00
Paul Chiusano
744ca6ccf0 fix compile error 2016-08-19 17:49:00 -04:00
Paul Chiusano
d00c3f1cfa hacking to get node workers loading base.u and extra.u from file 2016-08-19 17:46:10 -04:00
Paul Chiusano
00e6472404 prevent duplicate definitions in Node, which can cause cyclic references 2016-08-18 21:28:50 -04:00
Paul Chiusano
31f6072231 splitting base out into separate .u file, which is now parsed by tests 2016-08-18 17:24:03 -04:00
Paul Chiusano
eb3318f66e Vector.split and Vector.empty? 2016-08-17 21:36:41 -04:00
Paul Chiusano
3399f66416 Added tuple types and literals, Either/Option functions 2016-08-17 18:19:23 -04:00
Paul Chiusano
94d01e89df Added default config 2016-08-17 14:00:26 -04:00
Paul Chiusano
03790f98be Merge pull request #91 from unisonweb/topic/builtins-fix
Got test Unison program working with `Index` values
2016-08-17 01:10:57 -04:00
Paul Chiusano
718af5d42c Add test file for Http.getURL 2016-08-17 01:10:05 -04:00
Paul Chiusano
722b936958 fix old tests still referring to Remote! 2016-08-17 01:00:30 -04:00
Paul Chiusano
bc4fe14404 added test file for Index access 2016-08-17 00:46:39 -04:00
Paul Chiusano
c73aa6f496 Merge remote-tracking branch 'origin/master' into topic/builtins-fix 2016-08-17 00:43:40 -04:00
Paul Chiusano
f2db1eabd4 Got simple example working with Index, added pure Unison prelude to the parser 2016-08-17 00:43:26 -04:00
Paul Chiusano
1cbd20198e Merge pull request #90 from unisonweb/docker-fix
Updates to Dockerfile. Also updated README.md with build steps that have
2016-08-17 00:39:03 -04:00
Tim McIver
fd6c2188f6 Updates to Dockerfile. Also updated README.md with build steps that have
changed.
2016-08-16 23:59:21 -04:00
Paul Chiusano
87344dfa3a Added Remote.map to parser 2016-08-16 14:10:49 -04:00
Paul Chiusano
f59cc03454 inline definition of Remote.map 2016-08-16 14:08:58 -04:00
Paul Chiusano
832dd25cec fix some type signatures of Index builtins, correctly call cleanup actions, and make originating node part of Index runtime representation 2016-08-15 23:24:49 -04:00
Paul Chiusano
fa787462ed Merge pull request #89 from unisonweb/topic/node-container
Topic/node container
2016-08-15 14:26:32 -04:00
Paul Chiusano
7819616f4f updated pingpong example to actually use both nodes and pick better names 2016-08-12 16:59:36 -04:00
Paul Chiusano
61899d7011 Merge pull request #88 from unisonweb/topic/node-container-main
Mega PR with completed node container and working round trip
2016-08-12 16:21:55 -04:00
Paul Chiusano
6a8f82a121 now using Tarjan's algo for strongly connected components, which is integrated into node container eval 2016-08-12 15:48:32 -04:00
Paul Chiusano
8930909bdf added some simple let generalization, cleanup 2016-08-12 00:48:54 -04:00
Paul Chiusano
5b9b6354dd beef up test 2016-08-11 20:49:41 -04:00
Paul Chiusano
fbc9720aec fix let rec interpretation for mutually recursive functions 2016-08-11 20:33:15 -04:00