Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

PeachPie Compiler

PeachPie - the PHP compiler and runtime for .NET and .NET Core
Collective - Host: opensource - https://opencollective.com/peachpiecompiler - Code: https://github.com/peachpiecompiler/peachpie

diagnostics

github.com/peachpiecompiler/peachpie - de17fdad3cc5b304579982382460c6625b977d36 authored about 7 years ago by Jakub Míšek <[email protected]>
more diagnostics

- method declaration diagnostics

github.com/peachpiecompiler/peachpie - 4795c720ca5e095a223739bcc503dc5af54c4b16 authored about 7 years ago by Jakub Míšek <[email protected]>
Merge pull request #136 from peachpiecompiler/0.9.0-dev

version `0.9.0`

github.com/peachpiecompiler/peachpie - 581600c5bd831d8ffe8d1f18ce79a1e06589c973 authored about 7 years ago by Jakub Míšek <[email protected]>
version `0.9.0`

github.com/peachpiecompiler/peachpie - 7bcf6c0d8f3fd966cea3061a8cc36ea558d3a0e6 authored about 7 years ago by Jakub Míšek <[email protected]>
fix for callsites as a parameter default value

`__construct($a = T::C) { }` where T is unknown at compile-time

github.com/peachpiecompiler/peachpie - 0cf5b6f9eb491173160036f8524e8252f4dfd6a2 authored about 7 years ago by Jakub Míšek <[email protected]>
(bool) cast evaluation in compile time

github.com/peachpiecompiler/peachpie - 10825809e5bd1a1146cce09c719388227262b98c authored about 7 years ago by Jakub Míšek <[email protected]>
minor double negation optimization

github.com/peachpiecompiler/peachpie - 03fed0a947bb96af0080fea272aaa48cf02b86ec authored about 7 years ago by Jakub Míšek <[email protected]>
debug assertion fix

github.com/peachpiecompiler/peachpie - c87dca1844a0ecaf4aef4098a773c0ad102279bf authored about 7 years ago by Jakub Míšek <[email protected]>
accessing trait members in runtime

- resolves https://github.com/peachpiecompiler/peachpie/issues/135
- allows calling static metho...

github.com/peachpiecompiler/peachpie - 66336f1ce916747ffa46f5b989f797d8697cbbbd authored about 7 years ago by Jakub Míšek <[email protected]>
parser update

- fixes https://github.com/peachpiecompiler/peachpie/issues/133
- performance enhancements

github.com/peachpiecompiler/peachpie - a395b5293c1afe3f634c27badb5143ad9c273f77 authored about 7 years ago by Jakub Míšek <[email protected]>
Merge pull request #132 from peachpiecompiler/master

traits, yield from, bug fixes

github.com/peachpiecompiler/peachpie - ad8d6d8adf7b658b8b1d99e67bbe17bc055adb10 authored about 7 years ago by Robert Husák <[email protected]>
temp workaround for traits

github.com/peachpiecompiler/peachpie - 522cdbfc83f488b848af0e7a33fed186ba1a448a authored about 7 years ago by Jakub Míšek <[email protected]>
field place for generics

- OriginalDefinition used improperly

github.com/peachpiecompiler/peachpie - 74f1f9da99204c926dc0dc2e0d7d245df4d9ef50 authored about 7 years ago by Jakub Míšek <[email protected]>
`expect declared` optimization for traits/generics

github.com/peachpiecompiler/peachpie - af6c96b25c288606237d41414f734ae1c21c0531 authored about 7 years ago by Jakub Míšek <[email protected]>
LocalSymbolProvider

- https://github.com/peachpiecompiler/peachpie/issues/135
- optimizes resolution of type eq to c...

github.com/peachpiecompiler/peachpie - 1cbda8171c46842653cc168847c097b2a23ca7df authored about 7 years ago by Jakub Míšek <[email protected]>
assignment to PhpAlias fix

https://github.com/peachpiecompiler/peachpie/issues/134

github.com/peachpiecompiler/peachpie - 926c9e9a794bd375481e9b7862e357747c4cb55e authored about 7 years ago by Jakub Míšek <[email protected]>
mb_convert_encoding

github.com/peachpiecompiler/peachpie - 3c8bf595385f6751aeb9a153c48169e0a06804a9 authored about 7 years ago by Jakub Míšek <[email protected]>
mb_check_encoding

github.com/peachpiecompiler/peachpie - 1e4915506c8f123c697db9bd41ffa791017a58c0 authored about 7 years ago by Jakub Míšek <[email protected]>
hash_pbkdf2 prototype

github.com/peachpiecompiler/peachpie - e34b723265fe69c709086ea84f20b7c91105bcec authored about 7 years ago by Jakub Míšek <[email protected]>
Merge pull request #131 from peachpiecompiler/dev/mediawiki

- PCRE /K switch
- SHA512 hash algo

github.com/peachpiecompiler/peachpie - b53e69269cbe5fef73fd30009bca23d7ef678742 authored about 7 years ago by Jakub Míšek <[email protected]>
Fix hashing test

github.com/peachpiecompiler/peachpie - 3cc957d9106df819fe3788c9c77266fd5f47cfd9 authored about 7 years ago by Robert Husák <[email protected]>
Add SHA512 hashing algorithm

github.com/peachpiecompiler/peachpie - a8d2bec6b01740b794e8c20bb8070a32bd7c11b4 authored about 7 years ago by Robert Husák <[email protected]>
test update

- print_r instead of var_dump

github.com/peachpiecompiler/peachpie - 1521b8c90472926966cdc9b76c9a688877f488a3 authored about 7 years ago by Jakub Míšek <[email protected]>
generator tests

- auto-incremented keys
- yield from keys

github.com/peachpiecompiler/peachpie - b42b6822bbe14ef8bfc3c71b8db48f715ab5e900 authored about 7 years ago by Jakub Míšek <[email protected]>
Fix named groups in preg_replace_callback

Use the same extraction from Match to PhpArray as in preg_match.

github.com/peachpiecompiler/peachpie - daf2d9d3e7820b88439cd63eeabdd65a4fd0687a authored about 7 years ago by Robert Husák <[email protected]>
generator auto-incremented key

- fix for auto-incremented keys (max key is incremented, not the last
one)
- fix for `yield from...

github.com/peachpiecompiler/peachpie - 9786ff030614770a5e0b073d71d46bfa347fd1be authored about 7 years ago by Jakub Míšek <[email protected]>
Generator cleanup

github.com/peachpiecompiler/peachpie - b5c57706abd9370a42f84bfd1364815ccee865d8 authored about 7 years ago by Jakub Míšek <[email protected]>
Enable backtracking of \K in PCRE

github.com/peachpiecompiler/peachpie - d9c90580ae727e4963dde087d32d927e070e49df authored about 7 years ago by Robert Husák <[email protected]>
casting to analysed type

- if type of a variable is known in compile time, it is casted

github.com/peachpiecompiler/peachpie - dc607d48773cf94221cfb16c309d8edc2bff821d authored about 7 years ago by Jakub Míšek <[email protected]>
TypeRefMask

- helpers

github.com/peachpiecompiler/peachpie - e8db290351485ab55c1c1724f3dfa9162c159a05 authored about 7 years ago by Jakub Míšek <[email protected]>
READ object[index]

github.com/peachpiecompiler/peachpie - 386d19e090686889ed335e4f79dde344169cc390 authored about 7 years ago by Jakub Míšek <[email protected]>
Fix empty match issues with \K in PCRE

github.com/peachpiecompiler/peachpie - 67bf863e8abab0532f32790c91efc31b0161f85c authored about 7 years ago by Robert Husák <[email protected]>
Implement basics of \K in PCRE

github.com/peachpiecompiler/peachpie - ba24eed1bc5b79ad1bf36487aeca681c8c1b5374 authored about 7 years ago by Robert Husák <[email protected]>
`yield from` cleanup

github.com/peachpiecompiler/peachpie - 088dac1557f17121e42d8c34ef524112ad472717 authored about 7 years ago by Jakub Míšek <[email protected]>
`yield from` return

github.com/peachpiecompiler/peachpie - 80c415e9664b10b2988adda22fc9882a11bd7b7b authored about 7 years ago by Jakub Míšek <[email protected]>
`yield from` implementation

https://github.com/peachpiecompiler/peachpie/issues/87

github.com/peachpiecompiler/peachpie - 4ee1f11d4ce033836ba43250d0e14f5c489e6e07 authored about 7 years ago by Jakub Míšek <[email protected]>
`yield from` implementation

https://github.com/peachpiecompiler/peachpie/issues/87

github.com/peachpiecompiler/peachpie - e02fca3705e22669bcd1e6710cbbe4b6cb34507d authored about 7 years ago by Jakub Míšek <[email protected]>
non-public trait properties

github.com/peachpiecompiler/peachpie - f841b01c8b471d1e26fa8825f2931c2aea458457 authored about 7 years ago by Jakub Míšek <[email protected]>
trait test

github.com/peachpiecompiler/peachpie - d1146fff40e9c1fae6305ca59019f7f807792b63 authored about 7 years ago by Jakub Míšek <[email protected]>
class constants

- fix of previous commit, constant initializers are analysed properly
- resolving of constants d...

github.com/peachpiecompiler/peachpie - 81bee0e1815b8f53f14b26442b1f336206908d6d authored about 7 years ago by Jakub Míšek <[email protected]>
static fields symbol

- ContainingSymbol is correctly set to _statics
- SourceTypeSymbol.GetMembers does not list memb...

github.com/peachpiecompiler/peachpie - 4cc3385adbee4016540d06ff1f1b405e23e471ae authored about 7 years ago by Jakub Míšek <[email protected]>
reflection of static fields visibility

github.com/peachpiecompiler/peachpie - 273a45a40c2ba59afe3cd3e8a5f33827082ea44f authored about 7 years ago by Jakub Míšek <[email protected]>
[PhpMemberVisibilityAttribute]

- emitted for all members that are declared as private or protected but
emitted as public since ...

github.com/peachpiecompiler/peachpie - eb116a3b4710deef9c7651d640edae21cf161c6f authored about 7 years ago by Jakub Míšek <[email protected]>
static fields access

- Compilation error fix

github.com/peachpiecompiler/peachpie - fff926f335f412deccd90d107d2699c37bd83ff8 authored about 7 years ago by Jakub Míšek <[email protected]>
[PhpTraitMemberVisibility]

- attribute marking non-public trait methods

github.com/peachpiecompiler/peachpie - b9d130cfa306a70099c5a4915adeaedb04b29381 authored about 7 years ago by Jakub Míšek <[email protected]>
trait properties initialization

- cleanup

github.com/peachpiecompiler/peachpie - 09e542df8e0f27f2f4f0de5c277d3c895d46007d authored about 7 years ago by Jakub Míšek <[email protected]>
IPhpPropertySymbol

- static properties cleanup

github.com/peachpiecompiler/peachpie - 474cc03f157b1b0be79d0d4063777e9cfa2ef17a authored about 7 years ago by Jakub Míšek <[email protected]>
static properties from trait in trait

github.com/peachpiecompiler/peachpie - 79005b41d4de45b067e805c2f6596022b40969d2 authored about 7 years ago by Jakub Míšek <[email protected]>
trait properties

- TODO: trait in trait - causes exception in runtime now

github.com/peachpiecompiler/peachpie - d5a17f16c66eaf387c03d9cae7928b1f7690a826 authored about 7 years ago by Jakub Míšek <[email protected]>
code cleanup

github.com/peachpiecompiler/peachpie - 3d65f75c249fa4f5dddcbdbd2ce2fddf128a734f authored about 7 years ago by Jakub Míšek <[email protected]>
valid caller context in property initializers

- fixes e.g. __CLASS__ in trait property/const initializer

github.com/peachpiecompiler/peachpie - 9a46f0cac4b168658c66b0a62710e152a9b08521 authored about 7 years ago by Jakub Míšek <[email protected]>
non public trait methods

- in PE they must be public

github.com/peachpiecompiler/peachpie - ba68e69b91c60a6aa11e09e09011298f4753f12e authored about 7 years ago by Jakub Míšek <[email protected]>
declaring trait types in context

github.com/peachpiecompiler/peachpie - bf82feb5bc7fee9abdb6ea521d9a529655c2bf24 authored about 7 years ago by Jakub Míšek <[email protected]>
methods reflection

- reusing existing reflection data (less memory, less caching, less new
lambdas)
- System.Object...

github.com/peachpiecompiler/peachpie - 38069d1b1bc9354d8c95aa523b5bc5b2dcdf4d69 authored about 7 years ago by Jakub Míšek <[email protected]>
binding methods with late static type

github.com/peachpiecompiler/peachpie - 95c6f95cc6577b83103e60c7bc29d0fb31027edd authored about 7 years ago by Jakub Míšek <[email protected]>
class declaration diagnostics

github.com/peachpiecompiler/peachpie - ed924f82bda233119b2f3470e9c429274719b8db authored about 7 years ago by Jakub Míšek <[email protected]>
avoiding concat in echo

- if possible, echo of concatenated expressions is lowered to echo of
list of expressions

github.com/peachpiecompiler/peachpie - ecf76ed4b1a7ff779bf16a113e1c300b39c76653 authored about 7 years ago by Jakub Míšek <[email protected]>
`static` in trait method

github.com/peachpiecompiler/peachpie - 10f3e59c6cf06474a5286ef6c01b0bdce50e7773 authored about 7 years ago by Jakub Míšek <[email protected]>
`static` resolution fix

github.com/peachpiecompiler/peachpie - ad3373e5e8c27dd869f51c84825ffdd42fec1f63 authored about 7 years ago by Jakub Míšek <[email protected]>
`static` resolution fix

github.com/peachpiecompiler/peachpie - 3ed0fe2388fa2a9d68ab4d4757b13e7cf4222241 authored about 7 years ago by Jakub Míšek <[email protected]>
flags bound in semantic binder

- routine flags resolved already in binder
- routine implicit params bound properly
- code cleanup

github.com/peachpiecompiler/peachpie - d20b529f964e97125dd37a1e6cfc037713201d68 authored about 7 years ago by Jakub Míšek <[email protected]>
static trait function test

github.com/peachpiecompiler/peachpie - 8789b7741e0d2f28c66c91a3bfc165d4fe92c189 authored about 7 years ago by Jakub Míšek <[email protected]>
FieldSymbol translated properly

github.com/peachpiecompiler/peachpie - 906c7253cb6fc00f62ec2d9901410b85088f9587 authored about 7 years ago by Jakub Míšek <[email protected]>
self in trait

github.com/peachpiecompiler/peachpie - a72c2b17d18932c505f707aff26d5e0309e785c7 authored about 7 years ago by Jakub Míšek <[email protected]>
trait method return type

- passing to synthesized and substituted methods correctly

github.com/peachpiecompiler/peachpie - b88aef6d77476c9576cab596df0e40145b4ee828 authored about 7 years ago by Jakub Míšek <[email protected]>
trait method return type

- return type of trait member workaround

github.com/peachpiecompiler/peachpie - 7d3458f930468f034f32e5b2878a330fa1138395 authored about 7 years ago by Jakub Míšek <[email protected]>
`self` and `parent` resolution in traits

- better compilation of `self` and `parent` types if provided through
generics (traits)

github.com/peachpiecompiler/peachpie - caf8c22c41175806f45729ce8be7f324b215f071 authored about 7 years ago by Jakub Míšek <[email protected]>
trait impl cleanup

github.com/peachpiecompiler/peachpie - d37b6ab9d46a57c30399bda5017430d4f59b7aa9 authored about 7 years ago by Jakub Míšek <[email protected]>
compiletime scope in traits

github.com/peachpiecompiler/peachpie - aef6cd76160ac1e36bd09fe08fec05b836fc1f98 authored about 7 years ago by Jakub Míšek <[email protected]>
trait as a generic class with TSelf

- scope is handled as a type argument !TSelf
- allows for correct trait static fields and static...

github.com/peachpiecompiler/peachpie - e70e4a26fc5f34fe4d11446c6ababc13ccfdc742 authored about 7 years ago by Jakub Míšek <[email protected]>
trait methods overriding

- synthesized trait methods properly overrides base and can be overriden
- synthesized trait met...

github.com/peachpiecompiler/peachpie - ea9bae8411062759360189c0314b9606d8219271 authored about 7 years ago by Jakub Míšek <[email protected]>
trait adaptations

- overriden trait members ignored
- precedence
- aliases
- trait tests
- TODO: correct overridin...

github.com/peachpiecompiler/peachpie - 1c0e58a584e5b3eeb8f5580a53da8ae2cdf98e72 authored about 7 years ago by Jakub Míšek <[email protected]>
callsite for static routine call

github.com/peachpiecompiler/peachpie - 3dce7ff41bf5240ca89bb694a10269af363cf025 authored about 7 years ago by Jakub Míšek <[email protected]>
callsite for static routine call

- correct value of $this
- instance methods can be called properly via static call syntax (e.g.
...

github.com/peachpiecompiler/peachpie - ecc154fbadda979270ee1ae3ac02f1039b10130c authored about 7 years ago by Jakub Míšek <[email protected]>
overload metadata fix

https://github.com/peachpiecompiler/peachpie/issues/126

github.com/peachpiecompiler/peachpie - 72c3892df6a7b4ed211797f174ba0660d31ab4b6 authored about 7 years ago by Jakub Míšek <[email protected]>
resolving self in traits

github.com/peachpiecompiler/peachpie - 0bceaf6b0ca6a107aaf68b07d64a2947118f2c16 authored about 7 years ago by Jakub Míšek <[email protected]>
__CLASS__, __TRAIT__

- __TRAIT__ in class scope is empty string
- __CLASS__ in trait is resolved at run-time correctly

github.com/peachpiecompiler/peachpie - 93e00977cac7d4244beeba544618856ea55649f5 authored about 7 years ago by Jakub Míšek <[email protected]>
initial trait use compilation

github.com/peachpiecompiler/peachpie - 8fc700a6c24bb1093d5b263c6e9ff6121df193e5 authored about 7 years ago by Jakub Míšek <[email protected]>
__DIR__ optimization

- no unnnecessary concatenation in root dir

github.com/peachpiecompiler/peachpie - e58e30f20d42c8fd81ddc214f4303c3cdd9d8cb4 authored about 7 years ago by Jakub Míšek <[email protected]>
json decode optimizations

- array decode fix

github.com/peachpiecompiler/peachpie - 40f3037f1be8b76dc6351576707300051c6020d9 authored about 7 years ago by Jakub Míšek <[email protected]>
json decode optimizations

- less stress on GC
- no unnecessary allocations
- type safe parser

github.com/peachpiecompiler/peachpie - 4e5b938555223cb967e06cb531f7612afa664e52 authored about 7 years ago by Jakub Míšek <[email protected]>
trait use map

- internal map of used trait members

github.com/peachpiecompiler/peachpie - e02870a48b2de64a9b3d7093e2e762d5c3bed96e authored about 7 years ago by Jakub Míšek <[email protected]>
binding trait in trait

- this is passed correctly from caller

github.com/peachpiecompiler/peachpie - 85de5da3a881fda71cc53e5ab0eafaf035f948c7 authored about 7 years ago by Jakub Míšek <[email protected]>
binding trait in trait

- scope passed correctly from caller

github.com/peachpiecompiler/peachpie - e5eae9f39678d9a646dd5c38f5d41cef545f5e0a authored about 7 years ago by Jakub Míšek <[email protected]>
binding traits

- used trait is instantiated inside the class
- bound TraitUse

github.com/peachpiecompiler/peachpie - 141e59180118e1c616754c53fcc37e93be3935a1 authored about 7 years ago by Jakub Míšek <[email protected]>
`virtual` only if necessary, trait attribute

- virtual not emitted for anonymous classes, sealed classes, trait
templates and wherever it is ...

github.com/peachpiecompiler/peachpie - 6159dd8b7df1061faac90a99d57fd2c4bcfa6cfd authored about 7 years ago by Jakub Míšek <[email protected]>
gzcompress(null)

- nullref fix

github.com/peachpiecompiler/peachpie - 5feaf59ca779f6ee97b2baae0ff7bda26fc05ad8 authored about 7 years ago by Jakub Míšek <[email protected]>
"cp{CodePage}" encodings recognized

github.com/peachpiecompiler/peachpie - 2528bc68b41e496dd5728bd63b79bcdea73c05a9 authored about 7 years ago by Jakub Míšek <[email protected]>
`static` runtime resolution, traits scope

- `static` type resolved correctly in closures and traits
- traits hold actual "scope" (class co...

github.com/peachpiecompiler/peachpie - 03fced6bb2fcf1900b9576624e181f23be6da60e authored about 7 years ago by Jakub Míšek <[email protected]>
Merge branch 'master' of https://github.com/peachpiecompiler/peachpie

github.com/peachpiecompiler/peachpie - 889517eec7b3ea80879f82773f62a9accfef5477 authored about 7 years ago by Jakub Míšek <[email protected]>
self, parent, static analysis

- resolved as `System.Object` if not known in compile-time (global code,
traits, closures)

github.com/peachpiecompiler/peachpie - 3cd53c9a7930d0e3e8974ce4bd166b6a6bf529e7 authored about 7 years ago by Jakub Míšek <[email protected]>
Implement array ensuring from $this

github.com/peachpiecompiler/peachpie - b9fddaafb091f8a601a07f3107fc6d2bdb49a52a authored about 7 years ago by Robert Husák <[email protected]>
trait type .ctor signature

- passing actual `$this`
- trait .ctor and initialization

github.com/peachpiecompiler/peachpie - 65b789367622e3e2945103719c155e3956fe9424 authored about 7 years ago by Jakub Míšek <[email protected]>
SourceTraitTypeSymbol

- symbol for traits
- trait type is always sealed
- trait type *will* have special compiler gene...

github.com/peachpiecompiler/peachpie - 907c4b81e859eb2d7dcfa65511a95e605e7490e6 authored about 7 years ago by Jakub Míšek <[email protected]>
type resolving fix

https://github.com/peachpiecompiler/peachpie/issues/124

github.com/peachpiecompiler/peachpie - 6ac67f02987b3d2af65af4fab52ed249322f8edd authored about 7 years ago by Jakub Míšek <[email protected]>
`instanceof $expr` fix

github.com/peachpiecompiler/peachpie - 2b2166b84e60e352a5f02145bfa294605c599c35 authored about 7 years ago by Jakub Míšek <[email protected]>