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

14288 Commits

Author SHA1 Message Date
Rob Rix
9822c85709 🔥 assignAllFrom. 2017-07-22 13:47:08 -04:00
Rob Rix
0666ea03fe Define assignBy in terms of runAssignment & requireExhaustive. 2017-07-22 13:46:54 -04:00
Rob Rix
353847c5e3 Recur and then require exhaustiveness. 2017-07-22 13:45:50 -04:00
Rob Rix
07b132e631 Define a combinator requiring exhaustiveness. 2017-07-22 13:44:51 -04:00
Rob Rix
15b7735874 Define assignAllFrom using do-notation. 2017-07-22 13:38:16 -04:00
Rob Rix
2b72ca3a8a Inline runMany. 2017-07-22 13:34:43 -04:00
Rob Rix
fab398e089 Pull runMany out of run. 2017-07-22 13:34:40 -04:00
Rob Rix
a7a04ae3d3 📝 the parameters to runAssignment. 2017-07-22 13:32:51 -04:00
Rob Rix
5b674d1940 runMany closes over the source and projection. 2017-07-22 13:29:41 -04:00
Rob Rix
37494f9c03 go shadows the result type parameter. 2017-07-22 13:29:12 -04:00
Rob Rix
ee66fc74bf runMany shadows the result type parameter. 2017-07-22 13:28:59 -04:00
Rob Rix
cbed2b82a0 run shadows the result type parameter. 2017-07-22 13:28:45 -04:00
Rob Rix
4b28073c6e Pull the body of runAssignment into a worker function. 2017-07-22 13:24:09 -04:00
Rob Rix
f3a780e3a9 Reformat the type signature for run. 2017-07-22 13:22:42 -04:00
Rob Rix
d1f291c62d Merge branch 'master' into serialize-concurrent-logging 2017-07-22 13:20:20 -04:00
Timothy Clem
ed525a310f Finally clauses can have multiple statements/expressions 2017-07-21 15:46:17 -07:00
Timothy Clem
618165452a With statements with multiple withItems and partial withItems 2017-07-21 15:46:04 -07:00
Timothy Clem
1ab0701df2 Allow comments in pairs 2017-07-21 15:10:31 -07:00
Timothy Clem
8831317423 Fix issues with with and multiple body statements 2017-07-21 15:01:01 -07:00
Timothy Clem
a7df785093 flatten expressionList for single element lists 2017-07-21 15:00:39 -07:00
Timothy Clem
fed576137d Now that keyword is top level, don't need this 2017-07-21 14:59:43 -07:00
Timothy Clem
4461cb1542 Move yield to top level 2017-07-21 14:59:19 -07:00
Timothy Clem
136f43775a No need for duplicate parseError 2017-07-21 14:58:30 -07:00
Timothy Clem
22bdce0c46 Relax identifier to expression 2017-07-21 14:25:14 -07:00
Timothy Clem
b3a857a83f Let's pretend everything's an expression 2017-07-21 14:17:53 -07:00
Timothy Clem
f7202b23c8 Allow assignment of KeywordIdentifier 2017-07-21 14:17:22 -07:00
Timothy Clem
c1f55cf904 Merge pull request #1238 from github/program-nodes-in-parse-tree-output
Produce program syntaxes (for ruby at least)
2017-07-21 13:33:58 -07:00
Timothy Clem
edbc7a5a0a Program's gotta be Diffable 2017-07-21 13:30:32 -07:00
Timothy Clem
3ec1f212e6 Merge branch 'master' into program-nodes-in-parse-tree-output 2017-07-21 13:25:19 -07:00
Rob Rix
07f1083543 Add a CLI flag for the log level, defaulting to warnings. 2017-07-21 16:17:17 -04:00
Rob Rix
323859d585 Move the fields onto the next line. 2017-07-21 16:15:56 -04:00
Rob Rix
1c7456571b Better help text for --colour. 2017-07-21 16:13:55 -04:00
Rob Rix
5131ca98ff Show the valid values for options. 2017-07-21 16:13:14 -04:00
Rob Rix
10044e7dcc Align the actual values, not the default. 2017-07-21 16:11:56 -04:00
Rob Rix
9937a419d1 Add an option controlling the log level. 2017-07-21 16:04:35 -04:00
Rob Rix
94e8eb7f20 Separate log level & message. 2017-07-21 16:02:35 -04:00
Rob Rix
09baaffc46 Better help text for --colour. 2017-07-21 16:01:35 -04:00
Rob Rix
01ac5356cb Configure the passed-in options. 2017-07-21 15:59:28 -04:00
Rob Rix
293104b94a Colourize logged messages. 2017-07-21 15:53:53 -04:00
Rob Rix
22d81403f0 Pass the colourization flag to formatMessage. 2017-07-21 15:48:46 -04:00
Rob Rix
7d6aa01c93 Error & Message formatting produces a String. 2017-07-21 15:48:30 -04:00
Rob Rix
580b817b9f Rename sink to logSink. 2017-07-21 15:43:42 -04:00
Rob Rix
d1babd0fb7 Pass the options to the sink. 2017-07-21 15:43:28 -04:00
Rob Rix
3c213b72db Export withSGRCode. 2017-07-21 15:41:59 -04:00
Rob Rix
e1c7fb438b Rename runTaskOptions to runTaskWithOptions. 2017-07-21 15:40:02 -04:00
Rob Rix
7577eec628 Pass withSGRCode a flag instead of Options. 2017-07-21 15:39:20 -04:00
Rob Rix
4baa0dd2b2 🔥 parens/indentation. 2017-07-21 15:37:43 -04:00
Rob Rix
63efa14594 Better help info for the colour flag. 2017-07-21 15:37:23 -04:00
Rob Rix
882947b689 Add a flag to enable/disable colour output. 2017-07-21 15:36:19 -04:00
Timothy Clem
c540661bb2 Unwrap one level of structure for ExpressionStatement in Python 2017-07-21 12:24:14 -07:00