1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
Commit Graph

3737 Commits

Author SHA1 Message Date
Rob Rix
653acdc30f Add a sublist function. 2015-12-23 21:39:35 -05:00
Rob Rix
002147ac3e Add a type parameter for the elements of Sources. 2015-12-23 21:38:23 -05:00
Rob Rix
6a879d4967 Remove the annotation from sources. 2015-12-23 21:37:53 -05:00
Rob Rix
145720123f Use toString when rendering. 2015-12-23 21:33:59 -05:00
Rob Rix
a2521837ea Stub in API to render a Source to a String. 2015-12-23 21:33:07 -05:00
Rob Rix
6fccea8ce9 Pass Sources around everywhere. 2015-12-23 21:30:12 -05:00
Rob Rix
8158386f98 Use sources, not before/after. 2015-12-23 21:29:58 -05:00
Rob Rix
09a944ecfe Add a function to find the value at an index in a Source. 2015-12-23 21:29:26 -05:00
Rob Rix
ef91c64ad7 Add a function to get a portion of a Source. 2015-12-23 21:29:11 -05:00
Rob Rix
035a4cd26b Redefine Source as a type synonym for String. 2015-12-23 21:28:49 -05:00
Rob Rix
ce8a90ad9b Use a type synonym for the sources. 2015-12-23 20:35:03 -05:00
Rob Rix
5082288b06 Stub in arrays of sources. 2015-12-23 20:33:40 -05:00
Rob Rix
c23833485e Depend on array. 2015-12-23 20:33:24 -05:00
Rob Rix
46635ccb60 Merge branch 'profiling-improvements' into split-performance
# Conflicts:
#	src/Range.hs
2015-12-23 19:50:27 -05:00
Rob Rix
ffa4462aab Merge branch 'strictness' into profiling-improvements 2015-12-23 19:43:27 -05:00
Rob Rix
1d5114318d Enable profiling on the library as well. 2015-12-23 19:42:55 -05:00
Rob Rix
573939ef1c Merge branch 'ffi-ffs' into profiling-improvements 2015-12-23 19:41:15 -05:00
Rob Rix
6b5339a5c2 Fold strictly. 2015-12-23 18:03:55 -05:00
Rob Rix
c1973d052d Fold strictly. 2015-12-23 18:01:31 -05:00
Rob Rix
71c0719326 Remove a redundant import. 2015-12-23 18:01:01 -05:00
Rob Rix
745ee35816 Annotated is strict in its annotation and syntax.. 2015-12-23 17:55:19 -05:00
Rob Rix
92cbad56fe Document why strict application. 2015-12-23 17:54:28 -05:00
Rob Rix
319bbecfdb We no longer need to force the evaluation of range. 2015-12-23 17:52:04 -05:00
Rob Rix
094fd90f91 Info is now strict. 2015-12-23 17:51:52 -05:00
Rob Rix
98bde6b555 Eta reduction. 2015-12-23 17:50:29 -05:00
Rob Rix
d30bc17c16 Remove redundant parentheses. 2015-12-23 17:50:26 -05:00
Rob Rix
077c8194b2 Spacing. 2015-12-23 17:49:59 -05:00
Rob Rix
ab7f748663 Use fromMaybe to expand the alternatives. 2015-12-23 17:48:43 -05:00
Rob Rix
fe347b3f07 Just force the evaluation of range now that it’s strict. 2015-12-23 17:41:55 -05:00
Rob Rix
24998db34e Range’s fields are strict. 2015-12-23 17:41:35 -05:00
Rob Rix
a8578ccbf8 Force the evaluation of the start & end of the range. 2015-12-23 17:39:40 -05:00
Rob Rix
eb908e4fa2 Compute the range in-place. 2015-12-23 17:39:13 -05:00
Rob Rix
08c2d72803 Force the evaluation of the range. 2015-12-23 17:38:09 -05:00
Rob Rix
aca7b55784 Capture the range in a temporary. 2015-12-23 17:37:42 -05:00
Rob Rix
76e1f042c8 getChild calls toTerm directly. 2015-12-23 10:47:15 -05:00
Rob Rix
308e561693 Use take to specify a half-open interval. 2015-12-23 10:43:41 -05:00
Rob Rix
a32de11218 Spacing. 2015-12-23 10:34:40 -05:00
Rob Rix
038d0b6ff6 Implement the Storable instance for TSNode in terms of its CStorable instance. 2015-12-23 10:34:08 -05:00
Rob Rix
44ba628c71 Add a default CStorable instance for TSNode. 2015-12-23 10:33:52 -05:00
Rob Rix
ae92b20a7c Derive a Generic instance for TSNode. 2015-12-23 10:33:36 -05:00
Rob Rix
21ac483558 DeriveGeneric. 2015-12-23 09:58:46 -05:00
Rob Rix
6edd7453e4 Attempt to depend on c-storable-deriving again. 2015-12-23 09:57:15 -05:00
Rob Rix
a938d072c0 Remove TSLength. 2015-12-23 09:52:09 -05:00
Rob Rix
f75a0f25f3 Move range into the where clause. 2015-12-23 09:50:54 -05:00
Rob Rix
5b685f7ce3 Remove withNamedChildren. 2015-12-23 09:50:19 -05:00
Rob Rix
8550676c42 Inline withNamedChildren in toTerm. 2015-12-23 09:49:55 -05:00
Rob Rix
988a8d825f TSNode is no longer defined over TSLength, but over CSize values instead. 2015-12-23 09:45:49 -05:00
Rob Rix
eecb291c02 Merge branch 'split-property-tests' into split-refactoring 2015-12-22 19:12:10 -05:00
Rob Rix
4c7393c2d3 Merge branch 'master' into split-property-tests 2015-12-22 19:11:56 -05:00
Rob Rix
3a6cef41d7 Merge pull request #358 from github/bump-the-parsers
Bump the parsers
2015-12-22 19:10:28 -05:00