2009/12/16 Mark S. Miller :
> On Wed, Dec 16, 2009 at 12:43 PM, Ash Berlin wrote:
>>
>> On 16 Dec 2009, at 20:21, Mike Samuel wrote:
>>
>> > jsont`{$name:html}: > > href="{$url|html-attr-value}">{$anchor|html}{default=html}`
>> >
>> > function jsont(var_args) {
>> > var literalPortions = Array.pr
On Wed, Dec 16, 2009 at 12:43 PM, Ash Berlin wrote:
>
> On 16 Dec 2009, at 20:21, Mike Samuel wrote:
>
> > jsont`{$name:html}: > href="{$url|html-attr-value}">{$anchor|html}{default=html}`
> >
> > function jsont(var_args) {
> > var literalPortions = Array.prototype.slice.call(arguments, 0);
>
>
On 16 Dec 2009, at 20:21, Mike Samuel wrote:
> jsont`{$name:html}: href="{$url|html-attr-value}">{$anchor|html}{default=html}`
>
> function jsont(var_args) {
> var literalPortions = Array.prototype.slice.call(arguments, 0);
So if i remember correctly:
foo`a${b}c` -> foo("a", "c')(b);
How t
2009/12/16 Andy Chu :
>>> If you haven't yet read http://www.python.org/dev/peps/pep-3101/ (Advanced
>>> String Formatting) I suggest you do - its well worth a read and feels like
>>> a possible very javascripty solution.
>>
>> I have not read it. Thanks for the link. It has a good summary of
>
On 2009-12-15, at 23:28, Brendan Eich wrote:
> Something more like Self, in other words. I still wonder if we can't recover
> that lost form, enable prototype-based composition as Tucker wanted, and
> banish host objects to the ninth circle of hell, in a future edition.
We can dream! :)
__
>> If you haven't yet read http://www.python.org/dev/peps/pep-3101/ (Advanced
>> String Formatting) I suggest you do - its well worth a read and feels like a
>> possible very javascripty solution.
>
> I have not read it. Thanks for the link. It has a good summary of
> alternate syntaxes and est
6 matches
Mail list logo