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

11608 Commits

Author SHA1 Message Date
Rob Rix
315c5e6e9b Use the Program rule at the top level. 2017-04-05 16:17:04 -04:00
Rob Rix
25fd886dfb Generalize the type of children. 2017-04-05 16:16:50 -04:00
Rob Rix
9a82e14e9e Define assignment for if statements. 2017-04-05 16:14:57 -04:00
Rob Rix
70f0c29758 Define assignment of a child term. 2017-04-05 16:14:48 -04:00
Rob Rix
a9ce523c47 Define a comment assignment. 2017-04-05 16:02:26 -04:00
Rob Rix
696ea064db Define an assignment term producing a node’s children. 2017-04-05 16:02:16 -04:00
Rob Rix
1f89f7f3ed Define an assignment term producing a node’s content. 2017-04-05 16:02:02 -04:00
Rob Rix
683f701811 Define a Semigroup instance for Assignment. 2017-04-05 16:01:42 -04:00
Rob Rix
432474b8c5 Add true/false to the grammar. 2017-04-05 16:00:43 -04:00
Rob Rix
0ca4263b43 Clarify the 📝 for assignment. 2017-04-05 14:54:58 -04:00
Rob Rix
63ed6036ed Derive Enum, Eq, Ord, & Show instances for the Ruby Grammar type. 2017-04-05 14:53:02 -04:00
Rob Rix
5a57c87a88 Add some more rules. 2017-04-05 14:49:58 -04:00
Rob Rix
6f3d17f937 Rename the syntax type. 2017-04-05 14:49:21 -04:00
Rob Rix
1c4b5b394e Rename the Rule type and constructors. 2017-04-05 14:49:00 -04:00
Rob Rix
91f85d3dfd Stub in assignment onto Ruby programs. 2017-04-05 14:26:55 -04:00
Rob Rix
c56ac0d0f9 Extend the Ruby syntax definition a little. 2017-04-05 14:01:36 -04:00
Rob Rix
5dd64723ac Move the Ruby type into its own module. 2017-04-05 14:00:47 -04:00
Rob Rix
28acaef678 Stub in a module for Ruby syntax. 2017-04-05 13:59:03 -04:00
Rob Rix
cf4f532bce Rename the literals; namespacing will suffice. 2017-04-05 13:46:00 -04:00
Rob Rix
2a8b8869ca Stub in a datatype for Ruby syntax. 2017-04-05 13:32:20 -04:00
Rob Rix
1b97a01bfb Merge branch 'master' into syntax-a-la-carte 2017-04-05 13:27:08 -04:00
Rob Rix
cf461facd7 Merge branch 'master' into command-dsl 2017-04-05 12:14:28 -04:00
Rob Rix
40f5f95e24 🔥 redundant imports. 2017-04-05 12:14:14 -04:00
Rob Rix
2e6376c655 Test that we parse in the specified language. 2017-04-05 11:44:10 -04:00
Rob Rix
6feeba197d Test that we fall back to line by line parsing. 2017-04-05 11:42:06 -04:00
Rob Rix
0063736924 Move the fixtures into the where clause. 2017-04-05 11:37:09 -04:00
Rob Rix
975856b00b Test that we get sensible results if we ask for nonexistent paths. 2017-04-05 11:34:52 -04:00
Rob Rix
ee12abb597 Test that we get the right blobs when we ask for specific paths. 2017-04-05 11:33:30 -04:00
Rob Rix
7d6c92dd34 Extract the expected state into a fixture type. 2017-04-05 11:33:21 -04:00
Rob Rix
9ec60d5ff4 Test that readFilesAtSHAs will fetch all paths if none are specified. 2017-04-05 11:23:13 -04:00
Rob Rix
a0a14dc859 Test that readFile returns Nothing for missing files. 2017-04-05 11:12:03 -04:00
Rob Rix
e67832ff78 Test that reading an extant file produces a blob with the appropriate path. 2017-04-05 11:11:09 -04:00
Rob Rix
7b6bf4f42b Stub in a spec. 2017-04-05 11:10:23 -04:00
Rob Rix
e962b27a3c Stub in a module for a Command spec. 2017-04-05 11:04:15 -04:00
Rob Rix
c6dc41e63b Open the repo multiple times, concurrently. 2017-04-05 10:20:11 -04:00
Rob Rix
42cd9e35ff Extract how we get blobs. 2017-04-05 09:41:31 -04:00
Rob Rix
acbe324a77 🔥 the trace events (for now). 2017-04-05 09:39:31 -04:00
Rob Rix
c9175254e7 Abstract out running a git command with alternate object dirs. 2017-04-05 09:38:18 -04:00
Josh Vera
613f8783ad Merge pull request #1071 from github/bump-gitlib
Bump gitlib
2017-04-04 19:23:47 -04:00
Rick Winfrey
d1225dc823 Bump gitlib 2017-04-04 16:21:23 -07:00
Rob Rix
5f1f82fb33 Define a MonadIO instance for Command. 2017-04-04 15:54:27 -04:00
Rob Rix
0762ff3408 Define a combinator to run a number of commands concurrently. 2017-04-04 15:46:51 -04:00
Rob Rix
31ffb0e640 🔥 a TODO. 2017-04-04 12:45:12 -04:00
Rob Rix
b304c7a1e2 Bump haskell-tree-sitter for faster FFI calls. 2017-04-04 12:33:42 -04:00
Rob Rix
a456af01e1 Our languages don’t call into Haskell. 2017-04-04 12:33:12 -04:00
Josh Vera
c5af0df5cf Merge pull request #1069 from github/bump-gitlib
bump gitlib for libgit2 0.25.1
2017-04-04 12:26:31 -04:00
joshvera
9c4f20e634 bump gitlib for libgit2 0.25.1 2017-04-04 11:08:51 -04:00
Rob Rix
f4f83895f6 Evaluate terms in parallel. 2017-04-04 11:00:37 -04:00
Rob Rix
b4d72cc62c Evaluate diffs in parallel. 2017-04-04 10:57:18 -04:00
Rob Rix
35cdc611ad Read files at SHAs in Both. 2017-04-04 10:46:04 -04:00