1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00
Commit Graph

21800 Commits

Author SHA1 Message Date
Timothy Clem
72917bc3e7 Stub out JavaScript prelude 2018-05-16 10:55:58 -07:00
Timothy Clem
7137c057b4 Fix up example a bit 2018-05-16 10:43:38 -07:00
Timothy Clem
aa9eb68045 Fully construct PackageInfo here 2018-05-16 10:34:17 -07:00
Timothy Clem
c6fece1931 JavaScript and TypeScript NodeJS resolution looks at package.json now 2018-05-16 10:26:10 -07:00
Timothy Clem
32bf6a2cbf Need to have a special helper for JavaScript to get the project language right 2018-05-16 10:21:39 -07:00
Timothy Clem
453f60ee36 Some example js code for various module require/resolution options 2018-05-16 10:21:24 -07:00
Timothy Clem
6bfba22d85 Anchor these paths to our relative directory structure 2018-05-16 10:21:04 -07:00
Timothy Clem
ec73c60274 Docs 2018-05-16 10:20:21 -07:00
Timothy Clem
f81ea4bff5 s/File/Project b/c that makes more sense to me 2018-05-16 08:38:00 -07:00
Timothy Clem
5ca452df39 Not using readBlobsFromPaths 2018-05-15 16:00:52 -07:00
Timothy Clem
3e5b4d5dbb Merge remote-tracking branch 'origin/master' into package-dot-json-parsing 2018-05-15 15:58:19 -07:00
Timothy Clem
7cd1d0ea99 Build a resolution map along with creating a Package 2018-05-15 15:50:09 -07:00
Rob Rix
9654f9bc1a Merge pull request #1833 from github/graph-rendering-and-serialization
Graph rendering and serialization
2018-05-15 18:38:09 -04:00
Rob Rix
1da6ac107a Reformat the signature for termAlgebra. 2018-05-15 18:29:39 -04:00
Rob Rix
0d86e6a64e Define diffTermPair using these. 2018-05-15 18:29:04 -04:00
Timothy Clem
a0d24106a4 Interface changed here, runResolution manually 2018-05-15 15:19:10 -07:00
Timothy Clem
4ef324f512 Merge remote-tracking branch 'origin/master' into package-dot-json-parsing 2018-05-15 15:04:13 -07:00
Rob Rix
3abc2da9df Merge branch 'master' into graph-rendering-and-serialization 2018-05-15 13:01:40 -04:00
Timothy Clem
a1608bbdd9 Merge pull request #1837 from github/tree-sitter-ruby-fix
++tree-sitter-ruby for infinite loop fix
2018-05-15 09:03:56 -07:00
Timothy Clem
41f230a46a ++tree-sitter-ruby for infinite loop fix 2018-05-15 08:17:48 -07:00
Rob Rix
d957ca989f Merge branch 'master' into graph-rendering-and-serialization 2018-05-15 11:02:58 -04:00
Rob Rix
f82094d70b Merge pull request #1836 from github/no-trace
No tracing b/c it breaks output
2018-05-15 11:01:47 -04:00
Rob Rix
e63351affd 🔥 SomeRenderer. 2018-05-14 18:44:53 -04:00
Rob Rix
367982bc8d Don’t use SomeRenderer in the CLI spec. 2018-05-14 18:44:19 -04:00
Rob Rix
16f07a17d1 🔥 Output. 2018-05-14 18:40:22 -04:00
Rob Rix
84ea29a60b Fix the tests. 2018-05-14 18:39:41 -04:00
Rob Rix
bf0d8e1b12 Move diffTerms into the where clause. 2018-05-14 18:39:20 -04:00
Rob Rix
b9cd02d8f1 Move runDiff into Semantic.Diff. 2018-05-14 18:25:47 -04:00
Timothy Clem
628aa27ccb No tracing b/c it breaks output 2018-05-14 15:19:09 -07:00
Rob Rix
938f08998b Rename withParsedBlob to withParsedBlobs. 2018-05-14 17:09:35 -04:00
Rob Rix
978abee421 🔥 a redundant constraint. 2018-05-14 17:07:59 -04:00
Rob Rix
e9f64a3181 Bind left to right. 2018-05-14 17:05:31 -04:00
Rob Rix
96d1c877a1 Rename the import of Semantic.Diff. 2018-05-14 17:04:27 -04:00
Rob Rix
89456551b2 Separate rendering & serialization for parsing. 2018-05-14 17:02:59 -04:00
Rob Rix
adb2b6e8aa Move withSomeTerm into parseBlob. 2018-05-14 16:36:02 -04:00
Rob Rix
b72856d3b3 Export Vertex & DiffTag. 2018-05-14 16:35:01 -04:00
Rob Rix
1fb6359497 The serializers already produce Builders. 2018-05-14 16:27:48 -04:00
Rob Rix
f047b57ecc Encoding order is significant. 2018-05-14 16:18:57 -04:00
Rob Rix
a4f7f44394 Fix some copypasta. 2018-05-14 16:12:26 -04:00
Rob Rix
03749d008e We can just say diff now. 2018-05-14 16:11:31 -04:00
Rob Rix
5bae88724b Move the diffTermPair tests into the interpreter spec. 2018-05-14 16:09:39 -04:00
Rob Rix
0c9e8be58d Refactor the JSON stuff to use type-level keys. 2018-05-14 15:58:29 -04:00
Rob Rix
842f902b41 Rename JSONTerms to JSONTrees. 2018-05-14 15:33:40 -04:00
Rob Rix
556c70317b Abstract over ToJSON instances. 2018-05-14 15:32:47 -04:00
Rob Rix
f387637e77 Serialize to JSON. 2018-05-14 15:12:37 -04:00
Rob Rix
274c9ffd84 Render ASTs to JSON using an intermediate datatype. 2018-05-14 15:10:50 -04:00
Rob Rix
24fc5ab8d8 JSON serialization appends a newline. 2018-05-14 15:04:06 -04:00
Rob Rix
f549a7bbc1 Tidy up the CLI module. 2018-05-14 14:58:21 -04:00
Rob Rix
8d190c2930 Factor the ts-parse command into its own module. 2018-05-14 14:57:19 -04:00
Rob Rix
5601c80408 🔥 redundant parens. 2018-05-14 14:20:32 -04:00