1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +03:00
Commit Graph

14990 Commits

Author SHA1 Message Date
Timothy Clem
680ad37eea Fix up chained strings, allow comments 2017-08-16 14:14:33 -07:00
Timothy Clem
4fa472f8a1 Comments in hashes, simplify a few literals 2017-08-16 14:11:09 -07:00
Rob Rix
802476eb8a Run assignments direct-recursively. 2017-08-16 17:04:29 -04:00
Timothy Clem
55e87d3095 Allow comments in assignments 2017-08-16 13:44:30 -07:00
Timothy Clem
f0e96bc947 Add in comment handling, re-write binary
Also add complex and rational literals
2017-08-16 13:30:13 -07:00
Rob Rix
b4aec090fe Add a Seq constructor. 2017-08-16 16:21:26 -04:00
Rob Rix
3f21c88cb1 Bind through maps. 2017-08-16 16:12:29 -04:00
Rob Rix
9aa021b404 Promote maps in sequence. 2017-08-16 16:12:06 -04:00
Rob Rix
6735125dc4 Maps compose. 2017-08-16 16:10:57 -04:00
Rob Rix
435121211a Define a Map action. 2017-08-16 16:10:12 -04:00
Rob Rix
88d8a80a03 Rename Return to Pure. 2017-08-16 16:07:08 -04:00
Rob Rix
5551390619 Assignment is completely self-contained. 2017-08-16 16:04:45 -04:00
Rob Rix
187441e9af Alt holds regular assignments. 2017-08-16 15:47:13 -04:00
Rob Rix
320a302f58 Choose holds regular assignments. 2017-08-16 15:44:17 -04:00
Timothy Clem
8fc65cbee2 Properly assign binary - and * 2017-08-16 12:25:34 -07:00
Rob Rix
7074a18012 Merge branch 'master' into assignment-optimization 2017-08-16 14:40:36 -04:00
Rob Rix
369caea702 Merge pull request #1296 from github/systematic-comment-assignment
Systematic comment assignment
2017-08-16 14:38:08 -04:00
Rob Rix
cae20bcbf9 📝 the Python combinators. 2017-08-16 14:35:57 -04:00
Rob Rix
9d63ca22ae 📝 the contextualizing operators. 2017-08-16 14:33:10 -04:00
Rob Rix
b6401aaa9f 📝 handleError & parseError. 2017-08-16 14:27:53 -04:00
Rob Rix
2457402a48 📝 emptyTerm. 2017-08-16 14:22:25 -04:00
Rob Rix
fb60c60c9c 📝 makeTerm & friends. 2017-08-16 14:22:19 -04:00
Rob Rix
f7abab4186 Convince everything that we have MonadFree instances. 2017-08-16 14:17:50 -04:00
Rob Rix
e4ccee6d02 📝 manyThrough. 2017-08-16 14:09:50 -04:00
Rob Rix
f71eab9ced 📝 advance & token. 2017-08-16 14:08:10 -04:00
Rob Rix
8bb23f0642 🔥 infixChoice. 2017-08-16 14:07:59 -04:00
Rob Rix
66abd4e327 Merge branch 'master' into systematic-comment-assignment 2017-08-16 13:23:40 -04:00
Rob Rix
40a5c5594b Rename assignBy to assign. 2017-08-16 13:21:57 -04:00
Timothy Clem
c43b7a33cb Merge pull request #1253 from github/ruby-assignment-fixes
Ruby assignment fixes
2017-08-16 10:18:09 -07:00
Timothy Clem
ebca8e49ce Lambdas get an update 2017-08-16 10:13:48 -07:00
Rob Rix
fd44cc8603 Throw always has a valid error. 2017-08-16 13:11:57 -04:00
Rob Rix
05c1db40fd Alt holds a normal list. 2017-08-16 13:10:43 -04:00
Rob Rix
99bdeb6ce5 Compute the first set for label rules. 2017-08-16 13:08:33 -04:00
Timothy Clem
f9c05e959c ++ haskell-tree-sitter and tree-sitter-ruby 2017-08-16 10:02:18 -07:00
Rob Rix
ee42a0ece8 Push alternation through currentNode. 2017-08-16 13:02:17 -04:00
Rob Rix
7a996f739c Push alternation through advance & eof. 2017-08-16 13:01:33 -04:00
Rob Rix
b2072d24ca 🔥 the state effects. 2017-08-16 13:01:00 -04:00
Rob Rix
85bd4671b8 Fix node handling. 2017-08-16 12:56:30 -04:00
Rob Rix
889e8031a5 Revert "Define currentNode in terms of state."
This reverts commit 034449cadff61b15101f26ac9313e8dc4fc44432.
2017-08-16 12:50:35 -04:00
Rob Rix
098b9f8941 Revert "Define location in terms of state."
This reverts commit e90b5c5e0ddba4390ec6230357accf96f6211a1c.
2017-08-16 12:49:30 -04:00
Rob Rix
994d40cf23 Revert "Define advance in terms of state."
This reverts commit 7387c9ae3719f92bea2ac3b776561b099ee3e599.
2017-08-16 12:48:52 -04:00
Rob Rix
4daab99a09 Revert "Define eof in terms of state."
This reverts commit b71a285f23f1a7112173f03a2041bebaae637940.
2017-08-16 12:48:39 -04:00
Rob Rix
d861ff4329 Define eof in terms of state. 2017-08-16 12:38:31 -04:00
Rob Rix
1f36dc6136 Pull requireExhaustive out to the top level. 2017-08-16 12:36:32 -04:00
Rob Rix
b14ec8b99a Pull skipTokens out to the top level. 2017-08-16 12:35:56 -04:00
Rob Rix
35c69f6ba1 Rename dropAnonymous to skipTokens. 2017-08-16 12:35:44 -04:00
Rob Rix
b0f3d967c5 Use the AST synonym widely. 2017-08-16 12:26:41 -04:00
Rob Rix
a5812184b8 Tidy up Markdown with the AST synonym. 2017-08-16 12:24:47 -04:00
Rob Rix
6bbaa7a8e6 Parameterize the AST synonym by the functor. 2017-08-16 12:24:02 -04:00
Rob Rix
8d6d7535e8 Try to push alternation through equal states. 2017-08-16 12:23:00 -04:00