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

13094 Commits

Author SHA1 Message Date
Rob Rix
156e237487 Rename the filter function. 2017-05-24 13:26:15 -04:00
Rob Rix
c7849ea9dc Factor out the filter on the unmapped lists. 2017-05-24 13:25:27 -04:00
Rob Rix
c5d5125218 Check if there is a better match within defaultMoveBound steps. 2017-05-24 13:22:54 -04:00
Rob Rix
111bc3cd0a Revert "Carry along the previous index along both sides."
This reverts commit 044d5e5e0fa8dc6c1cc5cd46c8abfdaa36e765d9.
2017-05-24 13:12:05 -04:00
Rob Rix
aa673f5be8 Revert "Insertions update the index in B."
This reverts commit 9b0471d14fd743e4b6209b25b681d6f9ba0e0828.
2017-05-24 13:11:48 -04:00
Rob Rix
0e3c579e26 Insertions update the index in B. 2017-05-24 13:07:15 -04:00
Rob Rix
d10abdfc52 Carry along the previous index along both sides. 2017-05-24 12:49:14 -04:00
Rob Rix
841fca2c19 Decorate JSON diffs with identifiers. 2017-05-24 12:45:24 -04:00
Rob Rix
ba4f07f2c7 Export the identifier decorator. 2017-05-24 12:45:12 -04:00
Rob Rix
32236373b5 Extract the identifier decorator. 2017-05-24 12:45:05 -04:00
Rob Rix
7ee5a54787 Derive an NFData instance for Identifier. 2017-05-24 12:44:52 -04:00
Rob Rix
f7a77231d7 Limit reverse RWS matches to the move bounds. 2017-05-24 09:54:46 -04:00
Rob Rix
c4c2cd08f5 Atom didn’t like this extra newline. 2017-05-24 09:54:04 -04:00
Timothy Clem
2202c5d72a Merge pull request #1134 from github/allow-null-before-after
Properly handle null before/after in input JSON
2017-05-23 12:13:00 -07:00
Timothy Clem
9f78381072 Little bit cleaner parseJSON 2017-05-23 12:10:30 -07:00
Timothy Clem
06d1b97fa9 Always with the imports 2017-05-23 11:02:49 -07:00
Timothy Clem
316169bab1 Properly handle null before/after in input JSON 2017-05-23 11:00:20 -07:00
Rob Rix
ea66ee5bc7 Merge pull request #1129 from github/parser-abstraction
Parser abstraction
2017-05-19 18:46:25 -04:00
Rob Rix
8f8bb7e2ea Define a pythonParser convenience. 2017-05-19 18:42:31 -04:00
Rob Rix
cf46ef6c57 Define an export list for Python. 2017-05-19 18:24:34 -04:00
Rob Rix
97b7c0f025 Top-level Python assignment produces a single root term. 2017-05-19 18:24:22 -04:00
Rob Rix
2c8e7892fe Merge branch 'master' into parser-abstraction 2017-05-19 18:23:47 -04:00
Rob Rix
916f97791c Show errors. 2017-05-19 18:17:39 -04:00
Rob Rix
f051ea13a7 Define a shorthand for the Ruby parser. 2017-05-19 18:17:21 -04:00
Rob Rix
cb0bf3eb7b Export the list of syntax types. 2017-05-19 18:17:02 -04:00
Rick Winfrey
f86d24181d Merge pull request #1115 from github/python-assignment
Python assignment #1
2017-05-19 15:02:59 -07:00
Rick Winfrey
3b46518e54 Can't <$ in place of <$> 2017-05-19 14:58:01 -07:00
Rick Winfrey
a8e0ef9874 Merge branch 'python-assignment' of github.com:github/semantic-diff into python-assignment 2017-05-19 14:47:26 -07:00
Rick Winfrey
6c63e0a4dc 🔥 unnecessary location 2017-05-19 14:46:54 -07:00
Rick Winfrey
90de13685c 🔥 unnecessary lambda 2017-05-19 14:44:24 -07:00
Rick Winfrey
700621be81 _ <$> _ <$> -> _ . _ <$> 2017-05-19 14:44:04 -07:00
Rick Winfrey
2ef76f1865 🔥 true and false assignments (already covered by boolean) 2017-05-19 14:43:24 -07:00
Rob Rix
7444251bda Merge branch 'master' into parser-abstraction 2017-05-19 17:36:09 -04:00
Rob Rix
d40f45acd5 Merge branch 'master' into python-assignment 2017-05-19 17:35:40 -04:00
Rick Winfrey
6216cfcec4 Merge pull request #1131 from github/technicolour
Technicolour
2017-05-19 14:34:05 -07:00
Rob Rix
8679b82859 Bracket the cleanup of the document in treeSitterParser.
🎩 @rewinfrey for the reminder.
2017-05-19 17:28:36 -04:00
Rob Rix
76c8d0e3e5 Print the caret in green. 2017-05-19 16:13:18 -04:00
Rob Rix
c4df6adec3 Take an optional path. 2017-05-19 16:12:29 -04:00
Rob Rix
29792357ba Print the source. We don’t have any, so just guess really. 2017-05-19 16:11:12 -04:00
Rob Rix
5e88098782 Bold the source line/column. 2017-05-19 16:11:02 -04:00
Rob Rix
fa3407f045 withSGRCode takes a ShowS. 2017-05-19 16:08:20 -04:00
Rob Rix
aca843ed3f Add some combinators for working with SGR codes. 2017-05-19 16:07:30 -04:00
Rob Rix
8ab1c25f30 Output the error message in red. 2017-05-19 16:03:44 -04:00
Rick Winfrey
9519e557be Reorder error message to add callstack after the error syntax node 2017-05-19 16:01:12 -04:00
Rob Rix
d921337dae Represent the tree-sitter parsers with a single constructor. 2017-05-19 15:39:03 -04:00
Rob Rix
9bffdfbb3d Merge branch 'master' into r-o-a-d-m-a-p 2017-05-19 15:10:54 -04:00
Rob Rix
1a80dcf2ce 📝 MarkdownParser. 2017-05-19 13:53:58 -04:00
Rob Rix
71236acb67 📝 the tree-sitter parsers. 2017-05-19 13:53:28 -04:00
Rob Rix
db892e66f4 📝 LineByLineParser. 2017-05-19 13:51:46 -04:00
Rob Rix
dc90ebf129 📝 the AssignmentParser fields. 2017-05-19 13:50:50 -04:00