1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00
Commit Graph

33430 Commits

Author SHA1 Message Date
Patrick Thomson
55494f9311 One too many characters in the matching clause. 2020-05-20 11:54:58 -04:00
Patrick Thomson
564ded558e Fix syntax errors. 2020-05-20 11:52:23 -04:00
Patrick Thomson
0fa0a63b0d Dynamically change cache keys based on cabal files' hash.
The problem with our caching approach up until now is that we've been
hitting Actions caches too often. As we `cabal update` and `cabal
configure`, our build plan strays farther and farther from what's
present in the cache, resulting in more and more cache missed from
`cabal`. The fix here is to hash a file that's changed reasonably
often and to use that to key the caches, falling back on the most
recently used cache present on a miss.
2020-05-20 11:51:07 -04:00
Patrick Thomson
e0de83cece
Merge pull request #556 from github/smarter-caching
Try new approach to caching.
2020-05-20 11:05:15 -04:00
Patrick Thomson
700197f993 See if we can elide other caches. 2020-05-20 10:41:56 -04:00
Patrick Thomson
e6933b2792 Revert. 2020-05-20 10:38:28 -04:00
Patrick Thomson
51e765b6ca See if eliding the configuration step will help builds. 2020-05-20 10:33:09 -04:00
Patrick Thomson
9175a64705 Test caching. 2020-05-20 10:20:42 -04:00
Patrick Thomson
731c8022f3 Change key so we don't get a false cache hit. 2020-05-20 09:31:48 -04:00
Patrick Thomson
f7169955bb Try new approach to caching. 2020-05-20 09:06:33 -04:00
Josh Vera
25afb3fbb9
Merge pull request #551 from p-alik/semantic-rust
Semantic rust
2020-05-19 11:34:04 -04:00
joshvera
4835a5e26a Add corresponding package to cabal.project 2020-05-19 10:44:07 +02:00
Alexei Pastuchov
a399bdde14 exclude expressions and macros from corpus tests 2020-05-19 10:41:33 +02:00
Alexei Pastuchov
d27ba2f40a Readme shows Rust AST example 2020-05-19 07:03:26 +02:00
Josh Vera
a0c45c04ce
Merge pull request #552 from jkachmar/patch-1
Updates unofficial stack configuration information
2020-05-18 16:52:44 -04:00
Joe Kachmar
1f43588cc9
Updates unofficial stack configuration information 2020-05-17 21:32:10 -04:00
Alexei Pastuchov
23eb627561 add semantic-rust into packages list 2020-05-12 21:14:54 +02:00
Alexei Pastuchov
3135848b2e add tree-sitter-rust build dependency 2020-05-12 21:13:41 +02:00
Alexei Pastuchov
cca534906e semantic-rust initial commit 2020-05-12 21:12:05 +02:00
Patrick Thomson
66103a1b99
Merge pull request #546 from github/warn-me-no-more
Fix annoying warning re. inter-project dependencies.
2020-04-30 17:24:20 -04:00
Patrick Thomson
f829708bbd Fix annoying warning re. inter-project dependencies.
Building `semantic-python` would result in a warning like this:

```
Warning: The package has an extraneous version range for a dependency on an
internal library: semantic-python ==0.0.0.0. This version range includes the
current package but isn't needed as the current package's library will always
be used.
```

Removing this indeed-extraneous bound makes it go away.
2020-04-30 17:05:13 -04:00
Timothy Clem
452488ca67
Merge pull request #544 from github/fix-tag-spans
Constrain Loc for tags to the identifer
2020-04-29 12:56:56 -07:00
Timothy Clem
2c94d0a498 Fix up fixtures 2020-04-28 12:08:51 -07:00
Timothy Clem
24f78b50b1 Fix up the spec to assert proper Locs 2020-04-27 13:43:15 -07:00
Timothy Clem
91ddeda1e0 Fix Loc for Java tags 2020-04-27 13:23:09 -07:00
Timothy Clem
a1edfa5753 Whitespace fixes 2020-04-27 13:19:50 -07:00
Timothy Clem
96af592d9d Fix Loc for CodeQL tags 2020-04-27 13:19:45 -07:00
Timothy Clem
6116d24979 Fix Loc for Go tags 2020-04-27 13:19:39 -07:00
Timothy Clem
ec39503c32 Fix Loc for PHP tags 2020-04-27 13:19:33 -07:00
Timothy Clem
9b0f39f4f6 Fix Loc for Python tags 2020-04-27 13:19:28 -07:00
Timothy Clem
cbe7ab894d Fix Loc for Ruby tags 2020-04-27 13:19:19 -07:00
Ayman Nadeem
7d15acebf1
Merge pull request #543 from github/add-diagram
Revamp codegen docs
2020-04-27 12:41:51 -04:00
Ayman Nadeem
df03b302fa make all github links permalinks 2020-04-27 12:34:03 -04:00
Ayman Nadeem
381b9308d5 add new diagram and new explanation 2020-04-27 12:19:12 -04:00
Timothy Clem
b3d7de8b51 Properly separate source line Loc from identifier Loc 2020-04-27 09:14:24 -07:00
Ayman Nadeem
5d0bd42a83 use <pre> instead of <code> 2020-04-27 11:26:26 -04:00
Ayman Nadeem
79c37006cf Update codegen.md 2020-04-24 14:24:03 -04:00
Ayman Nadeem
2d9345ec39 Update codegen.md 2020-04-24 13:56:50 -04:00
Ayman Nadeem
a895c0a0a9 context for codegen 2020-04-24 13:56:44 -04:00
Ayman Nadeem
54cec8d188 heading 2020-04-24 13:56:37 -04:00
Ayman Nadeem
5e95f6fad5 This is now in Grammar.Examples 2020-04-24 13:56:30 -04:00
Ayman Nadeem
633cac77cb headings 2020-04-24 13:56:10 -04:00
Ayman Nadeem
80e5b05eb0 format table of contents 2020-04-24 13:55:53 -04:00
Ayman Nadeem
ebc680f039 Update codegen.md 2020-04-24 13:55:40 -04:00
Ayman Nadeem
1892b303df add instruction to read adding-a-new-language doc 2020-04-24 13:46:24 -04:00
Ayman Nadeem
00717435ce toc should be upfront 2020-04-24 13:45:58 -04:00
Ayman Nadeem
b23c72d3b8 move this example under section discussing generating syntax 2020-04-24 13:45:34 -04:00
Ayman Nadeem
2796a6ff87 update links to point to Semantic instead of tree-sitter 2020-04-24 13:45:00 -04:00
Ayman Nadeem
55e91a4af4 🚮 2020-04-24 13:38:52 -04:00
Ayman Nadeem
eca92367e2 this is covered in adding-a-new-language 2020-04-24 13:38:10 -04:00