A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw70/CLHS/Body/02_ca.htm below:

CLHS: Section 2.3.1

CLHS: Section 2.3.1 2.3.1 Numbers as Tokens

When a token is read, it is interpreted as a number or symbol. The token is interpreted as a number if it satisfies the syntax for numbers specified in the next figure.

numeric-token  ::=  integer |
				   ratio   |
				   float       
integer        ::=  [sign]
				   decimal-digit+
				   decimal-point |
				   [sign]
				   digit+      
ratio          ::=  [sign]
				   {digit}+
				   slash
				   {digit}+    
float          ::=  [sign]
				   {decimal-digit}*
				   decimal-point
				   {decimal-digit}+
				   [exponent]  
                    | 
				   [sign]
				   {decimal-digit}+
				   [decimal-point
					   {decimal-digit}*]
				   exponent    
exponent       ::=  exponent-marker
				   [sign]
				   {digit}+    
                                       
sign---a sign.                         
slash---a slash                        
decimal-point---a dot.                        
exponent-marker---an exponent marker.                        
decimal-digit---a digit in radix 10.                        
digit---a digit in the current input radix.                        

Figure 2-9. Syntax for Numeric Tokens

2.3.1.1 Potential Numbers as Tokens
Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4