Traits and PHP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Traits and PHP

laurent laffont
Hi,

it seems that the PHP people think about including Traits in the next PHP major release: http://marc.info/?l=php-internals&m=126875515019687&w=2

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Stefan Marr-4

On 18 Mar 2010, at 14:19, laurent laffont wrote:

> Hi,
>
> it seems that the PHP people think about including Traits in the next PHP major release: http://marc.info/?l=php-internals&m=126875515019687&w=2
Indeed, we do ;)
But there is still no agreement on the language design and the functionality...

Best regards
Stefan



>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Alexandre Bergel
In reply to this post by laurent laffont
They have been discussing that for a while already. Back in January  
2008 I was discussing with Stefan about the proposal for PHP.
Some people are working at google to make traits part of Javascript.

Cheers,
Alexandre


On 18 Mar 2010, at 09:19, laurent laffont wrote:

> Hi,
>
> it seems that the PHP people think about including Traits in the  
> next PHP major release: http://marc.info/?l=php-internals&m=126875515019687&w=2
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Alexandre Bergel
In reply to this post by Stefan Marr-4
I would probably not try to convince the whole community. We all know  
that it does not work.
Just focus on the smartest people, which might not be the one that  
shout the most :-)

Cheers,
Alexandre

On 18 Mar 2010, at 09:27, Stefan Marr wrote:

>
> On 18 Mar 2010, at 14:19, laurent laffont wrote:
>
>> Hi,
>>
>> it seems that the PHP people think about including Traits in the  
>> next PHP major release: http://marc.info/?l=php-internals&m=126875515019687&w=2
> Indeed, we do ;)
> But there is still no agreement on the language design and the  
> functionality...
>
> Best regards
> Stefan
>
>
>
>>
>> Laurent Laffont
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> Stefan Marr
> Software Languages Lab
> Vrije Universiteit Brussel
> Pleinlaan 2 / B-1050 Brussels / Belgium
> http://soft.vub.ac.be/~smarr
> Phone: +32 2 629 2974
> Fax:   +32 2 629 3525
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Lukas Renggli
In reply to this post by Alexandre Bergel
> Some people are working at google to make traits part of Javascript.

How do traits fit into a prototype model? Has anybody written about that?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Stéphane Ducasse
check the ecoop paper of tom and also the google project

Stef

On Mar 18, 2010, at 2:35 PM, Lukas Renggli wrote:

>> Some people are working at google to make traits part of Javascript.
>
> How do traits fit into a prototype model? Has anybody written about that?
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Alexandre Bergel
In reply to this post by Lukas Renggli
>> Some people are working at google to make traits part of Javascript.
>
> How do traits fit into a prototype model? Has anybody written about  
> that?

We wrote the following:
http://portal.acm.org/citation.cfm?id=1615200
http://bergel.eu/download/papers/Cuts09aTraitAmbienttalk.pdf

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Traits and PHP

Stefan Marr-4
In reply to this post by Lukas Renggli

On 18 Mar 2010, at 14:35, Lukas Renggli wrote:

>> Some people are working at google to make traits part of Javascript.
>
> How do traits fit into a prototype model? Has anybody written about that?
Tom Van Cutsem, Alexandre Bergel, Stéphane Ducasse, Wolfgang De Meuter: Adding State and Visibility Control to Traits Using Lexical Nesting. ECOOP 2009: 220-243

And at least in the beginning, Tom[1] was thinking about something along the lines of what I called 'grafts' in my RFC for PHP[2]. But since the reference is gone, I guess he is up to something different now.

Best regards
Stefan

[1] http://code.google.com/p/es-lab/wiki/Traits
[2] http://wiki.php.net/rfc/horizontalreuse

>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project