Commit Graph

605 Commits

Author SHA1 Message Date
Paul Chiusano
a44c1cf773 Merge branch 'topic/notebook' of https://github.com/unisonweb/unison into topic/notebook 2018-09-25 00:00:30 -04:00
Paul Chiusano
94f0138927 new syntax - can use (expr)? to ask for the type of an expression; uses TDNR machinery 2018-09-24 23:56:22 -04:00
Arya Irani
430af55865 fix for some false negatives on function application arg type errors 2018-09-24 22:23:07 -04:00
Arya Irani
a242094992 watchwatch will reload the last processed unison file after a haskell/scala build event...
watchwatch.sh also accepts an initial unison file as a command-line arg, e.g.
  ./scripts/watchwatch.sh scratch.u
2018-09-24 21:54:40 -04:00
Paul Chiusano
17309cdd44 Rename Text.concatenate to Text.++ 2018-09-24 14:38:03 -04:00
Paul Chiusano
f09da9d84d rename Int64 to just Int 2018-09-24 13:36:13 -04:00
Paul Chiusano
66962863b5 rename UInt64 to Nat 2018-09-24 13:15:40 -04:00
Paul Chiusano
83f9ce500c a bit of error message tweaks 2018-09-24 12:58:45 -04:00
Paul Chiusano
fd2fb0968f wordsmithing error message 2018-09-24 11:57:27 -04:00
Paul Chiusano
065ecc4e62 Merge remote-tracking branch 'origin/topic/java-streaming-bootstrap' into topic/notebook 2018-09-24 11:41:22 -04:00
Paul Chiusano
02e6a389e3 Merge remote-tracking branch 'origin/topic/java-streaming-bootstrap' into topic/notebook 2018-09-24 11:19:45 -04:00
Paul Chiusano
aa85bbe706 Merge remote-tracking branch 'origin/topic/error-message-updates' into topic/notebook 2018-09-24 11:19:12 -04:00
Arya Irani
c1e045a3ea un-accidentally commit debugNote True stuff 2018-09-24 11:16:34 -04:00
Arya Irani
97c8513b34 Merge branch 'topic/error-message-updates' into topic/java-streaming-bootstrap 2018-09-24 11:15:09 -04:00
Arya Irani
6a095d4dc0 added Settings.demoHideVarNumber 2018-09-24 11:14:36 -04:00
Runar Bjarnason
315442713e TDNR should solve all blanks 2018-09-24 10:56:34 -04:00
Paul Chiusano
f6bc7db824 Merge remote-tracking branch 'origin/master' into topic/notebook 2018-09-23 20:52:33 -04:00
Arya Irani
6a606f3dbe introduced some error message debug flags in Unison.Settings... 2018-09-23 12:34:14 -04:00
Paul Chiusano
e34e9a2ad0 fix parser bug where blocks that didn't end with an expression were getting their bindings reversed 2018-09-23 02:43:09 -04:00
Paul Chiusano
bfb04ae6a9 got rid of Watch AST node, it's just a builtin function now 2018-09-23 02:26:19 -04:00
Paul Chiusano
5fac61d934 Polish and bugfixes, feels pretty nice 2018-09-23 01:38:59 -04:00
Paul Chiusano
bade2b1050 grabbing current line for watch message now 2018-09-22 15:22:51 -04:00
Paul Chiusano
e65b4cb794 parser fix 2018-09-22 14:35:50 -04:00
Paul Chiusano
7f014cf12a always terminating top-level term with () in the file parser 2018-09-22 14:06:21 -04:00
Paul Chiusano
7e86d28c99 no need to reorder watch expressions within a block 2018-09-22 13:53:09 -04:00
Paul Chiusano
a571cba9c3 added Watch AST node, this ended up being a much less hacky approach, and more flexible too 2018-09-21 22:55:56 -04:00
Paul Chiusano
ae83ebfad9 update file parser 2018-09-21 18:58:16 -04:00
Paul Chiusano
fc69dc45df Merge remote-tracking branch 'origin/topic/java-streaming-bootstrap' into topic/notebook 2018-09-21 17:51:02 -04:00
Paul Chiusano
af0eab0f49 relax parser to not require blocks to end in an expression (instead get helpful msg from typechecker) 2018-09-21 17:50:09 -04:00
Arya Irani
ce2a02f259 fix watcher to not bomb on parse errors 2018-09-21 17:48:18 -04:00
Paul Chiusano
bc7b5ff0ce Merge remote-tracking branch 'origin/topic/java-streaming-bootstrap' into topic/notebook 2018-09-21 16:52:22 -04:00
Paul Chiusano
5d2f3bbb73 some groundwork for revamping file parser to have interleaved watch expressions 2018-09-21 16:52:01 -04:00
Arya Irani
ddd626bb07 create stack executable "watcher" which automatically evaluates .u files in the project root 2018-09-21 16:30:48 -04:00
Paul Chiusano
dc75192bf8 added ability as a keyword alias for effect, will remove effect later 2018-09-20 19:12:39 -04:00
Paul Chiusano
7c6dc750f8 fix bug with Source.fromSocketChannel/fromByteBuffer interaction 2018-09-20 18:42:48 -04:00
Paul Chiusano
751e2b7037 now actually spawning the java process, just need to know the class name 2018-09-20 17:10:51 -04:00
Paul Chiusano
439ab64d9a server for watching files and evaluating them 2018-09-20 16:50:04 -04:00
Paul Chiusano
04ce0e95d4 Merge remote-tracking branch 'origin/topic/codebase-editor' into topic/java-streaming-bootstrap 2018-09-20 15:35:03 -04:00
Rúnar Óli Bjarnason
21df3334a2 Added a file watcher 2018-09-20 13:30:40 -04:00
Arya Irani
8bb84327bf what even _is_ a Branch.sequence 2018-09-20 10:36:41 -04:00
Paul Chiusano
2dcb0031ab Added n-way merge ctor and do flattening in <>, and fix before
Previous implementation of `before` would look only for exact subgraph match, which could incorrectly return false depending on how the two graphs were factored. By flattening the two graphs at merge points, this source of incidental differences goes away. You only need to check for submaps at each merge point.
2018-09-19 23:32:49 -04:00
Arya Irani
477f382b22 trying to work out Branch.sequence 2018-09-19 21:11:40 -04:00
Arya Irani
7fba4e3e09 added a few things 2018-09-19 17:58:39 -04:00
Paul Chiusano
42a73ce940 started on haskell code for codebase editor 2018-09-19 15:58:40 -04:00
Paul Chiusano
56356a844a Merge remote-tracking branch 'origin/master' into topic/haskell-runtime
# Conflicts:
#	parser-typechecker/src/Unison/ABT.hs
2018-09-11 23:13:16 -04:00
Paul Chiusano
8e02bc46a3 Convert lambda application to let, get rid of Apply instruction
Calls to known functions are converted to let bindings
2018-09-11 23:10:00 -04:00
Paul Chiusano
248ebf1e0c made IR closed 2018-09-09 16:18:58 -04:00
Paul Chiusano
f3ff3b4ae6 Revert "simplify"
This reverts commit 6c54fe3933.
2018-09-09 15:43:28 -04:00
Paul Chiusano
6c54fe3933 simplify 2018-09-09 15:27:11 -04:00
Paul Chiusano
169c14f784 builtins 2018-09-09 15:05:14 -04:00