[Pharo-dev] Re: Fun with dates

2023-07-19 Thread Miloslav.Raus--- via Pharo-dev
and woot: I'm a good parser (bullshit eliminator; went for a few of the 
examples - after you hinted it is super-permissive), but there is no reason for 
the default to be that tolerant.


perhaps an introduction of "culture" fo the default parsing, and otherwise some 
format rules ?


From: Rauš Miloslav
Sent: Wednesday, July 19, 2023 6:50:13 PM
To: Pharo Development List
Subject: Re: [Pharo-dev] Fun with dates


Right of the bat: mind blown (they probably translate to something)



From: Guillermo Polito 
Sent: Wednesday, July 19, 2023 6:48 PM
To: Pharo Development List
Subject: [Pharo-dev] Fun with dates

Try to guess what each of the following lines of code do:

'''/5%9/$#=7*''*(?&&)58-,=93/1(0 1&<"1%?#$-::#)' asDate.

'*%!@$4*4#!$!.&0-";)7.<7?%(;  $535(0536.%#56&++''3!%0/' asDate.

'/-@+%3:3.''9"04=. @5+$;"& (6.-,?@*6"?43@@>*>:' asDate.

'1(%&0:19)) 7-?1.8;=?8+!&42-(?#>357).!=21603* 
6=?38.1**,//'':@663>.09!2%=!%%%2!>4'':@#/8!@==2>%651):#14-8+(1@$&827%6-!)9-<>:"2+>&*39 !"(27' asDate.

'''"?. <>!@"2(%7#)0 )46+#'';=+"94?%)9 +!<.+!9,2*5("9$11-,?49 =6*77. 0;/''%%/*' 
asDate.

'4.+@)3&11)."+.6=$&$0>5:5;:$,%5-+,4$0>")>4838''*2/' asDate.

'!7$:''!@0=)?0?<#&@*./0.:&?$?4 =<(7)@3$!:"$%%=""/?4*4=0?*$).,<+& 
::"8>:925$8!,2,95' asDate.

' &+?!$3"(<*)1");35 $:&<"$!' asDate.

'>6(# %2736:-1#@@9%9''+"#?37''2,<3>8-*5"$2-6#''365++*8 &' asDate.

'?(2/=-@=@:4?/(3$3(8"&,!-2/&6&&' asDate.

'&?7+=''9,:$(430,3#/$4#866'';2/*,?):. -!#"7=?6:$3"5 -$/=0' asDate.

'3-;;=72@,9=%*.;+)74@7") 
-&?(''7+!3-3<-0,<8:(,,;+5-$:81#&6''7830;"01+@>7<37''!(#/9"6%0?' asDate.

';";5!9!,4/;25!0(<$4)''2"(2&-''4/>/.'')99(>><' asDate.

'03="9-/,*(;74"%@>=''91%>#=*=6*0/#02@?)0.' asDate


G


[Pharo-dev] Re: Fun with dates

2023-07-19 Thread Miloslav.Raus--- via Pharo-dev
Right of the bat: mind blown (they probably translate to something)



From: Guillermo Polito 
Sent: Wednesday, July 19, 2023 6:48 PM
To: Pharo Development List
Subject: [Pharo-dev] Fun with dates

Try to guess what each of the following lines of code do:

'''/5%9/$#=7*''*(?&&)58-,=93/1(0 1&<"1%?#$-::#)' asDate.

'*%!@$4*4#!$!.&0-";)7.<7?%(;  $535(0536.%#56&++''3!%0/' asDate.

'/-@+%3:3.''9"04=. @5+$;"& (6.-,?@*6"?43@@>*>:' asDate.

'1(%&0:19)) 7-?1.8;=?8+!&42-(?#>357).!=21603* 
6=?38.1**,//'':@663>.09!2%=!%%%2!>4'':@#/8!@==2>%651):#14-8+(1@$&827%6-!)9-<>:"2+>&*39 !"(27' asDate.

'''"?. <>!@"2(%7#)0 )46+#'';=+"94?%)9 +!<.+!9,2*5("9$11-,?49 =6*77. 0;/''%%/*' 
asDate.

'4.+@)3&11)."+.6=$&$0>5:5;:$,%5-+,4$0>")>4838''*2/' asDate.

'!7$:''!@0=)?0?<#&@*./0.:&?$?4 =<(7)@3$!:"$%%=""/?4*4=0?*$).,<+& 
::"8>:925$8!,2,95' asDate.

' &+?!$3"(<*)1");35 $:&<"$!' asDate.

'>6(# %2736:-1#@@9%9''+"#?37''2,<3>8-*5"$2-6#''365++*8 &' asDate.

'?(2/=-@=@:4?/(3$3(8"&,!-2/&6&&' asDate.

'&?7+=''9,:$(430,3#/$4#866'';2/*,?):. -!#"7=?6:$3"5 -$/=0' asDate.

'3-;;=72@,9=%*.;+)74@7") 
-&?(''7+!3-3<-0,<8:(,,;+5-$:81#&6''7830;"01+@>7<37''!(#/9"6%0?' asDate.

';";5!9!,4/;25!0(<$4)''2"(2&-''4/>/.'')99(>><' asDate.

'03="9-/,*(;74"%@>=''91%>#=*=6*0/#02@?)0.' asDate


G


[Pharo-dev] Fun with dates

2023-07-19 Thread Guillermo Polito
Try to guess what each of the following lines of code do:

'''/5%9/$#=7*''*(?&&)58-,=93/1(0 1&<"1%?#$-::#)' asDate.

'*%!@$4*4#!$!.&0-";)7.<7?%(;  $535(0536.%#56&++''3!%0/' asDate.

'/-@+%3:3.''9"04=. @5+$;"& (6.-,?@*6"?43@@>*>:' asDate.

'1(%&0:19)) 7-?1.8;=?8+!&42-(?#>357).!=21603* 
6=?38.1**,//'':@663>.09!2%=!%%%2!>4'':@#/8!@==2>%651):#14-8+(1@$&827%6-!)9-<>:"2+>&*39 !"(27' asDate.

'''"?. <>!@"2(%7#)0 )46+#'';=+"94?%)9 +!<.+!9,2*5("9$11-,?49 =6*77. 0;/''%%/*' 
asDate.

'4.+@)3&11)."+.6=$&$0>5:5;:$,%5-+,4$0>")>4838''*2/' asDate.

'!7$:''!@0=)?0?<#&@*./0.:&?$?4 =<(7)@3$!:"$%%=""/?4*4=0?*$).,<+& 
::"8>:925$8!,2,95' asDate.

' &+?!$3"(<*)1");35 $:&<"$!' asDate.

'>6(# %2736:-1#@@9%9''+"#?37''2,<3>8-*5"$2-6#''365++*8 &' asDate.

'?(2/=-@=@:4?/(3$3(8"&,!-2/&6&&' asDate.

'&?7+=''9,:$(430,3#/$4#866'';2/*,?):. -!#"7=?6:$3"5 -$/=0' asDate.

'3-;;=72@,9=%*.;+)74@7") 
-&?(''7+!3-3<-0,<8:(,,;+5-$:81#&6''7830;"01+@>7<37''!(#/9"6%0?' asDate.

';";5!9!,4/;25!0(<$4)''2"(2&-''4/>/.'')99(>><' asDate.

'03="9-/,*(;74"%@>=''91%>#=*=6*0/#02@?)0.' asDate


G