1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
Commit Graph

13295 Commits

Author SHA1 Message Date
Timothy Clem
0fc63cab83 Merge pull request #1152 from github/oh-javascript
JavaScript as a distinct language, but uses TypeScript parser
2017-06-08 12:52:46 -07:00
Timothy Clem
1c2ee1880c Merge branch 'master' into oh-javascript 2017-06-08 11:48:56 -07:00
Rick Winfrey
a595ca5b9f Merge branch 'master' into python-test-fixtures 2017-06-08 11:37:38 -07:00
Rick Winfrey
1dbe97087c Merge pull request #1147 from github/python-simple-statements
Assign Python simple statements
2017-06-08 11:37:25 -07:00
Rick Winfrey
fcedaa1ece Merge branch 'master' into python-test-fixtures 2017-06-08 11:19:33 -07:00
Rick Winfrey
550df8f150 Add newline 2017-06-08 11:17:42 -07:00
Rick Winfrey
d5b90ba483 🔥 redundant parens 2017-06-08 11:16:01 -07:00
Timothy Clem
d5793fc78d JavaScript as a distinct language, but uses TypeScript parser 2017-06-08 11:14:40 -07:00
Rick Winfrey
f059aec454 Update newlines 2017-06-08 11:07:43 -07:00
Rick Winfrey
828011cd1d Merge branch 'master' into python-simple-statements 2017-06-08 10:51:39 -07:00
Rick Winfrey
7ee4f2f3e0 🔥 redundant parens 2017-06-08 10:22:40 -07:00
Rob Rix
15f7f81b54 InUnion -> :< 2017-06-08 13:18:44 -04:00
Rick Winfrey
e4f2fa1f32 Assign raise statements as Throw, with single list node 2017-06-08 10:17:34 -07:00
Rick Winfrey
8c611c1078 Assign exec statement as Call 2017-06-08 10:17:02 -07:00
Rob Rix
cf1bded457 Merge branch 'master' into union-unity 2017-06-08 13:13:59 -04:00
Rob Rix
2147fbe7d8 Merge pull request #1151 from github/markdown-table-of-contents
Markdown table of contents
2017-06-08 13:13:44 -04:00
Rob Rix
711b2f3609 Render Markdown tables of contents. 2017-06-08 12:49:53 -04:00
Rob Rix
5ae5ecd98d Re-export markupSectionAlgebra from Renderer. 2017-06-08 12:48:06 -04:00
Rob Rix
35202f9502 Spacing. 2017-06-08 12:46:48 -04:00
Rob Rix
bb1cad8555 Define an algebra for a markup table of contents with section headings. 2017-06-08 12:42:39 -04:00
Rob Rix
152c1e9530 Use the while combinator to define section assignment. 2017-06-08 12:32:47 -04:00
Rob Rix
9ac5d17acd Define a while combinator. 2017-06-08 12:31:09 -04:00
Rob Rix
d90833e998 Add headings to the export list. 2017-06-08 12:26:41 -04:00
Rob Rix
8862df1b8e Parse Markdown into Sections. 2017-06-08 12:24:29 -04:00
Rob Rix
50b55427f6 Define a Section type. 2017-06-08 12:16:40 -04:00
Rob Rix
17b8fd2636 Merge branch 'master' into union-unity 2017-06-08 11:52:56 -04:00
Rob Rix
8284bccbfe 🔥 Data.Functor.Union. 2017-06-08 11:43:18 -04:00
Rob Rix
5deba93c3e Migrate everything over to Data.Union. 2017-06-08 11:42:57 -04:00
Rob Rix
40a6dc3e82 Define GAlign instances for Data.Union. 2017-06-08 11:42:01 -04:00
Rob Rix
dd9e6819e0 Bump effects for Data.Union instances. 2017-06-08 11:41:31 -04:00
Rob Rix
e4cb8f9329 Merge pull request #1148 from github/abstract-assignment-over-the-input-term-type
Abstract assignment over the input term type
2017-06-08 11:38:39 -04:00
Rob Rix
3f0f24f824 Merge branch 'master' into abstract-assignment-over-the-input-term-type 2017-06-08 10:22:13 -04:00
Timothy Clem
67f1d8936a Merge pull request #1146 from github/add-language-to-parse-response
Return language field in parse JSON response
2017-06-08 07:17:50 -07:00
Timothy Clem
572c24d36d Auto derive ToJSON right in Language.hs 2017-06-08 07:01:03 -07:00
Rob Rix
8695fd3144 List items can contain multiple block elements. 2017-06-08 08:49:51 -04:00
Rob Rix
b019a2b237 Correct the spec. 2017-06-07 20:17:14 -04:00
Rob Rix
571e9fe1aa Alphabetize the languages. 2017-06-07 20:05:16 -04:00
Rob Rix
c1a01b3dd2 Parse Markdown. 2017-06-07 20:04:39 -04:00
Rob Rix
511719b8b6 Diff Markdown. 2017-06-07 20:04:05 -04:00
Rob Rix
ec25974df2 Short-circuit ToC for Markdown.
Later on we’ll want to define tables of contents for markup elements, but we don’t have a way to express their semantic role yet.
2017-06-07 20:02:42 -04:00
Rick Winfrey
833b02b94a Assign exec statements 2017-06-07 17:01:13 -07:00
Rick Winfrey
7cb37aad74 Assign nonlocal statements 2017-06-07 17:00:57 -07:00
Rob Rix
95924c1ba0 Assign HTML blocks. 2017-06-07 20:00:06 -04:00
Rob Rix
ca2394e78a Assign line breaks and soft breaks. 2017-06-07 19:56:54 -04:00
Rob Rix
3e527cd7b8 Add thematic breaks (separators, horizontal rules, lines). 2017-06-07 19:47:46 -04:00
Rob Rix
6d7602dc64 Links’ & images’ titles are optional. 2017-06-07 19:44:22 -04:00
Rob Rix
a2b931c6ac Code blocks have Nothing for the language when it’s not provided. 2017-06-07 19:41:59 -04:00
Rob Rix
33f3871a43 Assign code blocks. 2017-06-07 19:39:35 -04:00
Rob Rix
aea81fe41e Code has an optional language. 2017-06-07 19:37:33 -04:00
Rob Rix
95811013bd Assign inline code. 2017-06-07 19:36:26 -04:00