1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
Commit Graph

11996 Commits

Author SHA1 Message Date
Rob Rix
85ab76a7b0 Revert "Define a liftC2 method."
This reverts commit 5d0f44702e940800eca706e7a060586a9c92f8b7.
2017-04-21 12:17:46 -04:00
Rob Rix
0991f0c8c1 Revert "Give a default definition for <&> in terms of liftC2."
This reverts commit 0a6bfa25ea2801aa7b7c2c19f1fcabf63bddaccf.
2017-04-21 12:17:45 -04:00
Rob Rix
b4a8336beb Revert "Describe the minimal instance."
This reverts commit 4a8a676f8faafd0f60769a20068512937181f7e4.
2017-04-21 12:17:43 -04:00
Rob Rix
639fc824aa Revert "Define example instances of Conjunctive for Maybe and []."
This reverts commit 05dea7751da8699f6eeb53bb00dd5f40fc49b775.
2017-04-21 12:17:02 -04:00
Rob Rix
d5f1fb93ef Define example instances of Conjunctive for Maybe and []. 2017-04-21 12:11:27 -04:00
Rob Rix
0c75affa75 Describe the minimal instance. 2017-04-21 11:50:21 -04:00
Rob Rix
9ba51f537a Give a default definition for <&> in terms of liftC2. 2017-04-21 11:50:10 -04:00
Rob Rix
2119f3b7ed Define a liftC2 method. 2017-04-21 11:48:29 -04:00
Rob Rix
340a58e44e Give default definitions for &> and <&. 2017-04-21 11:44:23 -04:00
Rob Rix
22177b0940 Define a Conjunctive typeclass. 2017-04-21 11:44:16 -04:00
Rob Rix
9acedae624 Simplify the definition of annotation. 2017-04-21 11:20:47 -04:00
Rob Rix
bcceb1c5a8 Define a smart constructor for Get. 2017-04-21 11:20:19 -04:00
Rob Rix
cf8e59635c Define Symbol, Range, and SourceSpan in terms of Get. 2017-04-21 11:18:09 -04:00
Rob Rix
9b9713d317 Define a Get rule to produce the current symbol (soon, node). 2017-04-21 10:56:43 -04:00
Rob Rix
f7e0938c0c Add an annotation combinator. 2017-04-21 10:39:53 -04:00
Rob Rix
2c16ea9b17 term takes its annotation. 2017-04-21 10:38:17 -04:00
Rob Rix
ba73178532 Define combinators producing the range and source span of the current node. 2017-04-21 10:21:25 -04:00
Rob Rix
364c9b1113 Correct the docs of symbol. 2017-04-21 10:13:35 -04:00
Rob Rix
0e2559db0f Reintroduce Node/AST type synonyms. 2017-04-21 10:08:19 -04:00
Rob Rix
8cc3da0de3 Assignment receives source spans. 2017-04-21 09:55:19 -04:00
Rob Rix
ab059af248 Assignment receives ranges. 2017-04-21 09:54:17 -04:00
Rob Rix
2f696ef88d Pass the symbol in a record. 2017-04-21 09:52:23 -04:00
Rob Rix
b5575d7298 📝 parseRubyToAST. 2017-04-21 09:44:05 -04:00
Rob Rix
a29b7b6f2b Return the Source alongside the AST.
This makes for easier chaining.
2017-04-21 09:43:29 -04:00
Rob Rix
9a0361d74d Pass source when running assignments. 2017-04-21 09:40:17 -04:00
Rob Rix
5f2dfc144a Merge pull request #1079 from github/ruby-assignment-a-la-carte
Ruby assignment à la carte
2017-04-21 09:25:16 -04:00
Timothy Clem
19e87dd523 Put both diff and parse rendering back together 2017-04-20 15:13:28 -07:00
Rob Rix
9a42d8f4c8 Replace Node with its symbol, dropping the source. 2017-04-20 15:53:01 -04:00
Rob Rix
33f41f5bf0 Merge branch 'master' into rws-effect 2017-04-20 15:26:11 -04:00
Rob Rix
085839aabf Merge branch 'master' into ruby-assignment-a-la-carte 2017-04-20 15:25:34 -04:00
Rob Rix
831c55d025 Merge pull request #1077 from github/ruby-production-type
Templated grammar types
2017-04-20 15:25:07 -04:00
Timothy Clem
389bfaf220 WIP - new renderer achitecture 2017-04-20 11:00:02 -07:00
Rob Rix
ccf9fa9ee2 Fix a typo. 2017-04-20 13:27:53 -04:00
Timothy Clem
5870b33b51 WIP - parse tree renderer 2017-04-19 18:27:36 -07:00
Timothy Clem
04f7f4b1f5 Start to build new interface for semantic 2017-04-19 16:33:27 -07:00
Timothy Clem
8eb4d436e0 s/Semantic/SemanticCmdLine 2017-04-19 14:22:24 -07:00
Timothy Clem
34553f1057 toc summary specs no longer rely on command 2017-04-19 14:16:44 -07:00
Rob Rix
ff6ce916eb Assign unless modifiers. 2017-04-19 16:54:03 -04:00
Rob Rix
25379d71aa if/unless can omit the else block. 2017-04-19 16:53:09 -04:00
Rob Rix
1d2c924088 🔥 expr. 2017-04-19 16:28:51 -04:00
Rob Rix
c83b75f5b4 Assign unless statements. 2017-04-19 16:27:59 -04:00
Timothy Clem
338738b850 IntegrationSpec always uses the same renderer 2017-04-19 13:26:47 -07:00
Timothy Clem
c3f4ee6a36 IntegrationSpec no longer uses runCommand 2017-04-19 13:25:46 -07:00
Rob Rix
39657d07ea Define syntax for boolean negation. 2017-04-19 16:24:02 -04:00
Rob Rix
2a4ab71d86 Assign modifier if statements. 2017-04-19 16:19:47 -04:00
Rob Rix
74884ec812 Handle scoped class names. 2017-04-19 16:13:07 -04:00
Rob Rix
af1be07b5f Assign superclasses. 2017-04-19 16:05:49 -04:00
Rob Rix
f97ed6cc37 Rename Content to Source. 2017-04-19 16:00:44 -04:00
Rob Rix
0ebf786747 term provides the annotation. 2017-04-19 15:00:21 -04:00
Rob Rix
aa2a1d7d2c Assign break & continue statements. 2017-04-19 14:03:14 -04:00