Ayman Nadeem
e97daf47d5
I want to specify format first
2019-10-11 13:10:01 -04:00
Ayman Nadeem
7d6740224b
move format in SemanticAST
2019-10-11 13:09:37 -04:00
Patrick Thomson
c4047af778
Merge branch 'master' into hack-for-hack
2019-10-11 13:08:11 -04:00
Patrick Thomson
a398fa05a6
Merge pull request #327 from github/core-factoring
...
Core factoring
2019-10-11 13:07:57 -04:00
Ayman Nadeem
0b6e3d5b3a
parseAST handles this
2019-10-11 13:05:31 -04:00
Ayman Nadeem
7e358a8c2e
parseAST handles this
2019-10-11 13:05:09 -04:00
Ayman Nadeem
08cbd88e71
will need to replace this with alternation above
2019-10-11 13:04:40 -04:00
Rob Rix
3a464355bd
semantic-python’s tests depend on semantic-analysis.
2019-10-11 12:56:44 -04:00
Rob Rix
740a3ca1a9
Core’s tests depend on semantic-analysis.
2019-10-11 12:55:23 -04:00
Rob Rix
6d5583131d
🔥 semantic-analysis doctests.
2019-10-11 12:54:29 -04:00
Rob Rix
7f857c8c58
🔥 a doctest we can’t run.
2019-10-11 12:54:21 -04:00
Rob Rix
9e31fc1f9b
semantic-core no longer has doctests.
2019-10-11 12:53:36 -04:00
Rob Rix
d20cbead89
Remove the Analysis.* and Control.* hierarchies from semantic-core.
2019-10-11 12:52:32 -04:00
Rob Rix
052eb88231
🔥 a couple of redundant dependencies.
2019-10-11 12:52:18 -04:00
Ayman Nadeem
db9e7da48f
this has been subsumed by SemanticAST
2019-10-11 12:50:37 -04:00
Ayman Nadeem
cf609451ae
lord forgive me for this nested case statement
2019-10-11 12:49:57 -04:00
Rob Rix
284c1ae4f8
Copy the Analysis.* and Control.* hierarchies into semantic-analysis.
2019-10-11 12:49:37 -04:00
Ayman Nadeem
5d4b34b39b
downstream impact of changing datatype fields
2019-10-11 12:49:16 -04:00
Ayman Nadeem
9afcf11b83
this means sourceString now has to be an option
2019-10-11 12:48:53 -04:00
Ayman Nadeem
b2f2340c4c
include both inputs in SemanticAST
2019-10-11 12:48:40 -04:00
Rob Rix
71a6331c7a
Stub in a package for analysis.
2019-10-11 12:42:49 -04:00
Rob Rix
6bac8d2770
How did this ever work? What does it even do?
2019-10-11 12:42:21 -04:00
Rob Rix
85d09b5116
Rename Core.File to Analysis.File.
2019-10-11 12:37:11 -04:00
Rob Rix
91f46f5128
Correct another import.
2019-10-11 12:23:13 -04:00
Rob Rix
94fc6100d6
Correct a couple of instances.
2019-10-11 12:23:09 -04:00
Rob Rix
5f9787f21c
Correct an import.
2019-10-11 12:22:12 -04:00
Patrick Thomson
94caaab09e
Add test cases so this doesn't happen again.
2019-10-11 12:21:35 -04:00
Rob Rix
6bfd33e7bc
Correct the import.
2019-10-11 12:21:04 -04:00
Rob Rix
3700cb5106
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:20:53 -04:00
Rob Rix
7c2ac87ff3
Correct the doctest.
2019-10-11 12:19:37 -04:00
Patrick Thomson
78d7ba126b
Make languageForFilePath work for .php files.
...
As reported in #330 , we're currently dying in `languageForFilePath`
because `lingo` is giving us back Hack when we expect PHP. This is a
pretty bad bug, so here's a temporary workaround for the issue. Once
https://github.com/tclem/lingo-haskell/issues/3 is fixed, we can
remove this workaround.
Fixes #330 .
2019-10-11 12:16:17 -04:00
Rob Rix
5ef4ecdde9
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:15:39 -04:00
Rob Rix
7554271e2d
toString.
2019-10-11 12:14:58 -04:00
Rob Rix
a05bb26c9f
Use Path.toString instead of show.
2019-10-11 12:13:57 -04:00
Rob Rix
7d52293e13
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:12:35 -04:00
Rob Rix
f3b3a32f8a
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 12:12:25 -04:00
Rob Rix
a278c9daab
Import eval.
2019-10-11 12:11:30 -04:00
Rob Rix
d78c3ddc9e
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 11:51:46 -04:00
Rob Rix
37b723aa81
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 11:51:34 -04:00
Rob Rix
68b3286796
Merge branch 'master' into core-factoring
2019-10-11 11:51:17 -04:00
Patrick Thomson
2b3acea5fb
Add unit tests.
2019-10-11 11:50:22 -04:00
Rob Rix
b77a3b8058
Enable flexible contexts for the doctest.
2019-10-11 11:50:16 -04:00
Patrick Thomson
2d930aa19f
Compile python function decorators and finish milestone #2 .
2019-10-11 11:49:52 -04:00
Rob Rix
a160c0b7d5
Generalize typecheckingFlowInsensitive over the name type.
2019-10-11 11:47:39 -04:00
Rob Rix
ffc281f0f3
Generalize runFile over the name type.
2019-10-11 11:47:01 -04:00
Patrick Thomson
c41b9cdc97
Merge branch 'compile-python-calls' into compile-python-function-decorators
2019-10-11 11:46:33 -04:00
Rob Rix
6efc7c7301
Generalizee typecheckingAnalysis over the name type.
2019-10-11 11:45:57 -04:00
Rob Rix
45dfc6ead1
Generalize solve over the name type.
2019-10-11 11:45:32 -04:00
Rob Rix
d184acfbfe
Generalize Solution over the name type.
2019-10-11 11:41:11 -04:00
Rob Rix
6d3d1751b6
Generalize unify over the name type.
2019-10-11 11:40:30 -04:00