1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00
Commit Graph

19718 Commits

Author SHA1 Message Date
joshvera
2358187357 align 2018-03-22 19:31:47 -04:00
joshvera
2e794e92a5 align 2018-03-22 19:31:08 -04:00
Timothy Clem
eb2a331252 Merge remote-tracking branch 'origin/master' into no-really-php-namespaces 2018-03-22 16:29:55 -07:00
Timothy Clem
80e8b86cb1 Making things pretty one baby step at a time 2018-03-22 16:26:21 -07:00
Timothy Clem
016aec9e10 implement namespace for types 2018-03-22 14:27:33 -07:00
Timothy Clem
fb658447a4 Refactor this a bit 2018-03-22 14:27:21 -07:00
Patrick Thomson
5eab8a1caa Merge pull request #1667 from github/multiple-inheritance
Implement multiple inheritance.
2018-03-22 17:15:34 -04:00
joshvera
901cd319a2 fix ruby test 2018-03-22 16:39:53 -04:00
Timothy Clem
201aa936d6 PHP namespaces evaluation with extending environments 2018-03-22 13:38:41 -07:00
Timothy Clem
f23139a194 Introduce a namespace value that mappends environments 2018-03-22 13:37:35 -07:00
Patrick Thomson
75bf3bebe4 Merge pull request #1666 from github/fix-python-member-call
Fix Python method calls.
2018-03-22 16:34:42 -04:00
Patrick Thomson
178da2959e Implement multiple inheritance.
Python is the only language that we support that permits multiple
inheritance, which is probably good, since MI is generally considered
a sign of a poorly-designed object hierarchy. But there's no reason
not to support it. This algorithm is more simplistic than Python's
actual method-resolution lookup, but it's fine for now, and the
behavior for simple cases matches that of Python.
2018-03-22 15:54:21 -04:00
Josh Vera
7792356012 Merge branch 'master' into default-extensions 2018-03-22 15:43:31 -04:00
Josh Vera
a2e73afd45 Merge branch 'master' into module-resolution 2018-03-22 15:42:44 -04:00
Patrick Thomson
bd939d2579 Fix Python method calls.
`identifier` in the Python assignment module was too eager to reduce a
nested Attribute into a dotted identifier. Removing it fixes method
calls, which now have a unit test.
2018-03-22 15:35:08 -04:00
joshvera
bfee652f14 redundant lang extension 2018-03-22 13:07:42 -04:00
joshvera
fdfca338f5 unused constraint 2018-03-22 13:07:32 -04:00
joshvera
37d7eb8b9f Remove unused lang extension 2018-03-22 13:06:22 -04:00
Patrick Thomson
693045439a Add test suite. 2018-03-22 13:02:39 -04:00
joshvera
d816fceaf3 Beautify IdentifierName to test 2018-03-22 13:02:10 -04:00
joshvera
adc5a54d45 Beautify Prologue to test 2018-03-22 13:01:25 -04:00
Patrick Thomson
1e2fc5f6d3 Merge remote-tracking branch 'origin/master' into preludes-and-subclassing 2018-03-22 12:50:16 -04:00
Patrick Thomson
ec4b01d04c Merge pull request #1656 from github/subclassing
Implement single-inheritance subclassing.
2018-03-22 12:48:28 -04:00
Patrick Thomson
089403d25f Merge branch 'master' into subclassing 2018-03-22 12:40:29 -04:00
Timothy Clem
8e2175ac8c Merge remote-tracking branch 'origin/master' into no-really-php-namespaces 2018-03-22 09:39:49 -07:00
Timothy Clem
fb65cff4c7 Merge pull request #1648 from github/php-namespaces
PHP includes and other import-like semantics
2018-03-22 09:39:21 -07:00
Patrick Thomson
ba67556ce6 Merge branch 'master' into subclassing 2018-03-22 12:37:49 -04:00
Patrick Thomson
9d97b8f6c7 Add a spec for subclassing 2018-03-22 12:31:53 -04:00
Timothy Clem
9a91728d4e Only one require/load
Co-Authored-By: Josh Vera <vera@github.com>
2018-03-22 09:28:19 -07:00
Josh Vera
3ef6366649 Merge branch 'master' into php-namespaces 2018-03-22 12:23:57 -04:00
Josh Vera
7950a6b7aa Merge pull request #1661 from github/app-semigroup
App/AppMerge semigroups
2018-03-22 12:23:26 -04:00
joshvera
f2169e09a9 Move MultiParamTypeClasses, StandaloneDeriving, and DataKinds to default-extensions 2018-03-22 12:23:11 -04:00
Timothy Clem
b7657bdbae Remove tracing
Co-Authored-By: Josh Vera <vera@github.com>
2018-03-22 09:17:32 -07:00
Patrick Thomson
d76033e50b fix unused import 2018-03-22 12:15:16 -04:00
Patrick Thomson
3511aa1898 add needed extensions 2018-03-22 12:09:10 -04:00
joshvera
7d87571c7a Add ScopedTypeVariables 2018-03-22 12:05:28 -04:00
Patrick Thomson
6f0f20deea thread default environments properly throughout the stack 2018-03-22 12:03:17 -04:00
joshvera
1f97a18451 Move resumeException to Control.Effect 2018-03-22 11:43:14 -04:00
joshvera
c96cdc5fbf No need for GADTs 2018-03-22 11:42:27 -04:00
joshvera
73a821f856 ++effects 2018-03-22 11:42:20 -04:00
joshvera
a8c9c815ef Rename NonDetEff to NonDet 2018-03-22 10:35:25 -04:00
Timothy Clem
6591c81e4e Proper nesting of namespace environments (this is messy)
Co-Authored-By: Josh Vera <vera@github.com>
2018-03-21 16:18:58 -07:00
Rob Rix
d645481dcf 📝 AppMerge is a Monoid too. 2018-03-21 17:29:48 -04:00
Rob Rix
6a785e0b30 Remove the Monoid instance for App, as it’s unlawful. 2018-03-21 17:26:32 -04:00
Rob Rix
aab509cf63 Test the identity properties. 2018-03-21 17:26:07 -04:00
Rob Rix
b55010c2c1 Define shrinking. 2018-03-21 17:22:34 -04:00
Patrick Thomson
91c6731921 add evaluateWith 2018-03-21 17:21:59 -04:00
Rob Rix
6be056bd9a Swap the order of the types. 2018-03-21 17:16:31 -04:00
Rob Rix
c6148c6cad Test the associativity of the semigroup instances. 2018-03-21 17:16:09 -04:00
Rob Rix
69a4e4cc2e 🔥 Imperative. 2018-03-21 17:08:52 -04:00