Commit Graph

4396 Commits

Author SHA1 Message Date
Arya Irani
596a6bf8a6 delete 2018-06-05 12:06:56 -04:00
Arya Irani
e7a38949f8 implement serializeFile :: UnisonVile v -> m () untested 2018-06-05 12:06:24 -04:00
Arya Irani
df91671f3b add the "more instructions" marker, most of the time 2018-06-05 10:58:27 -04:00
Paul Chiusano
3de9756900 filled in rest of serializeTerm 2018-06-04 18:15:10 -04:00
Paul Chiusano
89ed94257e finished filling in serializePattern 2018-06-04 18:01:23 -04:00
Rúnar Óli Bjarnason
3390382ae5 filled in most of term serialization 2018-06-04 17:33:07 -04:00
Arya Irani
bc2cc50069 started a file 2018-06-04 14:34:35 -04:00
Arya Irani
58302ae563 update parser to be able to use data/effect decls it encounters 2018-06-04 14:23:44 -04:00
Arya Irani
dcf6acb372 add canonicalization tests for data type hashing
also have the test suite take a scope prefix on the command-line
2018-06-04 12:27:22 -04:00
Arya Irani
2f52572c75 implemented hashing of effect types and added some better docs 2018-05-31 18:01:12 -04:00
Arya Irani
03febf45e7 implemented Accumulate Hash using cryptonite 2018-05-31 17:10:24 -04:00
Rúnar Óli Bjarnason
e39f83c6d8 Preparing for hashing data declarations 2018-05-31 15:35:35 -04:00
Arya Irani
68d2549480 initial pass at structural hashing of data declaration cycles 2018-05-30 18:08:38 -04:00
Paul Chiusano
7521201256 added some diagnostics 2018-05-29 17:23:05 -04:00
Paul Chiusano
80b30b7ec1 Convenience function for reading / parsing a whole file, also spotted needless attempt in effect pattern parser 2018-05-29 16:20:19 -04:00
Paul Chiusano
82453d1b8c tests all passing 2018-05-29 14:31:29 -04:00
Paul Chiusano
b01b6f1af6 switch to enable/disable tracing of parsing 2018-05-29 14:26:16 -04:00
Paul Chiusano
559daffe50 added effects to Type AST, trying to get everything parsing
There seems to be an issue with virtual semicolon parsing at end of file
2018-05-29 13:07:43 -04:00
Paul Chiusano
b77311dc8f uncommented some tests, still have to implement effect types and parser for these types 2018-05-24 17:33:11 -04:00
Paul Chiusano
75e227f3ae Fixed issue with virtual_rbrace not handling eof properly, data decl example passes 2018-05-24 17:28:28 -04:00
Arya Irani
8726f22012 trying to get FileParser working without breaking anything else
limited success
2018-05-24 16:46:19 -04:00
Arya Irani
4cd6f71b12 stubbed out FileParser 2018-05-24 13:35:30 -04:00
Arya Irani
532064f5cb Type annotations parser test 2018-05-24 11:15:27 -04:00
Rúnar Óli Bjarnason
14e90f9049 effect patterns for handlers working 2018-05-23 17:09:49 -04:00
Rúnar Óli Bjarnason
c1801ccf94 parse and 2018-05-23 16:11:03 -04:00
Rúnar Óli Bjarnason
63fe1eb329 Ifthenelse blocks and case blocks tests 2018-05-23 16:01:11 -04:00
Rúnar Óli Bjarnason
2234079b71 Fixed all warnings 2018-05-23 15:22:57 -04:00
Rúnar Óli Bjarnason
3b07bc54ae Added guards to the term language 2018-05-23 13:13:19 -04:00
Rúnar Óli Bjarnason
5db0940de6 Pattern rhs are blocks 2018-05-23 12:13:06 -04:00
Rúnar Óli Bjarnason
fb13e246fa I think it's that 2018-05-23 12:07:21 -04:00
Arya Irani
fee110dec2 data constructor pattern parsing compiles 2018-05-22 17:42:51 -04:00
Arya Irani
3e5c736ef5 thread penv0 through parsers 2018-05-22 17:12:28 -04:00
Arya Irani
8bcfc1dd3f add ABT.absChain and start on parsing of Patterns 2018-05-22 15:46:21 -04:00
Arya Irani
3c3ab7c868 add show implementation for handle term 2018-05-22 14:11:28 -04:00
Paul Chiusano
004926efd4 got some layout blocks working, still some lingering bugs 2018-05-22 13:02:45 -04:00
Paul Chiusano
f1583e8637 cleanup test 2018-05-21 17:32:53 -04:00
Paul Chiusano
bd86eb02e1 braced block tests passing, layout block test is failing 2018-05-21 17:31:43 -04:00
Rúnar Óli Bjarnason
40a24ff246 Braces and semicolons? 2018-05-21 16:06:49 -04:00
Rúnar Óli Bjarnason
aa3d7ff04c Parses blocks correctly 2018-05-21 13:25:00 -04:00
Paul Chiusano
e2c3a4a278 TermParsers.block compiling, also deleted some unused old parsers 2018-05-17 18:23:58 -04:00
Rúnar Óli Bjarnason
ba0c3de5dc Blocks? 2018-05-17 15:47:08 -04:00
Paul Chiusano
9214b63aca Updated the Type AST and did some refactoring - the parser now has no knowledge of the set of builtin functions and types 2018-05-17 13:01:01 -04:00
Paul Chiusano
0f32611d3a smart constructors 2018-05-17 12:04:23 -04:00
Paul Chiusano
d764fe0c85 Added a bunch of stuff to the term syntax tree, code still compiles 2018-05-17 12:01:38 -04:00
Paul Chiusano
59cdabf799 haskell code compiling again and tests passing, ready for merge 2018-05-16 23:13:58 -04:00
Paul Chiusano
42ea0604d2 started deleting and cleanup, not compiling yet 2018-05-16 18:20:27 -04:00