1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

20685 Commits

Author SHA1 Message Date
Patrick Thomson
6f63463269 Remove explicit Paren node from syntax trees.
As @robrix pointed out, adding explicit parenthesis nodes to our ASTs
bloats them with no added gain in expressivity. A pretty-printing
solution should use something analogous to `showsPrec` to ensure that
parentheses are printed properly.
2018-04-23 11:00:10 -04:00
Josh Vera
48e2b6bc7f Merge pull request #1756 from github/charliesome/return
Implement early return
2018-04-20 13:58:14 -04:00
Charlie Somerville
0d9cb46d07 add test cases for early return 2018-04-20 14:47:52 +10:00
Charlie Somerville
bc2e74b4de implement Return semantics with ControlThrow.Ret exception 2018-04-20 14:47:52 +10:00
Charlie Somerville
b7c35ff67d add catchException to MonadThrow instance 2018-04-20 14:47:52 +10:00
Charlie Somerville
ae8ca35222 add a ControlThrow exception type 2018-04-20 14:47:49 +10:00
Josh Vera
6812f5a6a1 Merge pull request #1751 from github/parse-examples
Test assignment for more example repos
2018-04-19 16:21:48 -04:00
Timothy Clem
07d8080ebb Merge remote-tracking branch 'origin/master' into parse-examples 2018-04-19 13:12:25 -07:00
Josh Vera
c0ac46699f Merge pull request #1752 from github/infinite-loops
Add a hole value type and terminate conditions if given a hole
2018-04-19 16:03:05 -04:00
joshvera
7d5daff1c0 Remove import logging 2018-04-19 15:54:22 -04:00
Josh Vera
98b11bfa44 Merge branch 'master' into infinite-loops 2018-04-19 15:52:08 -04:00
Patrick Thomson
da9696e5ab Merge pull request #1753 from github/effects-bump
Bump joshvera/effects to 0.3.0.1.
2018-04-19 15:28:25 -04:00
joshvera
8b2f2656cb Merge remote-tracking branch 'origin/master' into infinite-loops 2018-04-19 14:06:55 -04:00
joshvera
126e5f594c Switch hole logic 2018-04-19 14:06:45 -04:00
joshvera
26e6631e06 Implement holes in types 2018-04-19 13:59:21 -04:00
joshvera
19a7e0e4bd appease hlint 2018-04-19 13:52:50 -04:00
joshvera
c8784ffab9 Revert "Yield maybes from scopedEnvironment, and values from ScopedEnvironmentErrors"
This reverts commit d09318a14143b80ae4e90a7192e94b0f9b512bd3.
2018-04-19 13:45:39 -04:00
Patrick Thomson
189da4098f Bump joshvera/effects to 0.3.0.1.
There is a slight (roughly 12%) build-time regression associated withh
this for standard stack builds. The difference is negligible if you
compile with --fast.
2018-04-19 13:36:41 -04:00
joshvera
984cda99d0 Fix tests 2018-04-19 13:35:45 -04:00
Josh Vera
6426e4702b Merge pull request #1750 from github/simplify-JSON
Remove unused entities from the JSON term list.
2018-04-19 13:28:08 -04:00
joshvera
04428df6bd Return holes from uninitialized address errors 2018-04-19 13:12:51 -04:00
joshvera
d8e446f0a7 Add a hole value and don't run a condition if it depends on a hole 2018-04-19 12:20:24 -04:00
joshvera
9d7038a53b Yield maybes from scopedEnvironment, and values from ScopedEnvironmentErrors 2018-04-18 17:56:27 -04:00
Timothy Clem
da644812c6 Remove js-test submodule 2018-04-18 14:20:25 -07:00
Timothy Clem
892eb982b0 Remove jquery as submodule 2018-04-18 14:15:30 -07:00
Timothy Clem
94d1562b46 Parse Expression.LShift in AugmentedAssignmentExpressi in JavaScript 2018-04-18 14:07:45 -07:00
Timothy Clem
d20d2a02bd Remove backbone as example repo 2018-04-18 13:56:39 -07:00
Timothy Clem
2617b3a4a6 Move cli fixtures around 2018-04-18 13:55:21 -07:00
Timothy Clem
b9857cd033 Move the toc test fixtures around too 2018-04-18 13:42:29 -07:00
Timothy Clem
ea0afa1747 Move corpus tests into their own dir 2018-04-18 13:33:17 -07:00
Timothy Clem
a89329eafa Assign a couple more example repos 2018-04-18 13:03:50 -07:00
joshvera
ffca89cebf Add logging 2018-04-18 15:16:29 -04:00
joshvera
1fcb16da32 Add logging 2018-04-18 15:16:15 -04:00
Patrick Thomson
0f3be9929f Remove unused entities from the JSON term list.
We weren't using `String` or `[]`, so get rid of them.
2018-04-18 14:34:18 -04:00
Patrick Thomson
f40c871a10 Merge pull request #1744 from github/typescript-graphs
Fixes for better import graphing
2018-04-18 14:28:09 -04:00
joshvera
d8c597e894 Merge remote-tracking branch 'origin/master' into typescript-graphs 2018-04-18 14:20:22 -04:00
joshvera
2b54cf3953 Assign lshift 2018-04-18 13:59:31 -04:00
Josh Vera
4d9f73973c Merge pull request #1748 from github/fix-python-division
Add new expression node for Python's floor-division operator.
2018-04-18 12:14:23 -04:00
Timothy Clem
b8312be1c6 Remove extra spacing 2018-04-18 08:47:53 -07:00
Timothy Clem
9a155c7af8 Newline at end of file 2018-04-18 08:43:46 -07:00
Patrick Thomson
2583a89f24 hlint 2018-04-18 10:24:53 -04:00
Patrick Thomson
3165913188 fix go diffs 2018-04-18 10:17:21 -04:00
Timothy Clem
fbeb0986c2 Spelling is hard 2018-04-17 19:51:46 -07:00
Timothy Clem
502b50404e This tracing is helpful right now 2018-04-17 16:40:44 -07:00
Timothy Clem
b39fa23497 Don't carry around rootModule path in ModuleInfo, factor out all the makeRelatives 2018-04-17 16:40:44 -07:00
Timothy Clem
f2443a7f31 Temporary trace to show when we are circular loading 2018-04-17 16:40:44 -07:00
Timothy Clem
04d8e06b5f Helper for tracing module resolution consistently 2018-04-17 16:40:44 -07:00
joshvera
49416c326e appease hlint 2018-04-17 19:39:16 -04:00
joshvera
5bac8ca4cf Fix test 2018-04-17 19:35:57 -04:00
joshvera
3a93f1fca8 Import Evaluatable for ExportError 2018-04-17 19:26:35 -04:00