1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

15052 Commits

Author SHA1 Message Date
Rob Rix
35cb3da717 Define Pretty instances for Pos & Span. 2017-08-22 13:05:52 -04:00
Rob Rix
01b197ccc8 Define a Pretty instance for Range. 2017-08-22 13:03:51 -04:00
Rob Rix
b5a833e631 Define Pretty instances for Records. 2017-08-22 13:03:07 -04:00
Rob Rix
d133d3a9e9 Define a Pretty instance for Patch. 2017-08-22 12:59:24 -04:00
Rob Rix
246b220349 Define a Pretty1 instance for Patch. 2017-08-22 12:59:00 -04:00
Rob Rix
75ae8f880f Define a Pretty instance for Free. 2017-08-22 12:53:41 -04:00
Rob Rix
68cc44f91b Define a Pretty1 instance for Free. 2017-08-22 12:53:19 -04:00
Rob Rix
2b278c1688 Define a Pretty instance for Term. 2017-08-22 12:52:09 -04:00
Rob Rix
fc62716003 Define a Pretty1 instance for Term. 2017-08-22 12:51:25 -04:00
Rob Rix
8348dbcf29 Add the prettyprinter libs to the cabal.project file. 2017-08-22 12:50:59 -04:00
Rob Rix
f21d28dab0 Bump prettyprinter to my lifted pretty classes branch. 2017-08-22 12:47:29 -04:00
Rob Rix
e496a41680 Link prettyprinter. 2017-08-22 12:44:27 -04:00
Rob Rix
8eb36d9a1c Add prettyprinter. 2017-08-22 12:43:40 -04:00
Rob Rix
00e411adad Merge pull request #1309 from github/ignore-environment-files
Ignore cabal-generated environment files.
2017-08-22 12:33:30 -04:00
Rob Rix
762d3bf391 Ignore cabal-generated environment files. 2017-08-22 12:27:57 -04:00
Rob Rix
cba275b812 Merge pull request #1306 from github/assignment-optimization
Assignment optimization
2017-08-21 16:55:42 -04:00
Rob Rix
3125759abe Assign comments in decorators. 2017-08-21 15:51:54 -04:00
Rob Rix
f924b8b63c Don’t bother capturing the call stack. 2017-08-21 15:35:03 -04:00
Rob Rix
5f19a7415b Move assignmentCallSite up. 2017-08-21 15:34:37 -04:00
Rob Rix
6b7114ebc8 Construct better errors at the end of branches. 2017-08-21 15:33:42 -04:00
Rob Rix
c572e8d3bf Correct the AST type parameters. 2017-08-21 15:17:34 -04:00
Rob Rix
19d1fff2eb Merge branch 'master' into assignment-optimization 2017-08-21 12:43:03 -04:00
Timothy Clem
faf703cb10 Merge pull request #1304 from github/ruby-comments-and-other-assignment-fixes
Ruby comments and other assignment fixes
2017-08-21 08:59:03 -07:00
Timothy Clem
77409b0045 Move rational and complex in Data.Syntax.Literal 2017-08-21 08:44:33 -07:00
Rob Rix
e8abd3b705 🔥 a commented-out definition of Tracing. 2017-08-18 14:44:48 -04:00
Rob Rix
bac99d7105 Avoid throwing exceptions if callstack assumptions are invalidated. 2017-08-18 14:43:15 -04:00
Rob Rix
773644d040 We limit the call stacks now. 2017-08-18 10:41:14 -04:00
Rob Rix
e986ee3dce Ensure we can match single comments at the end of branches. 2017-08-18 10:40:50 -04:00
Rob Rix
0ad9ab5f44 Merge at-end rules into uncommitted choices. 2017-08-18 09:37:15 -04:00
Rob Rix
2ef277c4a3 Freeze the call stack we make errors with. 2017-08-18 09:31:17 -04:00
Rob Rix
81f72193e0 Ensure productivity for catch rules at end. 2017-08-18 09:29:14 -04:00
Rob Rix
30b6309cd1 Ensure productivity for label rules at end. 2017-08-18 09:24:26 -04:00
Rob Rix
bc4cee8b5f Avoid infinite looping on alternations of repetitions. 2017-08-18 09:06:31 -04:00
Rob Rix
9e2abcaa13 🔥 a redundant import. 2017-08-17 17:57:06 -04:00
Rob Rix
7b4fcec381 Fix the tests up. 2017-08-17 17:56:01 -04:00
Rob Rix
cb75a9bd41 Merge the atEnd cases. 2017-08-17 16:58:34 -04:00
Rob Rix
960e7f06d6 Explain myself. 2017-08-17 16:55:50 -04:00
Rob Rix
671894e657 Push and pop call sites from the stack. 2017-08-17 16:47:34 -04:00
Rob Rix
6c903e5038 Make errors with the passed-in stack. 2017-08-17 16:46:41 -04:00
Rob Rix
566e37ed5a What have I done 😨 2017-08-17 16:41:14 -04:00
Rob Rix
06007f319b Merge literal into expression. 2017-08-17 16:28:53 -04:00
Rob Rix
964157b256 Add fallbacks to committed choice. 2017-08-17 15:36:50 -04:00
Rob Rix
be10a2918f Tracing holds a single call site. 2017-08-17 15:09:23 -04:00
Rob Rix
8ee37dd1ea Rename the stateCallStack field to stateCallSites. 2017-08-17 11:56:16 -04:00
Rob Rix
d24a299d75 Add a call stack to the State. 2017-08-17 11:55:45 -04:00
Rob Rix
2e251ee244 Factor callstacks out into a helper functor. 2017-08-17 11:50:52 -04:00
Rob Rix
1a20c7e356 Revert "Choose holds regular assignments."
This reverts commit ab81e11ec69214fd5e6c3f368bfcbf4b6073d8cd.
2017-08-17 11:15:46 -04:00
Rob Rix
e3bb646ab6 Revert "Alt holds regular assignments."
This reverts commit 865f2429dcb6cf16151a0ade4b989bb276c10596.
2017-08-17 11:15:44 -04:00
Rob Rix
21439ba2f0 Revert "Assignment is completely self-contained."
This reverts commit 44fed1d491b8098518af1eaeb6846e342d4861d8.
2017-08-17 11:15:42 -04:00
Rob Rix
c092b347a0 Revert "Rename Return to Pure."
This reverts commit d259b76d176903f199b11d3f2ada1e493a88df1d.
2017-08-17 11:15:41 -04:00