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

4391 Commits

Author SHA1 Message Date
Rick Winfrey
e5f36bb29e 📝 anamorphism example with more detail 2016-11-20 12:54:33 -06:00
Rick Winfrey
6df195dfa0 📝 paramorphism operation and how the resulting structure is built 2016-11-20 12:32:12 -06:00
Rick Winfrey
91d9c05c52 Add paramorphism example 2016-11-18 17:12:26 -06:00
Rick Winfrey
6a77dbd868 🔥 whitespace 2016-11-18 17:12:10 -06:00
Rick Winfrey
29ed06ce9d Add hylomorphism example for Terms 2016-11-18 11:33:47 -06:00
Rick Winfrey
8b7966b6ce Comment formatting 2016-11-18 11:33:27 -06:00
Rick Winfrey
0a794439f7 Mappend values 2016-11-17 17:28:14 -06:00
Rick Winfrey
5bbccf1861 Add catamorphism example showing how to tear down terms into a list of String 2016-11-17 17:26:54 -06:00
Rick Winfrey
90ba2a73ab Add anamorphism example showing how to construct terms from strings 2016-11-17 17:26:32 -06:00
Rick Winfrey
c093eb6838 Formatting changes 2016-11-17 17:25:40 -06:00
Rick Winfrey
766a7236b8 Add catamorphism example 2016-11-17 16:17:45 -06:00
Rick Winfrey
ab4b56dcd8 Add FDoc.RecursionSchemes and anamorphism example 2016-11-17 16:17:09 -06:00
Rick Winfrey
154f88532e Add syntax functions for indexed terms in both Cofree and CofreeF shapes 2016-11-17 15:00:18 -06:00
Rick Winfrey
33d07755c1 Add leafTerm documentation function
- Describe Cofree shape
- Describe helper functions for Cofree
2016-11-17 14:47:36 -06:00
Rick Winfrey
7efc0dad6d Add leafTermF documentation function
- Describe the shape of CofreeF
- Describe helper functions
2016-11-17 14:47:08 -06:00
Timothy Clem
c4df3ec5ab Some documentation for these parameter types 2016-11-10 12:59:48 -08:00
Timothy Clem
59356c0395 Spell out parameter 2016-11-10 12:55:06 -08:00
Timothy Clem
3f5e78c483 Slightly different approach to hash arg summaries 2016-11-10 12:51:48 -08:00
Timothy Clem
3986e0ae1a Optional parameter error case, note about keyword parameter fall through 2016-11-10 12:51:26 -08:00
Timothy Clem
9ca3308ea4 Updates for new tree-sitter productions 2016-11-10 09:56:36 -08:00
Timothy Clem
4dba510d83 Remove commented out code 2016-11-09 15:13:01 -08:00
Timothy Clem
f62269b7e9 Fill out split categories 2016-11-09 14:38:41 -08:00
Timothy Clem
35dd550533 Keyword and positional params 2016-11-09 13:42:41 -08:00
Timothy Clem
d98d96688d Support keyword and hash arguments in Ruby 2016-11-09 10:48:50 -08:00
Timothy Clem
8d9e864b0a Track changes to ruby rescue productions 2016-11-09 10:48:22 -08:00
Timothy Clem
03f65821ce Clean up guard to use more concise pattern 2016-11-09 10:45:25 -08:00
Timothy Clem
29cbf788cb No need for these now that source ranges are correct 2016-11-07 16:11:30 -08:00
Timothy Clem
41442873e0 Proper source ranges for Negate 2016-11-07 14:23:17 -08:00
Timothy Clem
ba9e0424ff Implement until as a negation of while 2016-11-07 13:33:41 -08:00
Timothy Clem
cafcd8fd91 Implement unless as a Negate syntax 2016-11-07 13:12:53 -08:00
Timothy Clem
363fb62bd7 Remove comment 2016-11-07 13:11:03 -08:00
Timothy Clem
b541a903dd Collapse up Ruby begin with Try syntax 2016-11-07 10:26:59 -08:00
Timothy Clem
ce2dbacde8 s/LastException/RescuedException 2016-11-07 08:00:06 -08:00
Timothy Clem
2b195508fd Streamline block expression 2016-11-04 15:45:26 -07:00
Timothy Clem
463d075879 Refactor ruby case/when into switch/case Syntax and start on elsif 2016-11-04 15:35:09 -07:00
Timothy Clem
961ea9a1de Fix ruby function v. method calls 2016-11-04 14:49:39 -07:00
Timothy Clem
8b425e0a91 Refactor javascript function_call term construction
Not strictly necessary since we always get argument_list productions
(even when there are no args passed), but nice for completeness.
2016-11-04 14:49:22 -07:00
Timothy Clem
5705393b10 Remove Args syntax entirely! 2016-11-04 13:42:06 -07:00
Timothy Clem
46d3066a97 Remove ruby parsing dependence on Args syntax 2016-11-04 13:30:32 -07:00
Timothy Clem
437522f5e1 Remove need for Params syntax 2016-11-04 13:05:28 -07:00
Timothy Clem
4ff0ccf653 New module/ternary test cases, back to broken multiple assignments 2016-11-04 12:57:08 -07:00
Timothy Clem
c02c32ac7c Back to a single Rescue syntax 2016-11-04 12:29:02 -07:00
Timothy Clem
345d4ed12e Squotes on method context summaries 2016-11-04 08:08:45 -07:00
Timothy Clem
c6856025f3 Add params syntax to JSON 2016-11-03 14:37:40 -07:00
Timothy Clem
769413813c Better begin and method declaration parsing and summaries 2016-11-03 14:24:05 -07:00
Timothy Clem
b91f8fc987 s/an/a for when block 2016-11-03 09:35:50 -07:00
Timothy Clem
452d795ddd Merge remote-tracking branch 'origin/master' into more-ruby-parsing 2016-11-03 09:26:35 -07:00
Timothy Clem
4daf39476e Parse rescue modifiers 2016-11-03 09:23:35 -07:00
Timothy Clem
18c7914216 Match Rescue syntax in JSON renderer 2016-11-02 17:23:28 -07:00
Timothy Clem
e09beb4fc7 Remove commented out code 2016-11-02 17:19:31 -07:00