Commit Graph

1903 Commits

Author SHA1 Message Date
Arya Irani
f30f526f95 hoping again that stack can just get and cache what it needs 2018-05-26 14:58:43 -04:00
Arya Irani
ced64af15c fix typo in previous 2018-05-26 11:36:41 -04:00
Arya Irani
5e30293ca1 try using stack to manage ghc
per https://github.com/commercialhaskell/stack/blob/master/doc/travis_ci.md:

    Installing GHC
    ==============

    There are two ways to install GHC:

    - Let Stack download GHC
    - Install GHC using apt plugin

    See [the above scripts](https://raw.githubusercontent.com/commercialhaskell/stack/stable/doc/travis-simple.yml)
    for an example of the first option (letting Stack download GHC).
2018-05-26 11:31:01 -04:00
Arya Irani
eff260a010 remove --skip-ghc-check again from script 2018-05-26 11:22:12 -04:00
Arya Irani
6e9319ed58 restore --no-terminal in the hopes that it really does add value as the docs currently say 2018-05-25 17:36:24 -04:00
Arya Irani
6184b30a1f cargo cult sbt cache setup 2018-05-25 17:33:05 -04:00
Arya Irani
327853d40c restore --skip-ghc-check 2018-05-25 17:28:56 -04:00
Arya Irani
d0c58e68ed 'tests', not 'test' 2018-05-25 17:08:22 -04:00
Arya Irani
7f8ad4ec75 trying to fix travis script 2018-05-25 16:36:00 -04:00
Paul Chiusano
06fa7c48c7 calling doubleToUnboxed 2018-05-17 10:34:18 -04:00
Paul Chiusano
f8f3d9319f
Merge pull request #180 from unisonweb/topic/float-tests
Float operations and tests
2018-05-17 10:28:23 -04:00
Runar Bjarnason
6c70ba51d9 Float operations and tests 2018-05-17 10:25:40 -04:00
Paul Chiusano
dd1cd01c60 Merge branch 'topic/haskell-cleanup' 2018-05-17 10:25:20 -04:00
Arya Irani
48a5046761
Merge pull request #179 from unisonweb/topic/streamwork-more
stream work
2018-05-17 10:20:43 -04:00
Paul Chiusano
59cdabf799 haskell code compiling again and tests passing, ready for merge 2018-05-16 23:13:58 -04:00
Arya Irani
d4fb925621 update scaladoc and assertions better in StackPtr 2018-05-16 21:53:50 -04:00
Arya Irani
2a8fae7936 update scaladoc and assertions in StackPtr 2018-05-16 21:48:40 -04:00
Paul Chiusano
42ea0604d2 started deleting and cleanup, not compiling yet 2018-05-16 18:20:27 -04:00
Arya Irani
d288bcc4c7 Merge branch 'topic/streamwork-2' into topic/streamwork-more 2018-05-16 17:23:57 -04:00
Arya Irani
e9d820d321 implement/test Stream.scanLeft 2018-05-16 17:22:52 -04:00
Arya Irani
1e275ac57a Merge branch 'topic/streamwork-2' into topic/streamwork-more 2018-05-16 15:04:39 -04:00
Arya Irani
95a238f41b fix compilation.stream.map test by switching usage of StackPtr.u/.b
the code for `StackPtr.u` no longer adheres to the Scaladoc,
but maybe it's easier to change the scaladoc than change the
implementation and all the call sites
2018-05-16 15:01:50 -04:00
Arya Irani
f80246a7cf Merge branch 'master' into topic/streamwork-2 2018-05-16 15:00:16 -04:00
Paul Chiusano
53e4ad7530 comment out println 2018-05-14 11:08:31 -04:00
Paul Chiusano
fe01e1cee2 Merge branch 'wip/graph-codec6' 2018-05-14 11:07:32 -04:00
Paul Chiusano
ad17ff0079 Some cleanup during code review 2018-05-14 11:04:38 -04:00
Paul Chiusano
f4ba3b489b added putFramedSequence1 and using it during Term.Sequence encoding 2018-05-14 10:24:18 -04:00
Paul Chiusano
12bfe6ca99 tweak to format, avoids duplication in event that root node is referenced elsewhere previously 2018-05-13 13:46:28 -04:00
Paul Chiusano
fa2c7241bd fix remaining bug with Source, tests passing 2018-05-12 20:45:24 -04:00
Paul Chiusano
ee5905a5a1 fix bug in Sink.fromByteBuffer, added test 2018-05-12 20:00:56 -04:00
Paul Chiusano
01e51e55ea Some docs and cleanup 2018-05-11 18:00:51 -04:00
Paul Chiusano
448201aba6 fix at least one the bugs with Source/Sink buffer over/underflow, still have 1 failing test 2018-05-11 17:14:06 -04:00
Paul Chiusano
51a19a663b working on fix for source/sink error when refilling buffer 2018-05-11 12:05:17 -04:00
Paul Chiusano
cf630f4fb3 test stubbed out and compiles 2018-05-11 11:19:08 -04:00
Paul Chiusano
eae591bff7 Merge remote-tracking branch 'origin/wip/sinktests' into wip/graph-codec6
# Conflicts:
#	runtime-jvm/main/src/main/scala/util/GraphCodec.scala
2018-05-11 11:17:23 -04:00
Paul Chiusano
33dadd321e IT'S WORKING with much simpler implementation 2018-05-11 11:14:43 -04:00
Paul Chiusano
58da545625 positions map should be keyed by K, not G 2018-05-11 00:12:07 -04:00
Paul Chiusano
d459273728 WIP simplifying decoder/encoder
Added an intermediate "sequence of instructions" stage separate from actual writing to Sink
Generalize the 3 pass algorithm to work for any G
2018-05-11 00:02:35 -04:00
Runar Bjarnason
c492e301d6 Three pass encoding works as expected 2018-05-10 16:48:54 -04:00
Paul Chiusano
5bcdc7f7b1 wip 2018-05-10 16:40:14 -04:00
Paul Chiusano
3deb0d7632 fixed bug, pretttyEncoding seems to work now 2018-05-09 18:17:03 -04:00
Runar Bjarnason
7879a3012c Pretty codecs wip 2018-05-09 17:54:40 -04:00
Paul Chiusano
0f0d508267 added diagnostics to test 2018-05-09 15:48:47 -04:00
Paul Chiusano
d6ddf6c9f7 now have stack safety even when serializing deeply nested object graphs, still a couple bugs remaining 2018-05-09 15:43:06 -04:00
Paul Chiusano
c9b8d54583 serialization tests passing with two examples of programs with cyclic references 2018-05-08 13:31:44 -04:00
Arya Irani
10611d03ed fix indexing but in Critbyte.Branch.insertDown 2018-05-07 15:40:17 -04:00
Paul Chiusano
5a566079ad remove now unused foreachChild function, which had unclear meaning anyway, especially for Param 2018-05-07 09:56:58 -04:00
Paul Chiusano
4553fb312e GraphCodec2 -> GraphCodec 2018-05-07 09:52:30 -04:00
Paul Chiusano
3ceda2b010 Codecs2 -> Codecs 2018-05-07 09:50:39 -04:00
Paul Chiusano
17c80fd25e delete old codecs implementation 2018-05-07 09:48:50 -04:00