1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 03:09:48 +03:00
Commit Graph

33678 Commits

Author SHA1 Message Date
Ayman Nadeem
5710c22c88 add a note to update Core 2020-05-20 13:52:53 -04:00
Ayman Nadeem
437ddcaeb1 comment out semantic-core 2020-05-20 13:52:36 -04:00
Ayman Nadeem
bf582cab75 comment out graphing tests that rely on core 2020-05-20 13:52:29 -04:00
Patrick Thomson
117fb20ea7 Make sure cached artifacts kick in 2020-05-20 13:50:49 -04:00
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
Ayman Nadeem
58ee3fb70d temporarily comment out import and instance that uses ScopeGraph 2020-05-20 11:32:24 -04:00
Ayman Nadeem
82b2eed1d8 comment out scope graph stuff from semantic-python.cabal 2020-05-20 11:07:47 -04:00
Ayman Nadeem
dbfa4f69b2 Add note to update file to accommodate new AST shapes 2020-05-20 11:06:41 -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
Ayman Nadeem
d8322554dc wrap body and condition in Py.IfStatement 2020-05-20 11:05:11 -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
Alexei Pastuchov
62c804675e semantic-rust should run corpus tests for macros.txt 2020-05-20 11:40:44 +02:00
Alexei Pastuchov
a3c49edd31 improvement of AST.Test.exampleParser
implement outputSepParser in the way tree-sitter do it.
See
e8e80b1cf1/cli/src/test.rs (L20)
2020-05-20 11:39:53 +02:00
Ayman Nadeem
44b880eae4 add error to body of Py.FunctionDefinition instance 2020-05-19 12:35:48 -04:00
Ayman Nadeem
d9a4b12e3d add error to name and parameters for FunctionDefinition 2020-05-19 12:33:08 -04:00
Ayman Nadeem
9732eed037 fix Py.ElsifClause instance of ToScopeGraph 2020-05-19 12:31:00 -04:00
Ayman Nadeem
954e316d4b update ToScopeGraph Py.Call instance to include Error 2020-05-19 12:12:55 -04:00
Ayman Nadeem
1ed3bd0c31 update ToScopeGraph instance for Py.Assignment to include Error 2020-05-19 11:45:57 -04:00
Josh Vera
25afb3fbb9
Merge pull request #551 from p-alik/semantic-rust
Semantic rust
2020-05-19 11:34:04 -04:00
Ayman Nadeem
091172bcb2 Merge branch 'master' into codegen-cleanup 2020-05-19 10:57:24 -04:00
Ayman Nadeem
9e3efda397 fix test in Language.Python.Patterns 2020-05-19 10:44: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
Ayman Nadeem
b0cf616fa6 silence Python warnings 2020-05-18 19:11:21 -04:00
Ayman Nadeem
d00c95e9f5 hushing more warnings 2020-05-18 19:05:18 -04:00
Ayman Nadeem
4d0a1151af move AST.Parse import 2020-05-18 18:30:13 -04:00
Ayman Nadeem
825266b8ee don't warn on incomplete patterns 2020-05-18 18:29:56 -04: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
Ayman Nadeem
23df2d5316 Rb.Assignment 2020-05-13 14:34:19 -04:00
Ayman Nadeem
83b3c6a0a0 fix introduceLocals 2020-05-13 12:59:30 -04:00
Ayman Nadeem
684adce47e block paramers 2020-05-13 12:48:34 -04:00
Ayman Nadeem
ca6581f92d add error type to introduce locals 2020-05-13 12:48:22 -04:00
Ayman Nadeem
8adc649148 Rb.OperatorAssignment 2020-05-13 12:15:39 -04:00
Ayman Nadeem
b4fd39a156 update introduceLocals helper function 2020-05-13 11:34:07 -04:00
Ayman Nadeem
3c1782b311 Rb.Undef 2020-05-13 11:33:28 -04:00
Ayman Nadeem
2443b52ee6 Rb.MethodCall 2020-05-13 11:33:22 -04:00
Ayman Nadeem
e2d2ae229d Rb.Until 2020-05-13 11:33:13 -04:00
Ayman Nadeem
9220bb88c5 Rb.While 2020-05-13 11:33:07 -04:00
Ayman Nadeem
7e4d8b2fbb Rb.Unless 2020-05-13 11:32:51 -04:00
Ayman Nadeem
5fb36f4386 Rb.If 2020-05-13 11:32:46 -04:00
Ayman Nadeem
2854bb8e87 Rb.Lambda 2020-05-13 11:32:35 -04:00