1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
Commit Graph

13295 Commits

Author SHA1 Message Date
Rob Rix
79724efd67 Clarify a doc comment. 2017-06-07 15:54:21 -04:00
Rob Rix
845e0fa8d6 Export Term type synonyms from Ruby and Python. 2017-06-07 15:53:36 -04:00
Rob Rix
4b4e6871b4 Rename the term parameter to ast. 2017-06-07 15:44:43 -04:00
Rob Rix
0599ae2286 Extend the projection function to return the location as well. 2017-06-07 15:43:21 -04:00
Rob Rix
a8ff3bb588 Generalize to arbitrary comonads. 2017-06-07 15:29:03 -04:00
Rob Rix
549d85a84d 🔥 the AST type synonym. 2017-06-07 15:19:32 -04:00
Rob Rix
bc4284c8a6 Generalize runAssignment &c. to Traversable syntax functors. 2017-06-07 15:16:26 -04:00
Rob Rix
59b671a144 Generalize dropAnonymous to Recursive functors. 2017-06-07 15:09:47 -04:00
Rob Rix
d3e4117295 Generalize runAssignment &c. over the record fields. 2017-06-07 15:08:37 -04:00
Rob Rix
407f68faac Simplify advanceState’s selection of the record. 2017-06-07 15:03:36 -04:00
Rob Rix
360ef63ab4 Generalize makeState to arbitrary term types. 2017-06-07 15:02:20 -04:00
Rob Rix
9d4fb0920b Generalize advanceState over the syntax functor. 2017-06-07 15:01:52 -04:00
Rob Rix
f7c1992db1 Parameterize AssignmentState by the term type. 2017-06-07 15:01:24 -04:00
Rob Rix
698b0ac5fe Use the Location synonym more widely. 2017-06-07 14:55:23 -04:00
Rob Rix
156fa1723c 🔥 Node. 2017-06-07 14:51:08 -04:00
Rob Rix
a8bf5b5e71 Redefine the Syntax type synonyms as just the list of type constructors. 2017-06-07 14:34:32 -04:00
Rob Rix
c0763f7a23 Redefine Location as just the list of fields. 2017-06-07 14:31:37 -04:00
Rob Rix
84c15e3e65 Don’t specify Node in the assignment spec. 2017-06-07 14:27:01 -04:00
Rob Rix
a66a76bb01 Construct the input AST using the node constructor. 2017-06-07 14:26:21 -04:00
Rick Winfrey
bf80b85637 Move delete statement 2017-06-07 11:26:09 -07:00
Rick Winfrey
a264123196 Assign raise statements 2017-06-07 11:25:59 -07:00
Rob Rix
ddc58d3f83 Rename rec to node. 2017-06-07 14:23:37 -04:00
Rob Rix
af80bca937 🔥 Rose. 2017-06-07 14:23:33 -04:00
Rob Rix
52be6902a8 🔥 redundant parens. 2017-06-07 14:15:36 -04:00
Rick Winfrey
d44d0c6df0 Assign delete statements 2017-06-07 11:15:31 -07:00
Rob Rix
713844423f Clean up the selection of errors using the Alternative instance. 2017-06-07 13:51:01 -04:00
Rick Winfrey
6c1371e418 Merge branch 'python-test-fixtures' of github.com:github/semantic-diff into python-test-fixtures 2017-06-07 10:30:40 -07:00
Rick Winfrey
7023a16147 Normalize new lines for python fixture files 2017-06-07 10:30:37 -07:00
Rob Rix
54bb4f9455 Rename AssignmentF’s grammar parameter to match every use of it. 2017-06-07 12:39:44 -04:00
Rob Rix
6c69d315a0 Simplify result production in a couple of places. 2017-06-07 12:17:13 -04:00
Rob Rix
5e1cfe7607 Swap the ordering of the result fields. 2017-06-07 12:15:22 -04:00
Rob Rix
9f4f37025c Generalize the symbolizing function to take the whole CofreeF. 2017-06-07 12:09:59 -04:00
Rob Rix
08e15321c2 Parameterize assignment by a function producing the symbol. 2017-06-07 12:05:46 -04:00
Rob Rix
4a59d3e5ed Consistently call the parameter “grammar.” 2017-06-07 11:51:21 -04:00
Rob Rix
3944a31988 Parameterize Assignment by the grammar type, not the node type. 2017-06-07 11:49:41 -04:00
Rob Rix
a5c74c4270 Define Rose as a type synonym for Cofree []. 2017-06-07 11:45:06 -04:00
Rick Winfrey
c405d3aca6 Merge branch 'master' into python-test-fixtures 2017-06-06 17:11:53 -07:00
Rick Winfrey
7ad1643d9c Generator expression test fixture 2017-06-06 17:11:17 -07:00
Rick Winfrey
d83e4d9331 Global statement test fixture 2017-06-06 17:11:09 -07:00
Rick Winfrey
2d75fd9cc4 If statement test fixture 2017-06-06 17:10:59 -07:00
Rick Winfrey
593f864e5f Import from statement test fixture 2017-06-06 17:10:51 -07:00
Rick Winfrey
a00ca46065 Import statement test fixture 2017-06-06 17:10:42 -07:00
Rick Winfrey
1ae5f37bf6 Integer test fixture 2017-06-06 17:10:32 -07:00
Rick Winfrey
5a6687e395 Keyword identifier test fixture 2017-06-06 17:10:24 -07:00
Rick Winfrey
235f1313ac Lambda test fixture 2017-06-06 17:10:12 -07:00
Rick Winfrey
6fef74d6ee List comprehension test fixture 2017-06-06 17:10:02 -07:00
Rick Winfrey
5d7b8eb42a Non local statement test fixture 2017-06-06 17:09:52 -07:00
Rick Winfrey
c018ecb70f None test fixture 2017-06-06 17:09:42 -07:00
Rick Winfrey
5d68b88897 Not test fixture 2017-06-06 17:09:35 -07:00
Rick Winfrey
586756ccf4 Pass statement test fixture 2017-06-06 17:09:26 -07:00