
 
 a a r d i o  _SsX
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
  0 0a a r d i o   a a r d i o  _SsX  	N(uNLhboN_ _SN}S)SN  6 . x   M B ,   ~roN㉋SsS(u0
 
  _S,goNv;Nvv:N\O(u1ZPN0S_6q_N"kΏ'Y[1u?aMQ9O(u  e*NNbONSNMQ9O(u,goNO(ua a r d i o 6R\OvoNNT
N XfO(ua a r d i o  _S0
 
 
 
 
 
 a a r d i o z 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
  0 0a a r d i o /fN(uNLhboN_ _Sve NNmTWz , 
 
 a a r d i o wQ	gR` {O0up;mvyr'`NSSNTe/ecY`{|W _SaY` 7hO(u0
 
 
 
 	 a a r d i o SNvc/ecSuD L L sSO/fYE X E ۏz-NvQpe_NSNO(u NSNxXf:Nnfva a r d i o Qpe[a(   Suc a l l /ec  ) 
 
 v^N/ec^8^YvhQ(u~[OY  s t d c a l l c d e c l t h i s c a l l f a s t c a l l r e g p a r m ( n )     I{(u~[SN/ec0a a r d i o }6q\FO/ecvcS_0N[0
 
 SN/ecc o m Y`R`ScSaV B S  N7hSu/ecc o m [a0
 
 
 
           (u N*N{USvNxo:y NNNbva a r d i o Nx[INN N*N~gSO
 
         / / [IN{| 0 0
 
         c l a s s   P O I N T   {  0 0
 
                 i n t   x ;   i n t   y ;   / / Y`{|W     0  
 
                 f u n c   =   f u n c t i o n ( ) {  0  
 
                         / / R`{|W 0 0  
 
                 }  0  
 
         } 
 
 	 
 
  0 0ُyhQevmTz  _RN NyhQevze__NV:Nُy yr'`a a r d i o SN^8^eOvL]eQTy,{	Ne vMRa a r d i o SNL]eQGl:ghVxC  J a v a P H P C # P y t h o n J a v a s c r i p t V B S c r i p t . . . . . . I{I{peϑOYv,{	Nez eOvNQpev^NُN(u,{	Ne vR!jWW/fO(ua a r d i o [s(    _>enx  ) 0
 
  0 0a a r d i o SN\lxvvU_lxveN N.L]eQE X E eN\hQz^S+T@b	gDnubrzv~rE X E eNa a r d i o 6R\Ovz^'YY
N [ňz^_N
N ʑ>eD L L ЏL^SNeOv6R\OMQ[ň~roN0
 
  0 0a a r d i o /ecY~z _S
YBgvY~z _S(Wa a r d i o -NS_^8^{UShQ^_NcO'Yϑ{SY~z _SvR/ec^:NY~zoN _S&^eg_'YveOSa a r d i o O  - >   Y~z  	0
 
  0 0a a r d i o vhQ^W,gO(u~a a r d i o nx[sv^NhQ _nhQ^cON'Yϑv{Szv8^(uQpemS0RoN _Sveebbg'Yv{SNLhboN _SǏz0  
 
 
 
 
 
 oNLub_ _S
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
  0 0a a r d i o cOw e b . f o r m /ec^(    _n  ) SNeOvR^w e b zSOR}QuR^w e b Θ<hvoNLubb[sL]eQOmȉhV^(uQuNa a r d i o NxSNeOvNN(u(Wa a r d i o ]zT[̑1\cON  W E B   U I   v!jg(Wa a r d i o &^vO-N1\	g N*NYzSOmȉhVvONNO(uN Nu~3 0 0 Lnx1\[sN N*N{USvYzSQuOmȉhV0
 
  0 0SYa a r d i o cONw e b . l a y o u t /ec^\ňN{ϑ_vLub_dH T M L a y o u t SNO(u O~vH T M L C S S b/gfReOv[soNvLubNЏLT^^g_ _S]wQ0NS[W-N_NcON'YϑH T M L a y o u t vOYezNS_Y'Y[RNvoNvLubnx0
 
  0 0O(ua a r d i o  _S O~Lub_N^8^veOa a r d i o cOSƉS _S]wQSNkeOvvǏbbcNR^z^0O(uhQ^Qnv^ _nvp l u s cNSNeOv[scN]N[<h4V0f4V0NNǏbbn1\SN_6R\OQoNvLubSp l u s cNYez	0  
 
 
 
 
 
 sQN  a a r d i o   v0+TIN
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
  0 0
 
 a r d i o       [ ' Q: d i Y]   [a:NWuWv0_ _SoNv]wQ(   laa a r d i o 	gS͑+TINsSh:ya a r d i o O(uvz _Nh:ya a r d i o vƖb _SsX  ) 0    
 
 
 
 
 
 a a r d i o  _SSz: 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 2 0 0 4 t^WN _nyvl u a  _SQL A S c r i p t v^S_ev!jb|upcQ
 
 S_evL A S c r i p t N6q/f Ny~,g N/ecR`{|Wv^
N/ecY`{|Wz
Nvc(uNSu _S0
NrzQ^(uz^0S(uNQ,ge,g<h_vʑgbLeN	0
 
 
 
 N2 0 0 5 t^ _YWNL A S c r i p t xSev_Kb(   A A U   z   )   
 
 Ye
NSve(uN^8^+ove(W2 0 0 7 t^^Mb[b,{ N*NHr,g/TRN,{ N*NA A U z^0
 
 S_e]~aɉ0Rُ*N]z*Y'Y[^ N]KNRSN[bFOw0RRekvbgbяNNrpvbeQhQ萄ve~~ _SA A U 0
 
 
 
 KQ
gyypN2 0 1 0 t^~N[YS^N,{ N*NlQ _KmՋHr,g
 
 S_evA A U ؏^8^||B U G _YhQ^̑_NS	gQ*N{USv:yO
 
 }6qS/fS^N NN{USvO0l	gZPNHNc^]\OFO؏/f8T_N
N\ _S
 
 v0R2 0 1 1 t^t^^0A A U ~NS^1 . 0 ck_HrA A U hQ^W,gbb_0
 
 
 
 1 . 0 NTS~peCS*NHr,gfe
 
 2 0 1 6 t^ck_9e
T:N  a a r d i o v^cQhQeU n i c o d e Q8h  a a r d i o 1 0  _Y/ecQz
gRz _S0
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 L u a   i s   f r e e   s o f t w a r e   d i s t r i b u t e d   u n d e r   t h e   t e r m s   o f   t h e   M I T   l i c e n s e   r e p r o d u c e d   h e r e .   
 
 L u a   m a y   b e   u s e d   f o r   a n y   p u r p o s e ,   i n c l u d i n g   c o m m e r c i a l   p u r p o s e s ,   a t   a b s o l u t e l y   n o   c o s t .   N o   p a p e r w o r k ,   n o   r o y a l t i e s ,   
 
 n o   G N U - l i k e   " c o p y l e f t "   r e s t r i c t i o n s ,   e i t h e r .   J u s t   d o w n l o a d   i t   a n d   u s e   i t . 
 
 
 
 L u a   i s   c e r t i f i e d   O p e n   S o u r c e   s o f t w a r e .     
 
 I t s   l i c e n s e   i s   s i m p l e   a n d   l i b e r a l   a n d   i s   c o m p a t i b l e   w i t h   G P L .   L u a   i s   n o t   i n   t h e   p u b l i c   d o m a i n   a n d   P U C - R i o   k e e p s   i t s   c o p y r i g h t . 
 
 
 
 T h e   s p i r i t   o f   t h e   L u a   l i c e n s e   i s   t h a t   y o u   a r e   f r e e   t o   u s e   L u a   f o r   a n y   p u r p o s e   a t   n o   c o s t   w i t h o u t   h a v i n g   t o   a s k   u s .   
 
 T h e   o n l y   r e q u i r e m e n t   i s   t h a t   i f   y o u   d o   u s e   L u a ,   t h e n   y o u   s h o u l d   g i v e   u s   c r e d i t   b y   i n c l u d i n g   t h e   c o p y r i g h t   n o t i c e   s o m e w h e r e   i n   y o u r   p r o d u c t   o r   i t s   d o c u m e n t a t i o n .   
 
 A   n i c e ,   b u t   o p t i o n a l ,   w a y   t o   g i v e   u s   f u r t h e r   c r e d i t   i s   t o   i n c l u d e   a   L u a   l o g o   a n d   a   l i n k   t o   o u r   s i t e   i n   a   w e b   p a g e   f o r   y o u r   p r o d u c t . 
 
 
 
 T h e   L u a   l a n g u a g e   i s   e n t i r e l y   d e s i g n e d ,   i m p l e m e n t e d , 
 
   a n d   m a i n t a i n e d   b y   a   t e a m   a t   P U C - R i o   i n   B r a z i l .   T h e   i m p l e m e n t a t i o n   i s   n o t   d e r i v e d   f r o m   l i c e n s e d   s o f t w a r e . 
 
 
 
 C o p y r i g h t   ( C )     1 9 9 4  2 0 1 2   L u a . o r g ,   P U C - R i o . 
 
 P e r m i s s i o n   i s   h e r e b y   g r a n t e d ,   f r e e   o f   c h a r g e ,   t o   a n y   p e r s o n   o b t a i n i n g   a   c o p y   o f   t h i s   s o f t w a r e   a n d   a s s o c i a t e d   d o c u m e n t a t i o n   f i l e s   ( t h e   " S o f t w a r e " ) ,   t o   d e a l   i n   t h e   S o f t w a r e   w i t h o u t   r e s t r i c t i o n ,   i n c l u d i n g   w i t h o u t   l i m i t a t i o n   t h e   r i g h t s   t o   u s e ,   c o p y ,   m o d i f y ,   m e r g e ,   p u b l i s h ,   d i s t r i b u t e ,   s u b l i c e n s e ,   a n d / o r   s e l l   c o p i e s   o f   t h e   S o f t w a r e ,   a n d   t o   p e r m i t   p e r s o n s   t o   w h o m   t h e   S o f t w a r e   i s   f u r n i s h e d   t o   d o   s o ,   s u b j e c t   t o   t h e   f o l l o w i n g   c o n d i t i o n s : 
 
 
 
 T h e   a b o v e   c o p y r i g h t   n o t i c e   a n d   t h i s   p e r m i s s i o n   n o t i c e   s h a l l   b e   i n c l u d e d   i n   a l l   c o p i e s   o r   s u b s t a n t i a l   p o r t i o n s   o f   t h e   S o f t w a r e . 
 
 
 
 T H E   S O F T W A R E   I S   P R O V I D E D   " A S   I S " ,   W I T H O U T   W A R R A N T Y   O F   A N Y   K I N D ,   E X P R E S S   O R   I M P L I E D ,   
 
 I N C L U D I N G   B U T   N O T   L I M I T E D   T O   T H E   W A R R A N T I E S   O F   M E R C H A N T A B I L I T Y ,   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E   A N D   N O N I N F R I N G E M E N T .   
 
 I N   N O   E V E N T   S H A L L   T H E   A U T H O R S   O R   C O P Y R I G H T   H O L D E R S   B E   L I A B L E   F O R   A N Y   C L A I M ,   D A M A G E S   O R   O T H E R   L I A B I L I T Y ,   
 
 W H E T H E R   I N   A N   A C T I O N   O F   C O N T R A C T ,   T O R T   O R   O T H E R W I S E ,   A R I S I N G   F R O M ,   O U T   O F   O R   I N   C O N N E C T I O N   W I T H   T H E   S O F T W A R E   O R   T H E   U S E   O R   O T H E R   D E A L I N G S   I N   T H E   S O F T W A R E . 
 
 
 
 L u a C O M   i s   a v a i l a b l e   u n d e r   t h e   s a m e   t e r m s   a n d   c o n d i t i o n s   a s   t h e   L u a   l a n g u a g e . 
 
 
 
 C o p y r i g h t   ( C )   1 9 9 8 - 2 0 0 5   T e c g r a f ,   P U C - R i o 
 
 A u t h o r s :   V .   A l m e n d r a ,   R .   C e r q u e i r a ,   F .   M a s c a r e n h a s ,   a n d   o t h e r s . 
 
 
 
 P e r m i s s i o n   i s   h e r e b y   g r a n t e d ,   f r e e   o f   c h a r g e ,   t o   a n y   p e r s o n   o b t a i n i n g   a   c o p y 
 
 o f   t h i s   s o f t w a r e   a n d   a s s o c i a t e d   d o c u m e n t a t i o n   f i l e s   ( t h e   " S o f t w a r e " ) ,   t o   d e a l 
 
 i n   t h e   S o f t w a r e   w i t h o u t   r e s t r i c t i o n ,   i n c l u d i n g   w i t h o u t   l i m i t a t i o n   t h e   r i g h t s 
 
 t o   u s e ,   c o p y ,   m o d i f y ,   m e r g e ,   p u b l i s h ,   d i s t r i b u t e ,   s u b l i c e n s e ,   a n d / o r   s e l l 
 
 c o p i e s   o f   t h e   S o f t w a r e ,   a n d   t o   p e r m i t   p e r s o n s   t o   w h o m   t h e   S o f t w a r e   i s 
 
 f u r n i s h e d   t o   d o   s o ,   s u b j e c t   t o   t h e   f o l l o w i n g   c o n d i t i o n s : 
 
 
 
 T h e   a b o v e   c o p y r i g h t   n o t i c e   a n d   t h i s   p e r m i s s i o n   n o t i c e   s h a l l   b e   i n c l u d e d   i n 
 
 a l l   c o p i e s   o r   s u b s t a n t i a l   p o r t i o n s   o f   t h e   S o f t w a r e . 
 
 
 
 T H E   S O F T W A R E   I S   P R O V I D E D   " A S   I S " ,   W I T H O U T   W A R R A N T Y   O F   A N Y   K I N D ,   E X P R E S S   O R 
 
 I M P L I E D ,   I N C L U D I N G   B U T   N O T   L I M I T E D   T O   T H E   W A R R A N T I E S   O F   M E R C H A N T A B I L I T Y , 
 
 F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E   A N D   N O N I N F R I N G E M E N T .     I N   N O   E V E N T   S H A L L   T H E 
 
 A U T H O R S   O R   C O P Y R I G H T   H O L D E R S   B E   L I A B L E   F O R   A N Y   C L A I M ,   D A M A G E S   O R   O T H E R 
 
 L I A B I L I T Y ,   W H E T H E R   I N   A N   A C T I O N   O F   C O N T R A C T ,   T O R T   O R   O T H E R W I S E ,   A R I S I N G   F R O M , 
 
 O U T   O F   O R   I N   C O N N E C T I O N   W I T H   T H E   S O F T W A R E   O R   T H E   U S E   O R   O T H E R   D E A L I N G S   I N 
 
 T H E   S O F T W A R E . 
 
 