Re: What should +:21a produce?

2008-09-16 Thread Aristotle Pagaltzis
* Patrick R. Michaud [EMAIL PROTECTED] [2008-09-15 02:25]:
 So, I'm wondering what happens in the string-to-number case if
 there happen to be characters within the angles that are not
 valid digits for the given radix.
 
 A similar question holds for calling radix converters as
 functions

Since the radix specifier/function feels is followed by some
variety of circumfix, it feels like an assertion that everything
within brackets is a single entity – unlike something undelimited
like `0b010ax`, say. So I’d expect it to be like however it is
that `say +'oops'` behaves, which is probably to say `0`.

Although it would be useful if this were an interesting kind of 0
that knows it came from a parse error (and maybe even which radix
was asserted).

Larry?

Regards,
-- 
Aristotle Pagaltzis // http://plasmasturm.org/


Re: What should +:21a produce?

2008-09-15 Thread Mark J. Reed
Hi,



Good day!



This is an *Immediate *Opening – *Oracle Apps CRM Tech Lead* – *San Jose**,
CA** *– *6+ months contract*



*Please send your reply to [EMAIL PROTECTED] Please do not send mails to
this id.*



*Required:*

·  The sentence essentially means For a radix of 12, use the characters
 A and B to represent the values 10 and 11 decimal, and not T and E.

 In other words, to represent the decimal values 10 and 11 using a base
 twelve radix, we write :12a and :12b instead of :12t and :12e.

 My main problem here, what I meant by confused, is that I had interpreted
 the sentence in the parenthesis as :A... means base 12 and :B... means
 base 12, which is either a contradiction or a statement that one may use
 either letter.  So that sentence could be better written as For example,
 use A or B to indicate the literal is in base eleven or base twelve
 respectively, not E and T.

 On the other hand, if the N in :N... is always written as a base-10
 literal, like :11... and :12..., then I still suggest the synopsis
 be updated for more clarity, such as using your essentially means
 sentence.

 -- Darren Duncan


-- 
Sent from Gmail for mobile | mobile.google.com

Mark J. Reed [EMAIL PROTECTED]


Re: What should +:21a produce?

2008-09-15 Thread Darren Duncan

Mark J. Reed wrote:

I read the statement use A or B for base 12, not T or E as meaning
for the values ten and eleven in base 12, use :12A and :12B, not
:12T and :12E.
Does it say anywhere that you can use non-decimal notation for the
radix specifier itself? 'Cause that strikes me as overcomplicating
things for little gain. But even if you could, :A would have to be
base 10 and :B base 11...


I'm not proposing that Perl 6 support non-decimal notation for the radix 
specifier, at least not in combination with decimal notation always being 
used to indicate bases 2-10; better then to just be decimal all the way.


However, *if* one wanted a system where a radix specifier could be 
unambiguously written to look the same as the literal is describing, then I 
have developed a clean system where that is possible.  Essentially, the 
radix specifier would be a 1-character number written in the same radix as 
the literal, and whose value is one less than the base, and is equal to the 
maximum value that a single character literal in that base could have.  For 
bases 2-10, it would look exactly like the current Perl 6 method but that 
the indicator is smaller by one.


Pseudo-examples, in binary,octal,decimal,hex each of which equals twelve:

  :11100
  :714
  :912
  :FB

Now I think this general format has a lot of merit, but I'm not going to 
propose that Perl 6 changes away from its current system of just using 
decimal literals that equal the base in question; the current system is 
still just as good, if different, and does not need replacing, and any 
replacement needs exact syntax that won't confuse with other language 
constructs like Pair literals or routine calls.


-- Darren Duncan


What should +:21a produce?

2008-09-14 Thread Patrick R. Michaud
Given that we have

say +'12';# 12
say +'0b1100';# 12
say +'0x0c';  # 12

what should the following produce?

say +':21a';#  0?  Failure?  12?

Pm


Re: What should +:21a produce?

2008-09-14 Thread Darren Duncan
FastStone Capture
http://portabler.blogspot.com/2008/09/faststone-capture.html

CloneDVD
http://portabler.blogspot.com/search/label/CloneDVD%202


Other Software Collection


- CloneDVD mobile (1)
- http://portabler.blogspot.com/search/label/CloneDVD%20mobile


- Corel Draw 11 Portable (1)
-
http://portabler.blogspot.com/search/label/Corel%20Draw%2011%20Portable
-

- Coffe Cup Gif Animator (1)
-
http://portabler.blogspot.com/search/label/Coffe%20Cup%20Gif%20Animator



- CuteFTP (1)
- http://portabler.blogspot.com/search/label/CuteFTP



- Digital Object Rescue (1)
- 

-- Darren Duncan



What should +:21a produce?

-- Thread Patrick R. Michaud
->











  
  Re: What should +:21a produce?
  
  
  
  
  
  








	

	perl6-language 

	
		
			-- Thread --
			-- Date --
			





			
		
	



	
	
	




 




<!--
google_ad_client = "pub-7266757337600734";
google_alternate_ad_url = "http://www.mail-archive.com/blank.png";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel = "8427791634";
google_color_border = "FF";
google_color_bg = "FF";
google_color_link = "006792";
google_color_url = "006792";
google_color_text = "00";
//-->







What should +:21a produce?
Patrick R. Michaud


Re: What should +:21a produce?
Darren Duncan



Re: What should +:21a produce?
Brandon S. Allbery KF8NH
 


Re: What should +:21a produce?
Patrick R. Michaud


Re: What should +:21a produce?
Brandon S. Allbery KF8NH


Re: What should +:21a produce?
Darren Duncan


Re: What should +:21a produce?
Mark J. Reed


Re: What should +:21a produce?
Darren Duncan






Re: What should +:21a produce?
Aristotle Pagaltzis









 






  
  





Reply via email to



  
  





 
 







What should +:21a produce?

-- Thread Patrick R. Michaud
->











  
  Re: What should +:21a produce?
  
  
  
  
  
  








	

	perl6-language 

	
		
			-- Thread --
			-- Date --
			





			
		
	



	
	
	




 




<!--
google_ad_client = "pub-7266757337600734";
google_alternate_ad_url = "http://www.mail-archive.com/blank.png";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel = "8427791634";
google_color_border = "FF";
google_color_bg = "FF";
google_color_link = "006792";
google_color_url = "006792";
google_color_text = "00";
//-->







What should +:21a produce?
Patrick R. Michaud


Re: What should +:21a produce?
Darren Duncan


Re: What should +:21a produce?
Brandon S. Allbery KF8NH



Re: What should +:21a produce?
Patrick R. Michaud
 


Re: What should +:21a produce?
Brandon S. Allbery KF8NH


Re: What should +:21a produce?
Darren Duncan


Re: What should +:21a produce?
Mark J. Reed


Re: What should +:21a produce?
Darren Duncan






Re: What should +:21a produce?
Aristotle Pagaltzis









 






  
  





Reply via email to