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

143 Commits

Author SHA1 Message Date
Timothy Clem
da90b74044 New parsing of function params 2016-10-06 15:20:05 -07:00
Rick Winfrey
7d8988ce21 Some exports have identifiers 2016-10-06 16:03:06 -05:00
Rick Winfrey
818daf1968 Make Import Syntax an identifier and a list 2016-10-06 15:47:29 -05:00
Rick Winfrey
3ca3d9f035 Add Diff Summary support for Export Syntax 2016-10-06 15:46:59 -05:00
Rick Winfrey
63ca53b828 Add Import Syntax 2016-10-06 15:19:11 -05:00
joshvera
7ba5607cc8 Add source spans to terms 2016-10-05 17:27:45 -04:00
joshvera
4f41619c8e Merge remote-tracking branch 'origin/master' into rws-large-diffs 2016-10-05 12:17:29 -04:00
Rick Winfrey
af1a952348 Add Module syntax 2016-10-03 17:17:03 -05:00
joshvera
16aae4d95d Move a few declarations into Prologue 2016-09-16 10:14:51 -04:00
joshvera
d16cdefe34 Keep a hash for every node instead of a vector 2016-09-01 16:58:24 -04:00
joshvera
7708985f12 Add hashDecorator 2016-09-01 13:02:05 -04:00
joshvera
2723b657a4 Derive Hashable for SourcePos, SourceSpan, and Syntax 2016-09-01 12:10:35 -04:00
Rick Winfrey
5cf03924f9 Function id no longer a Maybe 2016-08-22 18:56:20 -05:00
Rick Winfrey
b4c05feb63 Add AnonymousFunction Syntax constructor 2016-08-22 18:55:54 -05:00
joshvera
5615da1bc0 Change methodParams to be a list of args 2016-08-17 10:42:05 -04:00
joshvera
e209199016 Add If constructor to Syntax 2016-08-11 17:39:44 -04:00
Rob Rix
af34a7bf1c Haddock-friendly docs for Syntax. 2016-08-04 12:26:07 -04:00
Rob Rix
7378668b2c Put the = before the first constructor. 2016-08-04 12:25:56 -04:00
joshvera
36c4001682 Merge remote-tracking branch 'origin/master' into throw-syntax 2016-08-01 13:55:44 -04:00
joshvera
ef4389a5c5 Merge remote-tracking branch 'origin/master' into constructors 2016-08-01 13:49:35 -04:00
joshvera
9bd34fe3ff Merge remote-tracking branch 'origin/master' into try-syntax 2016-08-01 13:38:50 -04:00
joshvera
b458d28c57 Merge remote-tracking branch 'origin/master' into array-syntax 2016-08-01 13:30:37 -04:00
joshvera
f228ed0b6d Add Constructor to Syntax 2016-07-30 14:27:11 -04:00
joshvera
d3df14cafd Add method definitions 2016-07-29 23:41:21 -04:00
joshvera
bb630ebbb0 Move Syntax instance up 2016-07-29 18:33:09 -04:00
joshvera
f931031515 s/body/list of expressions 2016-07-29 18:33:01 -04:00
joshvera
828a2163bf Add MethodDefinition 2016-07-29 18:31:39 -04:00
joshvera
2985bbd256 Add MethodDefinition to Syntax 2016-07-29 17:37:51 -04:00
joshvera
19b29e6beb Add Array to Syntax 2016-07-29 16:42:38 -04:00
joshvera
edaab80540 Add Class to Syntax 2016-07-29 16:22:41 -04:00
joshvera
2490d92c37 Add Try statement 2016-07-29 15:45:25 -04:00
joshvera
2dbe0eca0a Add Throw to Syntax 2016-07-29 15:31:11 -04:00
joshvera
e38ce8b883 Add SourceSpan to Error syntax 2016-07-29 13:59:30 -04:00
joshvera
4493751dd7 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 12:18:14 -04:00
joshvera
fbc9e335a3 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 11:44:38 -04:00
joshvera
7f3cb2e9ef Merge remote-tracking branch 'origin/master' into loop-syntax 2016-07-29 11:42:25 -04:00
joshvera
da0f21a07f Relax For constraint to take a list of clauses 2016-07-28 16:18:30 -04:00
joshvera
d057e156cd Add Return case to Syntax 2016-07-28 14:34:53 -04:00
joshvera
8b4de1e63a Label the DoWhile terms correctly 2016-07-28 14:26:42 -04:00
joshvera
7eac130089 Add DoWhile and While cases 2016-07-28 14:08:34 -04:00
joshvera
4678805bb1 Add a For case to Syntax 2016-07-28 13:50:20 -04:00
joshvera
c11d955f57 Add comments 2016-07-28 11:24:19 -04:00
joshvera
8b0f496b90 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-27 19:00:27 -04:00
joshvera
3b3d3282cb Add Error case to Syntax 2016-07-25 14:56:51 -04:00
Rob Rix
77969d5366 Merge branch 'master' into sequenceable
# Conflicts:
#	src/Diff.hs
#	src/Syntax.hs
2016-07-22 18:40:11 -04:00
Rob Rix
9ae7f52e8f Rename Sequenceable to Mergeable. 2016-07-22 17:38:10 -04:00
Rob Rix
0b85a1826d Derive the Sequenceable instance over Syntax. 2016-07-22 16:15:04 -04:00
Rob Rix
d32652d5eb Syntax is Sequenceable via genericSequenceAlt. 2016-07-22 16:09:28 -04:00
Rob Rix
1ede2d2a23 Syntax uses the generically derived GSequenceable implementation. 2016-07-22 16:07:07 -04:00
Rob Rix
e780689400 Syntax is GSequenceable. 2016-07-22 16:06:52 -04:00
Rob Rix
9b322da2be Add a Sequenceable instance over Syntax. 2016-07-22 15:30:35 -04:00
Rob Rix
c92cc987ed Put some formatting back. 2016-07-22 13:52:48 -04:00
joshvera
27c338331f Merge remote-tracking branch 'origin/master' into syntax-redux 2016-07-14 15:22:46 -04:00
Rob Rix
bc05e694a3 🔥 Keyed syntax nodes. 2016-07-12 23:27:09 -04:00
Rick Winfrey
177af03bd3 Merge branch 'master' into syntax-redux 2016-07-12 17:03:35 -05:00
Rob Rix
ba71516f02 Derive a Generic1 instance for Syntax. 2016-07-11 12:18:20 -04:00
joshvera
73afe7d1e9 Add zipTerms to Pairs 2016-07-08 13:16:06 -04:00
joshvera
567e815f28 s/CommentedSyntax/Commented 2016-07-08 11:48:20 -04:00
joshvera
99b05ebdc1 Object takes a list of f now 2016-07-08 11:17:46 -04:00
joshvera
1efd68d122 Merge remote-tracking branch 'origin/master' into syntax-redux 2016-07-06 16:22:25 -04:00
Rob Rix
8d043e7de9 Add an Arbitrary instance over Syntax.
This also implements sized arbitrary values.
2016-06-30 14:10:44 -04:00
Rob Rix
03b6964d7c Derive a Generic instance over Syntax. 2016-06-30 14:10:12 -04:00
Rob Rix
7bdbb0a963 Derive an Ord instance for Syntax. 2016-06-29 11:23:11 -04:00
joshvera
956f821a13 Start parsing Object literals 2016-06-23 17:39:27 -04:00
Rick Winfrey
5cb1a05f0d Add Operator Syntax 2016-06-17 17:03:09 -05:00
Rick Winfrey
ce54abd040 Add Ternary Syntax data constructor 2016-06-17 15:32:07 -05:00
Rick Winfrey
76c4037933 Add support for MathAssignment Category and Syntax 2016-06-17 14:57:51 -05:00
Rick Winfrey
596d465c17 Add SubscriptAccess Syntax 2016-06-17 14:39:18 -05:00
joshvera
6e7c5eeb5a Add Switch/Case to Syntax 2016-06-15 15:20:58 -07:00
joshvera
615871ac8f docs 2016-06-15 14:58:48 -07:00
joshvera
1b1682c57c Add VarDecl/VarAssignment to Syntax 2016-06-14 17:44:10 -07:00
joshvera
ba0f6a2123 Remove If for now 2016-06-14 15:45:01 -07:00
joshvera
2e0f10d4cb Add an If Syntax constructor 2016-06-14 14:49:03 -07:00
joshvera
c839aace33 Args docs 2016-06-14 14:37:02 -07:00
joshvera
307cdda0de Add cases for methods and args 2016-06-14 09:53:35 -07:00
joshvera
2ba33189c4 Add MethodCall cases to Syntax and Category 2016-06-14 09:06:08 -07:00
Rick Winfrey
99cb26a809 Improve documentation for Assignment Syntax 2016-06-13 17:32:41 -05:00
Rick Winfrey
b07955872b Add Syntax MemberAccess 2016-06-13 17:32:23 -05:00
Rick Winfrey
4806d975eb Add Assignment Syntax 2016-06-13 16:32:08 -05:00
joshvera
d20937f2b1 Parse functions 2016-06-10 15:10:37 -04:00
joshvera
91bf955125 Add a Function constructor to Syntax 2016-06-10 13:34:19 -04:00
Rick Winfrey
b1ac37774b Add FunctionCall Syntax constructor 2016-06-08 16:18:54 -05:00
joshvera
8180b37285 Use Protolude via the Prologue module and add NoImplicitPrelude 2016-05-26 12:58:04 -04:00
Rob Rix
7af5a4876a Move OrderedMap into Data. 2016-01-06 11:56:58 -05:00
joshvera
6eb8172fe4 output split diffs as Text 2015-12-15 13:29:58 -05:00
Rob Rix
62815448c1 Use OrderedMap everywhere. 2015-12-14 17:12:47 -05:00
Rob Rix
b814e3c068 Merge branch 'master' into apply-review-feedback 2015-11-27 11:42:10 -05:00
Rob Rix
05fa421642 Document Syntax. 2015-11-27 09:41:43 -05:00
Rob Rix
13edc3c832 Derive a Traversable instance for Syntax. 2015-11-25 10:58:47 -05:00
Rob Rix
abf8c693b3 Derive a Foldable instance for Syntax. 2015-11-25 10:58:02 -05:00
Rob Rix
a71385b22e Indentation stuff. 2015-11-17 16:17:42 -08:00
Rob Rix
4028c50c84 Remove redundant DeriveFunctor. 2015-11-17 15:43:39 -08:00
Rob Rix
d34c71ccf1 Move the sources into the package. 2015-11-17 14:49:59 -08:00