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

8740 Commits

Author SHA1 Message Date
Rob Rix
e0a9b5681e Stub in a module for array-based jump tables. 2017-08-31 22:07:12 -04:00
Rob Rix
d89d82924a Stub in a module for jump tables. 2017-08-31 22:04:49 -04:00
Rob Rix
14dfcfa170 Attach the error handler to the choice. 2017-08-31 17:34:55 -04:00
Rob Rix
7df83715dd catchError adds handlers to choices. 2017-08-31 16:04:13 -04:00
Rob Rix
3f00e0a1af Add a committed failure handler to choices. 2017-08-31 16:01:52 -04:00
Rob Rix
c82cb8c9e9 Choose holds full assignments. 2017-08-31 15:49:00 -04:00
Rob Rix
0d492cc899 Unpack Alt rules in choices. 2017-08-31 15:16:01 -04:00
Rob Rix
ca16c9c0c3 Rename Jump to Choose. 2017-08-31 14:55:24 -04:00
Rob Rix
7c01239a0d 🔥 Choose nodes. 2017-08-31 14:54:53 -04:00
Rob Rix
3cd2d2b4c2 Always construct Alt nodes in <|>. 2017-08-31 14:53:36 -04:00
Rob Rix
d655429fc0 Only map over populated cells. 2017-08-31 12:38:04 -04:00
Rob Rix
38ec3182e8 symbol constructs Jump nodes. 2017-08-31 12:33:24 -04:00
Rob Rix
3e5953c0c2 Construct jump arrays in choice. 2017-08-31 12:21:38 -04:00
Rob Rix
682dfb41e1 Merge overlapping entries in choice. 2017-08-31 11:52:30 -04:00
Rob Rix
9531432789 Use some1 in the Python assignment. 2017-08-31 11:42:41 -04:00
Rob Rix
6ca0bc8077 Avoid dropping rules when merging choices. 2017-08-31 11:40:28 -04:00
Rob Rix
0eab75c320 foldMap the symbols/choices/atEnd. 2017-08-31 11:33:09 -04:00
Rob Rix
e6ccc0106b Select from all the alternatives at end. 2017-08-31 11:14:25 -04:00
Rob Rix
1cec072932 Factor labels in. 2017-08-31 11:05:11 -04:00
Rob Rix
2e671db7e3 Factor catchError in. 2017-08-31 11:03:58 -04:00
Rob Rix
2d65031643 Factor repetitions in. 2017-08-31 11:02:34 -04:00
Rob Rix
0715f8a0b2 Construct a Choose node from a list of Choose nodes. 2017-08-31 11:02:18 -04:00
Rob Rix
90ea2e5193 Use choice to construct the expression table. 2017-08-31 10:53:54 -04:00
Rob Rix
e06a8f1fbc Use asum to construct infix context. 2017-08-31 10:52:49 -04:00
Rob Rix
7b16cd4ddf Build the expression choice with the choose operator. 2017-08-31 10:11:47 -04:00
Rob Rix
52248fcbd4 Add an operator to explicitly construct a Choose node. 2017-08-31 10:02:52 -04:00
Rob Rix
4c38049e2f Merge branch 'master' into update-python-assignment 2017-08-25 13:21:32 -04:00
Rob Rix
84aaba64d9 Add a convenience to read a file and guess its language. 2017-08-25 12:25:18 -04:00
Rob Rix
c7b7d1516e Define a pretty-printing convenience. 2017-08-25 12:23:22 -04:00
Rob Rix
b318e31b2b Stub in a Semantic.Util module. 2017-08-25 12:22:22 -04:00
Rob Rix
9a370137df Define prettyBytes once for all syntax modules. 2017-08-25 12:20:17 -04:00
Rick Winfrey
0afabb1183 Bump Python grammar 2017-08-24 16:34:31 -07:00
Rick Winfrey
b6bf941ae9 🔥 no longer valid symbols 2017-08-24 16:23:13 -07:00
Rick Winfrey
3eded7f4eb 🔥 argument 2017-08-24 16:22:59 -07:00
Rick Winfrey
6a2994f701 Update everything for new assignments 2017-08-24 16:22:45 -07:00
Rick Winfrey
8609e7dced Assign parenthesizedExpression 2017-08-24 16:22:21 -07:00
Rick Winfrey
9a91b19d25 Assign keywordArgument 2017-08-24 16:22:12 -07:00
Rick Winfrey
f8e5e939be Assign dictionarySplat 2017-08-24 16:22:03 -07:00
Rick Winfrey
840bef4fbf Assign listSplat 2017-08-24 16:21:55 -07:00
Rob Rix
3cf40a72e1 Fix the fix to Syntax’ Pretty1 instance. 2017-08-23 12:10:31 -04:00
Rob Rix
7c89e45c53 Add GAlign to the deriving clause. 2017-08-23 12:10:24 -04:00
Rob Rix
0d9b29f6b6 Fix Syntax’ Pretty1 instance. 2017-08-23 12:09:22 -04:00
Rob Rix
622a7b714a Give explicit (generic) definitions of liftPretty for all the syntax types. 2017-08-23 12:08:04 -04:00
Rob Rix
13df366dcd Define Patch’s Pretty1 instance generically. 2017-08-23 12:07:39 -04:00
Rob Rix
2c722a59c7 Define a Generic1 instance for Patch. 2017-08-23 12:07:26 -04:00
Rob Rix
562be941fe Fix up a few manual instances. 2017-08-23 11:52:00 -04:00
Rob Rix
fdd12d4718 Fix up all of the imports. 2017-08-23 11:49:43 -04:00
Rob Rix
9edec90492 Re-export the whole module. 2017-08-23 11:49:29 -04:00
Rob Rix
520212bc34 Give a generic implementation for liftPretty. 2017-08-23 11:48:12 -04:00
Rob Rix
994789eaaf Add generic implementations. 2017-08-23 11:42:54 -04:00