1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00
Commit Graph

58 Commits

Author SHA1 Message Date
Ayman Nadeem
aee068a8be add semantic-php to ghci-flags 2020-02-11 15:55:12 -05:00
Ayman Nadeem
d94cef94c5 Merge branch 'master' into codegen-migration-leftovers 2020-02-07 17:02:10 -05:00
Patrick Thomson
3e135837fd
Merge pull request #470 from github/macro-madness
Silence REPL macro-redefined warnings from the C compiler.
2020-02-06 14:25:59 -05:00
Patrick Thomson
65e661552b Silence REPL macro-redefined warnings from the C compiler.
In certain cases, use of the REPL can land us in a state where there
are multiple `cabal_macros.h` files being included, leading to
duplicate macro definitions. This does not factor into correctness,
as these duplicates are, well, duplicate definitions, but the warning
is tedious, so this patch passes `-Wno-macro-redefined` to the C compiler.
2020-02-04 18:31:03 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Rob Rix
0e5c97038f
Add a semantic-parse package. 2020-02-04 14:25:39 -05:00
Ayman Nadeem
114316c6c8
Merge pull request #448 from github/my-grate
Migrating ASTs to Semantic 🧀
2020-02-03 16:31:40 -05:00
Patrick Thomson
9aefc3c1a1 Pass -j to script/repl's GHCi flags.
This significantly improves parallelism.
2020-01-31 15:09:09 -05:00
Patrick Thomson
4058cd7b83 Correctly account of the presence of autogen files in build/noopt.
If you have `optimizations: False` in your cabal.project.local (such
as when you're in a tight build-run-debug cycle for some executable or
test suite), the autogenerated cabal_macros and Paths_ files might not
be present in the `build/` folder; if they aren't, we should look in
`build/noopt`.

This patch appears to address an issue I saw where the cabal macros
were being redefined, but I'm not entirely sure why. :/
2020-01-31 11:33:23 -05:00
Ayman Nadeem
75389e0a3a add semantic-codegen to script/ghci-flags 2020-01-31 10:27:27 -05:00
Patrick Thomson
bc3f67a88c Noopt isn't the right thing here. 2020-01-27 10:33:45 -05:00
Patrick Thomson
c9a581b40b Correct script/repl path to autogenerated sources.
This was preventing use of the repl script with any file that had a
dependency on `Semantic.Version`.
2020-01-26 17:51:53 -05:00
Patrick Thomson
aa67c2a15e Alphabetize. 2020-01-17 11:22:08 -05:00
Patrick Thomson
3345967836 Merge remote-tracking branch 'origin/master' into semantic-scope-graph 2020-01-14 15:30:01 -05:00
Rob Rix
87d526f96c
Merge pull request #379 from github/analysis-effects
Analysis effects
2020-01-14 07:27:49 -05:00
Patrick Thomson
2fbd4be90c Add semantic-scope-graph to ghci-flags 2020-01-13 14:06:49 -05:00
Rob Rix
f305c38228
Add semantic-python’s tests to the load paths. 2019-12-20 10:56:51 -05:00
Rob Rix
537f3c38da
Move the cabal build call into script/repl.
Doing it in script/ghci-flags means it has to be silent, which is super confusing/surprising.

Doing it in script/repl means we can see what it’s up to.
2019-12-20 10:44:02 -05:00
Timothy Clem
b2ef8e9fe1 Add semantic-tsx 2019-12-19 15:34:39 -08:00
Timothy Clem
e4bf165276 Add semantic-typescript 2019-12-19 14:32:45 -08:00
Timothy Clem
80ab58bd7f Introduce semantic-go 2019-12-18 13:52:22 -08:00
Timothy Clem
1aea6200dd Merge remote-tracking branch 'origin/master' into test-precise-parsing 2019-12-18 11:09:05 -08:00
Rob Rix
b49986a29e
📝 the flags. 2019-12-18 09:12:38 -05:00
Rob Rix
db07534694
Add a TODO. 2019-12-18 09:10:33 -05:00
Rob Rix
d2f539f59f
Keep the include paths together. 2019-12-18 09:07:01 -05:00
Rob Rix
4b8f044aab
📝 the initial build. 2019-12-18 09:05:44 -05:00
Rob Rix
75cc0ffe0a
Move the preprocessor options up. 2019-12-18 09:04:01 -05:00
Rob Rix
97a616792d
Abbreviate the build products dir. 2019-12-18 09:03:30 -05:00
Rob Rix
fc67e05872
Use relative paths to the src dirs. 2019-12-18 09:01:45 -05:00
Rob Rix
cbb45e4154
Disallow customizing the build dir. 2019-12-18 09:00:23 -05:00
Rob Rix
be39dae6a0
Quote paths when changing directories. 2019-12-18 09:00:13 -05:00
Rob Rix
3621ab3924
Build dependencies before getting the flags. 2019-12-18 08:58:19 -05:00
Rob Rix
9e7cacadb6
Disable star-is-type warnings in 8.8 as well. 2019-12-18 08:56:12 -05:00
Rob Rix
532a983bf9
Build into our own subdir. 2019-12-17 17:43:01 -05:00
Rob Rix
9bd1226774
Conditionalize a couple of warning flags. 2019-12-17 17:33:36 -05:00
Rob Rix
9e8517f73a
Quote the GHC_ENVIRONMENT variable. 2019-12-17 17:32:44 -05:00
Rob Rix
bae8abefe2
📝 the output_file variable. 2019-12-17 17:06:11 -05:00
Rob Rix
45f2e4561e
Disable the missing-deriving-strategies warning in script/repl & ghcide. 2019-12-17 16:54:39 -05:00
Rob Rix
abe0a27c4e
🔥 the package name from the paths.
We’re determining these things ourselves so we don’t need to fuss about that.
2019-12-17 16:51:21 -05:00
Rob Rix
ed455979eb
Write the output to a specified path. 2019-12-17 16:50:26 -05:00
Rob Rix
d0412d7a88
Define an output file variable. 2019-12-17 16:49:45 -05:00
Rob Rix
c93058be1b
Use the forward-compatible alias. 2019-12-17 16:48:47 -05:00
Rob Rix
8aa0ddbc61
Quote the build dir variable. 2019-12-17 16:48:38 -05:00
Timothy Clem
a300fade41 ghci helpers can know about semantic-ruby 2019-12-16 13:57:21 -08:00
Rob Rix
7662ee75f1
Take care not to load semantic-source twice. 2019-11-01 13:44:57 -04:00
Rob Rix
110b1b69e8
Make the output dirs relative to the ghc version. 2019-11-01 12:02:12 -04:00
Rob Rix
8ef9e1434e
Make the output dirs relative to the builddir. 2019-11-01 12:01:42 -04:00
Rob Rix
d41961f193
Move the build products dirs into script/ghci-flags. 2019-11-01 12:01:14 -04:00
Rob Rix
978beb7a11
Revert "Echo any remaining args."
This reverts commit fbe02dab64.
2019-11-01 11:52:32 -04:00
Rob Rix
fbe02dab64
Echo any remaining args. 2019-11-01 11:50:51 -04:00