ebook14-4

Size: px
Start display at page:

Download "ebook14-4"

Transcription

1 4 TINY LL(1) First F o l l o w t o p - d o w n backtracking parser predictive parser recursive-descent parsing L L ( 1 ) LL(1) parsing L L ( 1 ) L L ( 1 ) 1 L 2 L 1 L L ( k ) k L L ( 1 ) F i r s t F o l l o w T I N Y A A

2 1 0 6 c a s e i f exp exp addop term t e r m addop + - term term mulop factor f a c t o r mulop * factor ( exp ) n u m b e r factor factor p ro c e d u re factor ; b e g i n case token of ( : m a t c h( () ; exp ; m a t c h( ) ) ; number : else e rro r ; end c a s e ; end f a c t o r ; match (n u m b e r) ; t o k e n m a t c h p ro c e d u re match ( e x p e c t e d Token ) ; b e g i n if token = e x p e c t e d Token t h e n g e t Token ; e l s e e rror ; end if ; end match ; m a t c h f a c t o r e rro r match (( ) f a c t o r match (n u m b e r) e x p e c t e d To k e n t o k e n match ()) t o k e n f a c t o r e x p e x p t e r m t e r m f a c t o r f a c t o r e x p f a c t o r E B N F

3 E B N F i f if-stmt i f ( exp ) s t a t e m e n t p ro c e d u re ifstmt ; b e g i n match (i f) ; match (() ; exp ; match ( )) ; statement ; i f token = e l s e t h e n m a t c h (e l s e) ; statement ; end if ; end ifstmt ; i f ( exp ) statement e l s e s t a t e m e n t i f e l s e e l s i f E B N F if-stmt if ( exp ) statement [ e l s e statement ] B N F E B N F i f S t m t E B N F E B N F e l s e B N F e x p exp exp addop term t e r m e x p e x e x p t e r m exp exp addop term exp t e r m E B N F exp term { addop term } p ro c e d u re exp ; b e g i n term ; while token = + or token = - do

4 1 0 8 match (t o k e n) ; term ; end while ; end exp ; t e r m E B N F p ro c e d u re term ; b e g i n factor ; while token = * d o match (t o k e n) ; factor ; end while ; end term ; term factor { mulop factor } addop m u l o p addop + - mulop * e x p t e r m B N F function exp : integer ; var temp : integer ; b e g i n temp := term ; while token = + or token = - do case token o f + : match (+) ; temp := temp + term ; - : match (-) ; temp := temp term ; end case ; end while ; return temp ; end exp ; t e r m 4-1

5 4 109 C g e t c h a r s c a n f g e t T o k e n 4-1

6 1 1 0 E B N F 4. 4 T I N Y e x p t e r m t e r m 1 t o k e n t o k e n m a t c h g e t To k e n E B N F e x p

7 4 111 function exp : s y n t a x Tree ; var t e m p, newtemp : s y n t a x Tree ; b e g i n temp := term ; while token = + or token = - d o case token o f + : match (+) ; newtemp := m a k e O p N o d e(+) ; l e f t C h i l d(n e w t e m p) := temp ; r i g h t C h i l d(n e w t e m p) := term ; temp := newtemp ; - : match (-) ; newtemp := m a k e O p N o d e(-) ; l e f t C h i l d(n e w t e m p) := temp ; r i g h t C h i l d(n e w t e m p) := t e r m ; temp := newtemp ; end case ; end while ; return temp ; end exp ; function exp : s y n t a x Tree ; var t e m p, newtemp : s y n t a x Tree ; b e g i n temp := term ; while token = + or token = - d o newtemp := m a k e O p N o d e(t o k e n) ; match (t o k e n) ; l e f t C h i l d(n e w t e m p) := temp ; r i g h t C h i l d(n e w t e m p) := term ; temp := newtemp ; end while ; return temp ; end exp ; m a k e O p N o d e leftchild (t) := p rightchild (t) := p p t e x p e x p e x t e r m t e r m f a c t o r

8 1 1 2 i f function ifstatement : s y n t a x Tree ; var temp : s y n t a x Tree ; b e g i n match (i f) ; match (() ; temp := m a k e S t m t N o d e(i f) ; t e s t C h i l d(t e m p) := exp ; match ( ) ) ; t h e n C h i l d(t e m p) := statement ; i f token = e l s e t h e n e l s e match (e l s e) ; e l s e C h i l d(t e m p) := statement ; e l s e C h i l d(t e m p) := nil ; end if ; end ifstatement ; T I N Y C B N F E B N F E B N E B N F B N F A α β... α β A α A β α β F i r s t 4. 3 A A A F o l l o w 4. 3 F i r s t F o l l o w 4-1 ) 3-2 ) e x p t e r m f a c t o r 1 e x p e x p F i r s t

9 LL(1) LL(1) L L ( 1 ) L L ( 1 ) ) S (S) S ( ) S $ S 3 E O F $ S ( ) $ S ( S ) S 2 $ S ) S ( ( ) $ 3 $ S ) S ) $ S 4 $ S ) ) $ 5 $ S $ S 6 $ $ $ S t a rt S y m b o l InputString $ $ $ accept S () B N F 1) A α A 2) 1 g e n e r a t e B N F 2

10 1 1 4 B N F α $ S ( ) $ S S ( S ) S S ) S ( $ S ) S ( ( ) $ $ S ) S ) $ 4-1 ( ) S ( S ) S [S ( S ) S] ( ) S ( ) [S ] [S ] ( S ) S S 4 S LL(1) A A A L L ( 1 ) (LL(1) parsing table) $ M [N, T ] N T $ M M [N, T ] 1) A α α *aβ a A α M [A, a] 2) A α α S $ βaaγ S a $ A α M [A, a] 1 a α a A α 2 A A α a

11 4 115 A A α A 2 α= F i r s t F o l l o w 1 (S) 3 $ S S (S)S S M [S, (] 1 S (S) S 2 α= β= (, A = S, a = ) γ = S $ S M [S, )] S $ *S$ S M [S, $] L L ( 1 ) L L ( 1 ) - G L L ( 1 ) L L ( 1 ) (LL(1) grammar) L L ( 1 ) L L ( 1 L L ( 1 ) 4-2 L L ( 1 ) 4-2 e l s e 4-2 L L ( 1 )

12 1 1 6 i f statement if-stmt o t h e r if-stmt if ( exp ) statement else-part e l s e - p a rt e l s e statement exp 0 1 L L ( 1 ) 4-2 ( ) 4-2 i f L L ( 1 ) M [N, T ] i f O t h e r e l s e 0 1 $ s t a t e m e n t s t a t e m e n t s t a t e m e n t i f - s t m t i f - s t m t if-stmt i f ( exp ) s t a t e m e n t e l s e - p a rt o t h e r e l s e - p a rt e l s e - p a rt e l s e - p a rt e l s e s t a t e m e n t e l s e - p a rt e x p Exp 0 exp M[ e l s e - p a rt, e l s e] e l s e e l s e - p a rt e l s e s t a t e m e n t e l s e - p a rt 4-2 L L ( 1 ) 4-3 L L ( 1 ) if(0) if(1) other else other statement = S if-stmt = I e l s e - p a rt = L exp = E i f = i e l s e = e o t h e r = o ) 4-3 i f L L ( 1 ) $ S i ( 0 ) i ( 1 )oeo $ S I $ I i ( 0 ) i ( 1 )oeo $ I i ( E ) S L $ LS )E (i i(0)i(1)oeo$ $ L S ) E ( ( 0 ) i ( 1 )oeo $ $ L S ) E 0 ) i ( 1 )oeo $ E 0 $ LS )o 0)i(1)oeo$

13 4 117 $ LS ) )i(1)oeo$ $ LS i(1)oeo$ S I $ LI i(1)oeo$ I i ( E ) S L $ LL S )E (i i(1)oeo$ I i ( E ) S L $ LL S )E (i i(1)oeo$ $ L L S ) E ( ( 1 )oeo$ $ LL S )E 1)oeo$ E 1 $ LL S ) )oeo$ $ LL S oeo$ S o $ LL o oeo$ $ L L eo $ L e S $ LS e eo$ $ L S o $ S o $ L o o $ $ L $ L $ $ L L ( 1 ) L L ( 1 ) E B N F L L ( 1 ) B N F L L ( 1 ) left recursion removal left factoring L L ( 1 ) E B N F L L ( 1 ) 1) exp exp addop term t e r m a d d o p a d d o p exp exp + term exp - term t e r m immediate left recursion e x p A B b... B A a...

14 A Aα β α β A β α n (n 0 A β A Aα β α A βa A αa 4.1 exp exp addop term t e r m A Aα β A = e x p α = addop term β = t e r m exp term exp e x p addop term exp 2 A Aα 1 Aα 2... Aα n β 1 β 2... β m β 1,..., β m A 4.2 A β 1 A β 2 A... β m A A α 1 A α 2 A... α n A exp exp + term exp - term t e r m exp term exp 3 e x p + term exp - term exp c y c l e A α *A A 1,..., A m A i A i A j γ j i 1 m i 4-3

15 A B a A a c B B b A b d B A = A= B n = A 1 i = 1 i = 2 i = 1 j A A B a A c A A a A B B b A b d i = 2 j = 1 A B A b A B a A c A A a A B B b B a A b c A b d B A B a A c A A a A B c A b B d B B b B a A b B exp t e r m e x p e x p a d d o p t e r m e x p a d d o p + - t e r m f a c t o r t e r m A 2 t e r m m u l o p f a c t o r t e r m m u l o p * f a c t o r ( exp ) n u m b e r 4-1

16 e x p e x p e x 4-1 e x p e x 5-6 e x p - 6 e x p e x p e x p p ro c e d u re exp ; b e g i n t e r m ; e x p ; end exp ; p ro c e d u re e x p ; b e g i n case t o k e n o f + : match ( + ) ; t e r m ; e x p ; - : match ( - ) ;

17 4 121 t e r m ; e x p ; end case ; end e x p ; function exp : integer ; var temp : integer ; b e g i n temp := t e r m ; return e x p (t e m p) ; end exp ; function e x p ( valsofar : integer ) : integer ; b e g i n if token = + or token = - t h e n case token of + : match ( + ) ; valsofar := valsofar + t e r m ; - : match ( - ) ; valsofar := valsofar t e r m ; end case ; return e x p (v a l s o f a r) ; else return valsofar ; end e x p ; e x p e x p 4. 1 E B N F 4-1 L L ( 1 ) L L ( 1 ) L L ( 1 ) M [N, T ] ( n u m b e r ) + - * $ e x p exp exp t e r m e x p term exp e x p e x p e x p e x p e x p a d d o p a d d o p t e r m e x p t e r m e x p a d d o p addop a d d o p + -

18 1 2 2 M [N, T ] ( n u m b e r ) + - * $ t e r m t e r m t e r m f a c t o r f a c t o r t e r m t e r m t e r m t e r m t e r m t e r m t e r m t e r m m u l o p f a c t o r t e r m m u l o p m u l o p * f a c t o r factor f a c t o r ( exp ) n u m b e r 2) A αβ α γ stmt-sequence stmt ; stmt-sequence s t m t stmt s i f if-stmt i f ( exp ) s t a t e m e n t i f ( exp ) statement e l s e s t a t e m e n t L L ( 1 ) α A αa A β γ A α β γ α

19 stmt-sequence stmt ; stmt-sequence s t m t stmt s s t m t - s e q u e n c e stmt-sequence stmt stmt-seq s t m t - s e q ; s t m t - s e q u e c n e s t m t - s e q u e n c e stmt-sequence stmt-sequence ; stmt s t m t stmt-sequence stmt stmt -s e q s t m t - s e q ; stmt stmt-seq stmt stmt-seq s t m t- s e q u e n c e 4.5 i f if-stmt i f ( exp ) s t a t e m e n t i f ( exp ) statement e l s e s t a t e m e n t if-stmt i f ( exp ) statement else-part e l s e - p a rt e l s e statement exp t e r m + exp t e r m exp t e r m e x p e x p + exp e x p t e r m e x p exp t e r m e x p e x p + t e r m e x p

20 L L ( 1 ) statement assign-stmt call-stmt o t h e r assign-stmt i d e n t i f i e r := e x p call-stmt identifier ( e x p-list ) i d e n t i f i e r assign-stmt call-stmt 1 L L ( 1 ) i d e n t i f i e r assign-stmt call-stmt statement i d e n t i f i e r := e x p i d e n t i f i e r ( e x p-l i s t ) o t h e r statement identifier s t a t e m e n t o t h e r s t a t e m e n t : = exp ( e x p - l i s t ) s t a t e m e n t L L ( 1 ) L L ( 1 ) L L ( 1 ) L L ( 1 ) L L ( 1 ) L L ( 1 ) L L ( 1 ) 4.8 B N F E E + n n L L ( 1 ) E n E E + n E

21 4 125 value stack m a t c h 2 (#) + E E + n # E E $ E $ E n E $ $E n $ / $ $ E $ E +n# E 3 $ $ E # n $ 3 $ $ E # n $ / 3 $ $ E # + 5 $ 4 3 $ $ E + 5 $ E +n# E 7 $ $ E # n $ 7 $ $ E # n 5 $ / 7 $ $ E # $ 5 7 $ $ E $ E e 12 $ $ $ 12 $ 4.3 First F o l l o w L L ( 1 ) L L ( 1 ) F i r s t F o l l o w L L ( 1 ) First X First (X) 1. X First (X) = {X} 2. X X X 1 X 2... X n First (X) F i r s t (X 1 ) { } i < n First (X 1 ),..., First (X i )

22 1 2 6 First (X) First (X i + 1 ) { } First (X 1 ),..., First (X n ) First (X) α = X 1 X 2... X n First ( ) First (α) First (X 1 ) - { } i = 2,..., n k = 1,..., i 1 First (X k ) First (α) First (X i ) { } i =1,..., n First (X i ) First (α) A F i r s t (A) First α First n F i r s t n α A First (A) A A X 1... First (A) First (X 1 ) 4-5 k = 1 while 4-6 First (X 1 ) X A * n u l l a b l e First (A) A A First (A) A A First (A) First ( ) ={ } < n A X 1... X k * n A X 1... X k

23 4 127 X i X i X i * n i First (X i ) First (A) F i r s t 4.9 exp exp addop t e r m t e r m a d d o p + - t e r m t e r m m u l o p f a c t o r f a c t o r m u l o p * f a c t o r ( exp ) n u m b e r (1) exp exp addop t e r m (2) exp t e r m (3) a d d o p + (4) a d d o p - (5) t e r m t e r m m u l o p f a c t o r (6) t e r m f a c t o r (7) m u l o p * (8) f a c t o r ( exp ) (9) f a c t o r n u m b e r F i r s t 1 First (e x p) First (e x p) First (t e r m) First (e x p) First (t e r m) 3 4 First (a d d o p) + - First (a d d o p) = {+,-} 5 6 First (f a c t o r) First (t e r m) First (f a c t o r) 7 First (m u l o p) * First (m u l o p) = {*} 8 ( First (f a c t o r) 9 n u m b e r First (f a c t o r) First (f a c t o r) = { (, n u m b e r } ( F i r s t (t e r m) 6 First (f a c t o r) First (t e r m) First (f a c t o r) = {(,n u m b e r } First (t e r m) = {(,n u m b e r } First (t e r m) First (e x p) First (e x p) = {(,n u m b e r } 4 L L ( 1 ) L L ( 1 ) F i r s t F i r s t

24 1 2 8 F i r s t First (e x p) = {(, n u m b e r } First (t e r m) = {(, n u m b e r } First (f a c t o r) = {(, n u m b e r } First (a d d o p) = { +, - } First (m u l o p) = {*} f a c t o r F i r s t exp exp a d d o pt e r m e x p t e r m First (e x p) = {(, n u m b e r} a d d o p + First (a d d o p) = {+} a d d o p - First (a d d o p) = {+, -} t e r m t e r m m u l o p f a c t o r t e r m f a c t o r F i r s t (t e r m) = {(, n u m b e r} m u l o p * First (m u l o p) = {*} f a c t o r ( e x p ) First (f a c t o r) = {(} f a c t o r n u m b e r First (f a c t o r) = {(, n u m b e r} 4.10 i f 4. 5 statement if-stmt o t h e r if-stmt i f ( e x p ) statement else-part e l s e - p a rt e l s e statement e x p 0 1 e l s e - p a rt First

25 4 129 (1) statement i f - s t m t (2) s t a t e m e n t o t h e r (3) if-stmt i f ( e x p ) statement else-part (4) e l s e - p a rt e l s e s t a t e m e n t (5) e l s e - p a rt (6) e x p 0 (7) e x p 1 First First (i f - s t m t) 1 2 o t h e r First (i f - s t m t) First (s t a t e m e n t) = {o t h e r} 3 i f First (i f - s t m t) First (i f - s t m t) = {i f} 4 First (e l s e - p a rt) e l s e First (e l s e - p a rt) = {e l s e} 5 First (e l s e - p a rt) First (e l s e - p a rt) = {e l s e, } First (e x p) First (e x p) = {0, 1} 1 First (i f - s t m t) i f i First (s t a t e m e n t) F i r s t (s t a t e m e n t) = {i f,o t h e r} 2 3 F i r s t First (s t a t e m e n t) = {i f, o t h e r} First (i f - s t m t) = {i f} First (e l s e - p a rt) = {e l s e, } First (e x p) = {0, 1} F i r s t 1 2 statement i f - s t m t First (s t a t e m e n t) = {i f, o t h e r} statement o t h e r First ( s t a t e m e n t) = {o t h e r} if-stmt i f ( e x p ) First ( i f - s t m t) = statement else-part {i f} e l s e - p a rt e l s e First ( e l s e - p a rt) = statement {e l s e} e l s e - p a rt First ( e l s e - p a rt) = {e l s e, } exp 0 First ( e x p) = {0} e x p 1 First (e x p) = {0, 1} stmt-sequence stmt stmt-seq s t m t - s e q ; stmt-sequence

26 1 3 0 s t m t s (1) stmt-sequence stmt stmt-seq (2) s t m t - s e q ; s t m t - s e q u e n c e (3) s t m t - s e q (4) stmt s First (s t m t - s e q ) = {;, } 4 First (s t m t) = {s} 2 1 First (s t m t - s e q u e n c e) = First (s t m t) = {s} 3 F i r s t First (s t m t - e w q u e n c e) = {s} First (s t m t) = {s} First (s t m t - s e q ) = {;, } Follow A F o l l o w (A) $ F o l l o w (A) 1. A $ F o l l o w (A) 2. B αaγ First (γ) - { } F o l l o w (A) 3. B αaγ F i r s t (γ) F o l l o w (A) F o l l o w (B) F o l l o w $ F o l l o w $ F o l l o w F o l l o w F o l l o w F i r s t F o l l o w $ E O F F o l l o w First F o l l o w L L ( 1 ) F o l l o w F o l l o w F i r s t α A A α A F o l l o w A Follow (A) Follow First First A αb Follow (B) ( 3 ) Follow (A) A αb

27 4 131 First A Bα First (A) First (B) 4-7 F o l l o w F o l l o w 3 F o l l o w 3 First F i r s t 4-7 F o l l o w F i r s t First (e x p) = {(, n u m b e r } First (t e r m) = {(, n u m b e r } First (f a c t o r) = {(, n u m b e r } First (a d d o p) = { +, - } First (m u l o p) = {*} (1) e x p e x p a d d o p t e r m (2) e x p t e r m (3) a d d o p + (4) a d d o p - (5) t e r m t e r m m u l o p f a c t o r (6) t e r m f a c t o r (7) m u l o p * (8) f a c t o r ( e x p ) (9) f a c t o r n u m b e r F o l l o w Follow (e x p) = {$} F o l l o w 1 3 F o l l o w e x p a d d o p t e r m First (a d d o p) F o l l o w (e x p) Follow (e x p) = {$, +, -} First (t e r m) Follow (a d d o p) Follow (a d d o p) = {(, n u m b e r} Follow (e x p) Follow ( t e r m) F o l l o w (t e r m) = {$, +, -} 2 Follow (e x p) Follow (t e r m) 1 F o l l o w

28 First (m u l o p) Follow (t e r m) Follow (t e r m) = {$, +, -, *} First (f a c t o r) Follow (m u l o p) Follow (m u l o p) = {(, n u m b e r} Follow (t e r m) Follow (f a c t o r) Follow (f a c t o r) = {$, +, -, *} F i r s t ( ) ) = {)} Follow (e x p) Follow (e x p) = {$, +, -, )} 2 1 ) Follow (t e r m) ( Follow (t e r m) = {$, +, -, *, )}) 5 Follow (f a c t o r) ( Follow (f a c t o r) = {$, +, -, *, )}) 3 F o l l o w Follow (e x p) = {$, +, -, )} Follow (a d d o p) = {(, n u m b e r} Follow (t e r m) = {$, +, -, *,)} Follow (m u l o p) = {(,n u m b e r} Follow (f a c t o r) = {$, +, -, *, )} F i r s t 4-8 F o l l o w 4 e x p t e r m t e r m f a c t o r F o l l o w 1 2 e x p e x p a d d o p Follow ( e x p) = Follow (t e r m) = t e r m {$, +, -} {$, +, -, *, )} Follow ( a d d o p) = {(, n u m b e r} Follow ( t e r m) = {$, +, -} e x p t e r m t e r m t e r m m u l o p Follow ( t e r m) = Follow ( f a c t o r) = f a c t o r {$, +, -, *} {$, +, -, *, )} Follow ( m u l o p) = {(, n u m b e r} Follow ( f a c t o r) = {$, +, -, *} t e r m f a c t o r factor ( e x p ) Follow (e x p) = {$, +, -, )} 4.13 i f F i r s t First (s t a t e m e n t) = {i f, o t h e r} First (i f - s t m t) = {i f} First (e l s e - p a rt) = {e l s e, }

29 4 133 First (e x p) = {0, 1} (1) statement i f - s t m t (2) statement o t h e r (3) if-stmt i f ( e x p ) statement else-part (4) e l s e - p a rt e l s e s t a t e m e n t (5) e l s e - p a rt (6) e x p 0 (7) e x p F o l l o w Follow (s t a t e m e n t) = {$} F o l l o w 1 Follow (s t a t e m e n t) Follow (i f - s t m t) Follow (i f - s t m t) = {$} 3 e x p s t a t e m e n t e l s e - p a rt F o l l o w Follow (e x p) First ()) = {)} Follow (e x p) = {)} Follow (s t a t e m e n t) First (e l s e - p a rt) - { } Follow (s t a t e m e n t) = {$, e l s e} Follow (i f - s t m t) Follow (e l s e - p a rt) Follow (s t a t e m e n t) i f - s t m t 1 Follow (e l s e - p a rt) = {$} 2 4 F o l l o w (e l s e - p a rt) Follow (s t a t e m e n t) 2 1 Follow (s t a t e m e n t) Follow (i f - s t m t) Follow (i f - s t m t) = {$, e l s e} 3 e l s e Follow (e l s e - p a rt) Follow (e l s e - p a rt) = {$, e l s e} 4 3 F o l l o w Follow (s t a t e m e n t) = {$, e l s e} Follow (i f - s t m t) = {$, e l s e} Follow (e l s e - p a rt) = {$, e l s e} Follow (e x p) = {)} F o l l o w (1) stmt-sequence stmt stmt-seq (2) s t m t - s e q ; s t m t - s e q u e n c e (3) s t m t - s e q (4) stmt s F i r s t First (s t m t - e w q u e n c e) = {s} First (s t m t) = {s} First (s t m t - s e q ) = {;, } 3 4 F o l l o w Follow ( s t m t - s e q u e n c e) = {$} F o l l o w 1 Follow (s t m t) = {;} Follow (s t m t - s e q ) = {$} 2 F o l l o w Follow (s t m t - e e q u e n c e) = {$}

30 1 3 4 Follow (s t m t) = {;} Follow (s t m t - s e q ) = {$} L L ( 1 ) L L ( 1 ) ) A α α αβ α A α M [A, a] 2) A S$ Aa β S a $ A M [A, a] 1 a First (α) 2 a Follow (A) LL(1) LL(1) M[N, T] A A α 1) First (α) a A α M [A, a] 2) First (α) Follow (A) a $ A α M [A, a] L L ( 1 ) 4.15 B N F L L(1) LL(1) grammar 1. A α 1 α 2... α n i j 1 i j n i j First (α i ) First (α j ) 2. A First (A) First (A) Follow ( A) 4. 9 e x p t e r m e x p e x p a d d o p t e r m e x p a d d o p + - t e r m f a c t o r t e r m t e r m m u l o p f a c t o r t e r m m u l o p * f a c t o r ( e x p ) n u m b e r F i r s t F o l l o w First (e x p) = {(, n u m b e r} Follow (e x p) = {$, )} First (e x p ) = {+, -, } Follow (e x p ) = {$, )} First (a d d o p) = {+, -} Follow (a d d o p) = {(, n u m b e r} First (t e r m) = {(, n u m b e r} Follow (t e r m) = {$, ), +, -} First (t e r m ) = {*, } Follow (t e r m ) = {$, ), +, -} First (m u l o p) = {*} Follow (m u l o p) = {(, n u m b e r}

31 4 135 First (f a c t o r) = {(, n u m b e r} Follow (f a c t o r) = {$, ), +, -, *} L L ( 1 ) if s t a t e m e n t i f - s t m t o t h e r i f - s t m t i f ( e x p ) s t a t e m e n t e l s e - p a rt e l s e - p a rt e l s e s t a t e m e n t e x p 0 1 F i r s t F o l l o w First (s t a t e m e n t) = {i f, o t h e r} Follow (s t a t e m e n t) = {$, e l s e} First (i f - s t m t) = {i f} Follow (i f - s t m t) = {$, e l s e} First (e l s e - p a rt) = {e l s e, } Follow (e l s e - p a rt) = {$, e l s e} First (e x p) = {0, 1} Follow (e x p) = {)} L L ( 1 ) ) s t m t - s e q u e n c e s t m t s t m t - s e q s t m t - s e q ; s t m t - s e q u e n c e s t m t s F i r s t F o l l o w First (s t m t - e w q u e n c e) = {s} Follow (s t m t - e e q u e n c e) = {$} First (s t m t) = {s} Follow (s t m t) = {;, $} First (s t m t - s e q ) = {;, } Follow (s t m t - s e q ) = {$} L L ( 1 ) M [N, T ] s ; $ s t m t - s e q u e n c e s t m t - s e q u e n c e s t m t s t m t - s e q s t m t s t m t s s t m t - s e q s t m t - s e q s t m t - s e q ; s t m t - s e q u e n c e L L ( k ) k F i r s t k (α) = { w k α * w } w = w k w k w w k F o l l o w k (A) = { w k S$ * αaw} k = 1 L L (k) L L( k) k L L( k) F o l l o w

32 1 3 6 L L( k) L L( k) L L( k) (Strong LL( k) p a r s i n g ) S L L( k) S L L( k) parsing L L( k) S L L( k) k L L ( 1 ) L L( k) k L L( k) k L L( k) 4.4 TINY B T I N Y E B N F EBNF T I N Y T I N Y 4. 1 p a r s e. h p a r s e. c p a r s e. h B TreeNode * parse (void); p a r s e p a r s e p a r s e. c B E B N F s t m t - s e q u e n c e s t a t e m e n t p ro g r a m p a r s e s t m t _ s e q u e n c e t o k e n m a t c h g e t T o k e n s y n t a x E r r o r p a r s e t o k e n 1 s t m t _ s e q u e n c e s t m t _ s e q u e n c e s t m t _ s e q u e n c e

33 4 137 s t m t _ s e q u e n c e 3 u t i l. c B u t i l. h B ) n e w S t m t N o d e ) n e w E x p N o d e ) c o p y S t r i n g C c o p y S t r i n g u t i l. c p r i n t T r e e u t i l. c t r a c e P a r s e p r i n t T r e e T I N Y t r a c e P a r s e p r i n t Tr e e T I N Y 4.5

34 1 3 8 r e c o g n i z e r 1 error correction error repair minimal distance error correction 1) 2) 3) error cascade problem 4) panic mode synchronizing token scan ahead Wirth [1976]

35 4 139 F o l l o w F o l l o w F i r s t m a t c h e rro r c h e c k i n p u t s c a n t o p ro c e d u re scanto ( synchset ) ; b e g i n while not ( token i n synchset { $ }) d o g e t Token ; end scanto ; p ro c e d u re checkinput ( f i r s t s e t, followset ) ; b e g i n if not ( token i n firstset ) t h e n e rror ; scanto ( firstset followset ) ; end if ; e n d ; $ E O F e x p f a c t o r s y n c h s e t p ro c e d u re e x p ( synchset ) ; b e g i n checkinput ( { (, n u m b e r }, synchset ) ; if not ( token i n synchset ) t h e n t e r m ( synchset ) ; while token = + or token = - d o match (t o k e n) ; t e r m ( synchset ) ; end while ; checkinput ( s y n c h s e t, { (, n u m b e r }) ; end if; end e x p ; p ro c e d u re f a c t o r ( synchset ) ; b e g i n checkinput ( {(, n u m b e r}, synchset ) ; if not ( token in synchset ) t h e n

36 1 4 0 case token of ( : match (() ; e x p ( { ) } ) ; m a t c h()) ; n u m b e r : m a t c h (n u m b e r) ; else e rror ; end case ; checkinput ( s y n c h s e t, { (, n u m b e r }) ; end if ; end f a c t o r ; c h e c k i n p u t First F o l l o w s y n c h s e t checkinput e rror ( )* s y n c h s e t f a c t o r F o l l o w e x p s y n c h s e t ( 2 + *) C L L ( 1 ) L L ( 1 ) s y n c h s e t c h e c k i n p u t A F i r s t (A) F i r s t (A) First ) 4-2 c h e c k i n p u t L L ( 1 ) A F i r s t (A) F i r s t (A) First ) 3 1) A 2) 3) c h e c k i n p u t

37 4 141 $ F o l l o w (A) 1 $ F i r s t (A) F o l l o w (A) p o p 2 s c a n p o p L L ( 1 ) ( 2 + *) L L ( 1 ) (2 + E e x p E e x p L L ( 1 ) 4-4 M [N, T ] ( n u m b e r ) + - * $ e x p e x p e x p p o p s c a n s c a n s c a n p o p t e r m e x p t e r m e x p e x p s c a n s c a n e x p e x p e x p a d d o p a d d o p s c a n e x p t e r m e x p t e r m e x p a d d o p p o p p o p s c a n a d d o p a d d o p s c a n p o p + - t e r m t e r m t e r m f a c t o r f a c t o r p o p p o p p o p s c a n p o p t e r m t e r m t e r m s c a n s c a n t e r m t e r m t e r m t e r m t e r m m u l o p f a c t o r t e r m m u l o p p o p p o p s c a n s c a n s c a n m u l o p * p o p f a c t o r f a c t o r f a c t o r p o p p o p p o p p o p p o p ( e x p ) n u m b e r 4-10 LL(1) 4-9 $ E T ) E T *)$ $ E T ) E T )$ $ E T ) E )$ E $ E T ) )$ $ E T $ T $ E $ E $ $ T I N Y B T I N Y

38 1 4 2 m a t c h s t a t e m e n t f a c t o r p a r s e w r i t e... 5: read x ; 6: if 0 < x then 7: fact := 1; 8: repeat 9: fact := fact * x; 10: x := x : until x = 0 ; 12: write fact ; {<- - BAD SEMICOLON! } 13: end 14 : Syntax error at line 13: unexpected token -> reserved word: end Syntax error at line 14: unexpected token -> EOF 2 <... 5: read x ; 6: if 0 x then { <- - COMPARISON MISSING HERE! } 7: fact := 1; 8: repeat 9: fact := fact * x; 10: x := x : until x = 0 ; 12: write fact ; 13: end 14 : 4 Syntax error at line 6 : unexpected token -> ID, name = x Syntax error at line 6 : unexpected token -> reserved word: then Syntax error at line 6 : unexpected token -> reserved word: then Syntax error at line 7 : unexpected token -> ID, name = fact T I N Y 1 m a t c h 2 s t m t _ s e q u e n c e E B N F s t a t e m e n t (); while (token==semi) { match(semi);

39 4 143 } s t a t e m e n t ( ) ; s t m t _ s e q u e n c e statement() ; while ((token!= ENDFILE) && (token!= END) && (token!= ELSE) && (token!= UNTIL)) { match(semi); s t a t e m e n t (); } 4 s t m t_s e q u e n c e F o l l o w F i r s t s t a t e m e n t f a c t o r F o l l o w F i r s t 1 s t m t _ s e q u e n c e m a t c h s t a t e m e n t f a c t o r e x p t e r m f a c t o r 4.2 A (A) A 4.3 s t a t e m e n t assign-stmt c a l l - s t m t o t h e r a s s i g n - s t m t identifier := e x p c a l l - s t m t identifier ( e x p - l i s t ) 4.4 lexp n u m b e r ( op lexp -seq ) op + - * lexp -seq lexp -seq lexp lexp e x p L L ( 1 ) a * 5-6 b. 3 * ( ) c. 3 - ( * 6 ) L L ( 1 ) a. ( ( ) ) ( ) b. ( ( ) ( ) ) c. ( ) ( ( ) ) 4.7 A (A)A a. A F i r s t F o l l o w b. L L ( 1 ) 4.8

40 1 4 4 a. lexp a t o m l i s t a t o m n u m b e r i d e n t i f i e r l i s t ( lexp -s e q ) lexp -s e q lexp -s e q lexp lexp b. F i r s t F o l l o w c. L L ( 1 ) d. L L ( 1 ) e. (a (b (2)) (c)) L L ( 1 ) lexp atom l i s t atom n u m b e r i d e n t i f i e r list ( lexp - seq ) lexp -seq lexp, lexp -seq lexp a. b. F i r s t F o l l o w c. L L ( 1 ) d. L L ( 1 ) e. (a, (b, (2)), (c)) L L ( 1 ) 4.10 C declaration type var- l i s t type i n t f l o a t v a r-list i d e n t i f i e r, v a r-list i d e n t i f i e r a. b. F i r s t F o l l o w c. L L ( 1 ) d. L L ( 1 ) e. int x,y,z L L ( 1 ) L L ( 1 ) default entry a. L L ( 1 ) b. L L ( 1 )

41 4 145 c. L L ( 1 ) 4.13 L L ( 1 ) F i r s t F o l l o w 4.15 S 1 S 2 S 1 S 2 = { First (x y) x S 1, y S 2 } a. A B F i r s t (A B) = First (A) F i r s t (B) b A α A β (First (α) F o l l o w (A) ) ( F i r s t (β) F o l l o w (A)) 4.16 A a. b. c. F i r s t F o l l o w L L ( 1 ) F i r s t F o l l o w 4.20 a F i r s t F o l l o w b. ( a ) L L ( 1 ) 4.21 A a A a ε a. L L ( 1 ) b. p ro c e d u re A ; b e g i n if token = a t h e n g e t Token ; A ; if token = a then g e t Token ; else e rror ; else if token < > $ then e rror ; end A ; c. b a c k t r a c k i n g u n G e t t o k e n A A a A a A (b) a a a a$ T I N Y T I N Y

42 1 4 6 if 0 then write 1>0 else x := (x<1)+1 end T I N Y i f r e p e a t w r i t e a s s i g n 4.23 a n d o r n o t 4-8 T I N Y T I N Y w h i l e ( 2 )( 3 ) ( )* L L ( 1 ) L L ( 1 ) ( )* a. T I N Y s t m t _ s e q u e n c e T I N Y ) x := 2 y := x + 2 b. x 2 y := x + 2 c. s t m t _ s e q u e n c e s t a t e m e n t (); w h i l e ( t o k en ==S E M I ) { match(semi); s t a t e m e n t (); } s t m t _ s e q u e n c e a b a. / b. % c. ^ d

43 a b. a lexp n u m b e r ( o p lexp -s e q ) o p + - * lexp -seq lexp -s e q lexp lexp L I S P * 42 (- 34 (* 3 42)) 4.35 a. b. a 4.36 a N FA T h o m p s o n 2 b. N FA a D FA c. ( b ) D FA g r e p 4.37 < = > = < > T I N Y T I N Y T I N Y 4.40 a b. a 4.41 T I N Y m a t c h m a t c h m a t c h s y n t a x E r r o r s y n t a x E r r o r m a t c h T I N Y 4.43 L L ( 1 ) Wirth [1976] C

44 1 4 8 typedef struct rulerec { struct rulerec *next, *other; int istoken; u n i o n { Token name ; struct rulerec *rule ; } attr ; } Rulerec ; n e x t o t h e r f a c t o r ( e x p ) n u m b e r e x p a. 4-1 b. c. B N F A l g o 160 [ N a u r, 1963] B N F H o a r e [ 1962 ] H a s k e l l M i r a n d a Peyton Jones Lester [1992] Hutton [1992] Wirth [1976] E B N F L L ( 1 ) Lewis S t e a r n s

45 4 149 [ 1968 ] Fischer LeBlanc [1991] L L ( k ) S L L ( 2 ) L L ( 2 ) P a r r D i e t z Cohen [1992] L L ( k ) G r a h a m H a r r i s o n Ruzzo [1980] Wirth [1976] Stirling [1985] L L ( k ) Burke Fisher [1987] Fischer and LeBlanc [1991] Lyon [1974] 5 Ya c c A n t l r Purdue Compiler Construction Tool Set(PCCTS) P a r r D i e t z a n d Cohen [1992] A n t l r E B N F Fischer LeBlanc [1991] L L G e n L L ( 1 )

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

1912 1985 ( ) ( ) ( ) (486 75 ) (1) (6) (39) (41) (45) (45) (50) (51) (52) (53) (54) (55) (57) (62) (62) (62) (64) (68) (73) (75) (75) l (76) (78) (81) (82) (83) (83) (83) (84) (84) (85) (85) (85)

More information

% %! # % & ( ) % # + # # % # # & & % ( #,. %

% %! # % & ( ) % # + # # % # # & & % ( #,. % !!! # #! # % & % %! # % & ( ) % # + # # % # # & & % ( #,. % , ( /0 ) %, + ( 1 ( 2 ) + %, ( 3, ( 123 % & # %, &% % #, % ( ) + & &% & ( & 4 ( & # 4 % #, #, ( ) + % 4 % & &, & & # / / % %, &% ! # #! # # #

More information

腰部酸痛保健法

腰部酸痛保健法 識 臨 都 老 年 勞 不 不 理 不 便 了 療 離 狀 力 力 易 拉 狀 勞 裂 類 老 年 刺 滑 不 良 六 尿 列 類 說 裂 神 神 見 勞 滑 不 烈 兩 來 暴 力 勞 裂 刺 神 神 狀 見 勞 見 臨 度 降 年 連 都 類 淋 刺 刺 不 勞 易 老 不 不 若 神 神 行 力 不 良 了 不 良 立 年 女 老 年 度 度 度 勞 見 老

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

.., + +, +, +, +, +, +,! # # % ( % ( / 0!% ( %! %! % # (!) %!%! # (!!# % ) # (!! # )! % +,! ) ) &.. 1. # % 1 ) 2 % 2 1 #% %! ( & # +! %, %. #( # ( 1 (

.., + +, +, +, +, +, +,! # # % ( % ( / 0!% ( %! %! % # (!) %!%! # (!!# % ) # (!! # )! % +,! ) ) &.. 1. # % 1 ) 2 % 2 1 #% %! ( & # +! %, %. #( # ( 1 ( ! # %! % &! # %#!! #! %!% &! # (!! # )! %!! ) &!! +!( ), ( .., + +, +, +, +, +, +,! # # % ( % ( / 0!% ( %! %! % # (!) %!%! # (!!# % ) # (!! # )! % +,! ) ) &.. 1. # % 1 ) 2 % 2 1 #% %! ( & # +! %, %. #(

More information

# % & ) ) & + %,!# & + #. / / & ) 0 / 1! 2

# % & ) ) & + %,!# & + #. / / & ) 0 / 1! 2 !!! #! # % & ) ) & + %,!# & + #. / / & ) 0 / 1! 2 % ) 1 1 3 1 4 5 % #! 2! 1,!!! /+, +!& 2! 2! / # / 6 2 6 3 1 2 4 # / &!/ % ). 1!!! &! & 7 2 7! 7 6 7 3 & 1 2 % # ) / / 8 2 6,!!! /+, +! & 2 9! 3 1!! % %

More information

第5章修改稿

第5章修改稿 (Programming Language), ok,, if then else,(), ()() 5.0 5.0.0, (Variable Declaration) var x : T x, T, x,,,, var x : T P = x, x' : T P P, () var x:t P,,, yz, var x : int x:=2. y := x+z = x, x' : int x' =2

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information

科学计算的语言-FORTRAN95

科学计算的语言-FORTRAN95 科 学 计 算 的 语 言 -FORTRAN95 目 录 第 一 篇 闲 话 第 1 章 目 的 是 计 算 第 2 章 FORTRAN95 如 何 描 述 计 算 第 3 章 FORTRAN 的 编 译 系 统 第 二 篇 计 算 的 叙 述 第 4 章 FORTRAN95 语 言 的 形 貌 第 5 章 准 备 数 据 第 6 章 构 造 数 据 第 7 章 声 明 数 据 第 8 章 构 造

More information

Fuzzy Highlight.ppt

Fuzzy Highlight.ppt Fuzzy Highlight high light Openfind O(kn) n k O(nm) m Knuth O(n) m Knuth Unix grep regular expression exact match Yahoo agrep fuzzy match Gais agrep Openfind gais exact match fuzzy match fuzzy match O(kn)

More information

C语言的应用.PDF

C语言的应用.PDF AVR C 9 1 AVR C IAR C, *.HEX, C,,! C, > 9.1 AVR C MCU,, AVR?! IAR AVR / IAR 32 ALU 1KBytes - 8MBytes (SPM ) 16 MBytes C C *var1, *var2; *var1++ = *--var2; AVR C 9 2 LD R16,-X ST Z+,R16 Auto (local

More information

C/C++程序设计 - 字符串与格式化输入/输出

C/C++程序设计 - 字符串与格式化输入/输出 C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int

More information

C/C++ - 文件IO

C/C++ - 文件IO C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;

More information

) & ( +,! (# ) +. + / & 6!!!.! (!,! (! & 7 6!. 8 / ! (! & 0 6! (9 & 2 7 6!! 3 : ; 5 7 6! ) % (. ()

) & ( +,! (# ) +. + / & 6!!!.! (!,! (! & 7 6!. 8 / ! (! & 0 6! (9 & 2 7 6!! 3 : ; 5 7 6! ) % (. () ! # % & & &! # % &! ( &! # )! ) & ( +,! (# ) +. + / 0 1 2 3 4 4 5 & 6!!!.! (!,! (! & 7 6!. 8 / 6 7 6 8! (! & 0 6! (9 & 2 7 6!! 3 : ; 5 7 6! ) % (. () , 4 / 7!# + 6 7 1 1 1 0 7!.. 6 1 1 2 1 3

More information

C/C++语言 - 运算符、表达式和语句

C/C++语言 - 运算符、表达式和语句 C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe

More information

%! # # % % & # ( ) ( +, & +, +, & +, & +, +, &!

%! # # % % & # ( ) ( +, & +, +, & +, & +, +, &! %! # # % % & # ( ) ( +, & +, +, & +, & +, +, &! & &./ 0 # #1 # 2! +, 3 4 4 +,!!!! 4 4 4 4 4 56 7 89 #! 4! 4 4! 4 4! 14 #: 2 4! +,! +, 14 4 ; < = ( 4 < = +14 # : 1 1 4 # : : 3 # (4,! / +, +, +, > +,? 3

More information

(Microsoft Word - 2\246~\257\305.doc)

(Microsoft Word - 2\246~\257\305.doc) 二 年 一 班 陳 淑 卿 老 師 指 導 一 製 作 感 恩 卡 謝 謝 老 師! 我 覺 得 體 育 老 師 好 厲 害, 因 為 他 的 體 力 很 好, 每 天 有 體 力 去 教 學 生 上 課 - 詠 淇 我 的 音 樂 老 師 賴 老 師, 他 長 得 高 高 的, 頭 髮 長 長 的, 還 戴 著 一 副 眼 鏡 我 很 喜 歡 上 音 樂 課, 因 為 賴 老 師 會 教 我 們

More information

# ( + + # + # 6 +,! + # +! +, + # ( + ) ( + ( + ) + 7! + # + /8 + ) ( +! + #. + ( +, +! + # + # + + ( ! ( + ) ( + ) +, + ( + 9% +! +, + ( +

# ( + + # + # 6 +,! + # +! +, + # ( + ) ( + ( + ) + 7! + # + /8 + ) ( +! + #. + ( +, +! + # + # + + ( ! ( + ) ( + ) +, + ( + 9% +! +, + ( + ! ## % & (! ) # (! + ) (, ( + ) ( +! ( + + # + #! + ( + + ( + ) ( + + ( + # + ) +! ( + ( + # +! ( + ) + # ( + ) + # +! ( +. + / 0. + ( + # + # + +, + ) + + ) + 1!, ( 2 1 # 3 )! # ( 4 5 #3 (! # ( 4 # #

More information

第9章 排队论

第9章  排队论 9, 9. 9.. Nt () [, t] t Nt () { Nt ( ) t [, T]} t< t< t< t + N ( ( t+ ) i+ N( t) i, N( t) i,, N( t) i N + + N ( ( t ) i ( t ) i ) (9-) { Nt ( ) t [, T)} 9- t t + t, t,, t t t { Nt ( ) t [, T] } t< t,,

More information

2007 CS Part 05: (ONO, Kouichi)

2007 CS Part 05: (ONO, Kouichi) 2007 CS Part 05: (ONO, Kouichi) onono@computer.org , (expression, formula) (arithmetic expression) (logical expression, logic formula) CS (operator) ( ) (0 ) ( ) CS ( ) (arity) (unary operator) (!) (binary

More information

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha CYPOK CYPOK 1 UltraEdit Project-->Install Language Tool: Language Suite----->hi-tech picc Tool Name ---->PICC Compiler Executable ---->c:hi-picinpicc.exe ( Command-line Project-->New Project-->File Name--->myc

More information

: Previous Next First Last Back Forward 1

: Previous Next First Last Back Forward 1 7-3: : 7.3.................. 1 7.3.1.............. 2 7.3.2..... 8 7.3.3.............. 12 Previous Next First Last Back Forward 1 7.3,, (X 1,, X n )., H 0 : X F Karl Pearson χ 2. : F ˆF n, D( ˆF n, F ),

More information

instructions.PDF

instructions.PDF 94 SIMATIC (END) (END) Micro/WIN 32 (STOP) (STOP) CPU RUN STOP STOP CPU RUN STOP (WDR) (Watchdog Reset) (WDR) CPU WDR WDR ( ) I/O ( I/O ) SM (SM0 SM5 SM29 ) 25 0 ms 00 ms STOP 300ms 300ms WDR S7-200 CPU

More information

2/80 2

2/80 2 2/80 2 3/80 3 DSP2400 is a high performance Digital Signal Processor (DSP) designed and developed by author s laboratory. It is designed for multimedia and wireless application. To develop application

More information

untitled

untitled CHAPTER 02 2 CHAPTER 2-1 2-4 2-2 2-5 2-3 2-6 2-1 2-1-1 2-2 02 int A[3] = {10, 20, 30; A[0] 10 A[1] 20 A[2] 30 int *pa[3], A[3]; C 3 pa pa[0]pa[1]pa[2] 3 A A[0]A[1]A[2] 3 A A[0] A + i A[i] A + i &A[i]*(A

More information

untitled

untitled 1-1 1-2 1-3 1-4 1-5 1-6 1-7 1-8 1-1-1 C int main(void){ int x,y,z; int sum=0; double avg=0.0; scanf("%d",&x) ; scanf("%d",&y) ; scanf("%d",&z) ; sum=x+y+z ; avg=sum/3.0; printf("%f\n",avg); system("pause");

More information

Microsoft Word - PHP7Ch01.docx

Microsoft Word - PHP7Ch01.docx PHP 01 1-6 PHP PHP HTML HTML PHP CSSJavaScript PHP PHP 1-6-1 PHP HTML PHP HTML 1. Notepad++ \ch01\hello.php 01: 02: 03: 04: 05: PHP 06:

More information

<4D6963726F736F667420576F7264202D2032303131A67EA4E9A5BBB1D0A87CAEC8A6E6B0D1B358B3F8A7692D2DA468AA4CB0AAB0D3>

<4D6963726F736F667420576F7264202D2032303131A67EA4E9A5BBB1D0A87CAEC8A6E6B0D1B358B3F8A7692D2DA468AA4CB0AAB0D3> 出 國 報 告 ( 出 國 類 別 : 考 察 ) 日 本 教 育 旅 行 參 訪 服 務 機 關 : 臺 北 市 立 士 林 高 級 商 業 職 業 學 校 姓 名 職 稱 : 何 杉 友 主 任 派 赴 國 家 : 日 本 出 國 期 間 :100 年 02 月 27 日 至 100 年 03 月 04 日 報 告 日 期 : 民 國 100 年 03 月 18 日 第 1 頁 / 共 7 頁

More information

7. 小 星 星 一 閃 一 閃 亮 晶 晶, 滿 天 都 是 小 星 星 ; 掛 在 天 空 放 光 明, 好 像 許 多 小 眼 睛 ; 一 閃 一 閃 亮 晶 晶, 滿 天 都 是 小 星 星

7. 小 星 星 一 閃 一 閃 亮 晶 晶, 滿 天 都 是 小 星 星 ; 掛 在 天 空 放 光 明, 好 像 許 多 小 眼 睛 ; 一 閃 一 閃 亮 晶 晶, 滿 天 都 是 小 星 星 幼 兒 組 指 定 曲 歌 詞 1. 兩 隻 老 虎 兩 隻 老 虎 兩 隻 老 虎 跑 得 快 跑 得 快 一 隻 沒 有 耳 朵 一 隻 沒 有 尾 巴 真 奇 怪 真 奇 怪 兩 隻 老 虎 兩 隻 老 虎 跑 得 快 跑 得 快 一 隻 沒 有 鼻 子 一 隻 沒 有 頭 髮 真 奇 怪 真 奇 怪 2. 小 毛 驢 我 有 一 頭 ( 隻 ) 小 毛 驢 我 從 來 也 不 騎 有 一 天

More information

& &((. ) ( & ) 6 0 &6,: & ) ; ; < 7 ; = = ;# > <# > 7 # 0 7#? Α <7 7 < = ; <

& &((. ) ( & ) 6 0 &6,: & ) ; ; < 7 ; = = ;# > <# > 7 # 0 7#? Α <7 7 < = ; < ! # %& ( )! & +, &. / 0 # # 1 1 2 # 3 4!. &5 (& ) 6 0 0 2! +! +( &) 6 0 7 & 6 8. 9 6 &((. ) 6 4. 6 + ( & ) 6 0 &6,: & )6 0 3 7 ; ; < 7 ; = = ;# > 7 # 0 7#? Α

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

现代天文学7.ppt

现代天文学7.ppt 1983 1983 1 H 1 He 4 C 12 O 16 1 2 6 8 X A Z 2 19 α β γ F ( g) = Gmm' / d 2 F ( e) = qq' / d 2 F( e) / F( g) = 2.3 10 39 1919 α, 1930 α Be 3 4 6 6 4 4.0291 4.0015 0.0276 E=mc 2 4.12 10

More information

第7章-并行计算.ppt

第7章-并行计算.ppt EFEP90 10CDMP3 CD t 0 t 0 To pull a bigger wagon, it is easier to add more oxen than to grow a gigantic ox 10t 0 t 0 n p Ts Tp if E(n, p) < 1 p, then T (n) < T (n, p) s p S(n,p) = p : f(x)=sin(cos(x))

More information

!!!!!!!! !!!!!!!!! """"""""""""""""!!!!!!!! """""""""""""!"!!" # " #!!!!!! """"""""""""!"!!" #!!!!!! """""""""""" #!!!!!!!!! """"""""""" #$!!" #!!!!!! """""""""""" "#!!!!!!!! """"""""""" "%!!!!!!!!

More information

untitled

untitled Fortran Chapter 7 Subroutine ( ) and Function 7-1 subroution 行 不 行 來 行 The general form of a subroutine is subroutine subroutine_name ( argument_list) (Declaration section) (Execution section) retrun end

More information

1 2 9

1 2 9 8 1 2 9 3 4 10 11 5 6 12 13 7 14 8 9 bk bl bm 15 bn bo 16 bp bq br bs bt 17 ck cl cm cn 18 19 co cp 20 21 cq cr 22 23 cs ct 24 dk 25 dl 26 dm dn do dp dq 27 dr ds dt ek 28 el em 29 en eo ep eq er 30 es

More information

Microsoft PowerPoint - OPVB1基本VB.ppt

Microsoft PowerPoint - OPVB1基本VB.ppt 大 綱 0.VB 能 做 什 麼? CH1 VB 基 本 認 識 1.VB 歷 史 與 版 本 2.VB 環 境 簡 介 3. 即 時 運 算 視 窗 1 0.VB 能 做 什 麼? Visual Basic =>VB=> 程 式 設 計 語 言 => 設 計 程 式 設 計 你 想 要 的 功 能 的 程 式 自 動 化 資 料 庫 計 算 模 擬 遊 戲 網 路 監 控 實 驗 輔 助 自 動

More information

#!! +!,! # &!. / !!, 7!!, & #! % 7! % )

#!! +!,! # &!. / !!, 7!!, & #! % 7! % ) !!! #!! #% % & ( & ) %( #!! +!,! # &!. / 0 1 2 34 45 6!!, 7!!, & #! 6 8 5 % 7! % ) ) %!! ( &!, #% & 4 ( % ) ! & ( ) & ) ) ) )! # # 5! # % % +, +, +, +, +, +, +, +,! 1 # # !! # # 9 & &! # # ( , # & # 6

More information

& ( )! +!, # %! ( & &.! / /.

& ( )! +!, # %! ( & &.! / /. ! # # % & ( )! +!, # %! ( & &.! / /. ! ( 0 & #% ( +% 0 /, / ( 0 1 (!# + 0 1 # % ( 0 1 2 3!# % + ( / %! 0! 1 2 3 +! !% ), (! & & ( +/ & ( 4 56 0 1 2 #% ( 0 % /) 1 2 ( 0 1 2 0 7 8 / + ( / 0 + +# 1 + ) 0

More information

# 7 % % % < % +!,! %!!

# 7 % % % < % +!,! %!! ! # % 7 8 9 7! & () + ),. + / 0 /. 1 0 /2 &3 )4, 4 4 5 / 6 : /! # ;!!!! # %! &!! ( ) # 7 % % % < % +!,! %!! % % = % % % % % # 9 =! 7 8 7 8 > 8 7 =7 # 9 # 8 7 8 % ) % % % % %! %. / % < < < % / % < < <

More information

第11章 可调内核参数

第11章 可调内核参数 11 11 Unix BSD 4.4 Linux sysctl Unix Linux /proc window /proc /proc/sys /proc/sys sysctl Unix root /proc/sys/vm root /proc/sys sysctl /proc/sys struct ctl_table 18274 struct ctl_tables /proc/sys struct

More information

Go构建日请求千亿微服务最佳实践的副本

Go构建日请求千亿微服务最佳实践的副本 Go 构建 请求千亿级微服务实践 项超 100+ 700 万 3000 亿 Goroutine & Channel Goroutine Channel Goroutine func gen() chan int { out := make(chan int) go func(){ for i:=0; i

More information

C/C++语言 - 分支结构

C/C++语言 - 分支结构 C/C++ Table of contents 1. if 2. if else 3. 4. 5. 6. continue break 7. switch 1 if if i // colddays.c: # include int main ( void ) { const int FREEZING = 0; float temperature ; int cold_ days

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

《分析化学辞典》_数据处理条目_1.DOC

《分析化学辞典》_数据处理条目_1.DOC 3 4 5 6 7 χ χ m.303 B = f log f log C = m f = = m = f m C = + 3( m ) f = f f = m = f f = n n m B χ α χ α,( m ) H µ σ H 0 µ = µ H σ = 0 σ H µ µ H σ σ α H0 H α 0 H0 H0 H H 0 H 0 8 = σ σ σ = ( n ) σ n σ /

More information

INTRODUCTION TO COM.DOC

INTRODUCTION TO COM.DOC How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX

More information

, 2016,.51,.1 7, (ε) ;,,, ;,,, [14-15], 2,( ),2,,, [14-15] (), [16],,, [17-18],, [19-20] Ⅰ,, 2 [21-22] ;,, [23],,,

, 2016,.51,.1 7, (ε) ;,,, ;,,, [14-15], 2,( ),2,,, [14-15] (), [16],,, [17-18],, [19-20] Ⅰ,, 2 [21-22] ;,, [23],,, 6 2016 1 51 1, 2016,.51,.1 (, ) : 10.3760 /...1673-0860.2016.01.004 (,),, ( ),,, 20,,,, (1990) [1] (1997 ) [2] (2004) [3] (2009) [4] (2012) [5],, 5, (2009),,,,,,,, 5 [6] [7-8],2004 2005 : 11 11.1%, 8.7%

More information

! + +, ) % %.!&!, /! 0! 0 # ( ( # (,, # ( % 1 2 ) (, ( 4! 0 & 2 /, # # ( &

! + +, ) % %.!&!, /! 0! 0 # ( ( # (,, # ( % 1 2 ) (, ( 4! 0 & 2 /, # # ( & ! # %! &! #!! %! %! & %! &! & ( %! & #! & )! & & + ) +!!, + ! + +, ) % %.!&!, /! 0! 0 # ( ( # (,, # ( % 1 2 ) (, 3 0 1 ( 4! 0 & 2 /, # # ( 1 5 2 1 & % # # ( #! 0 ) + 4 +, 0 #,!, + 0 2 ), +! 0! 4, +! (!

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

计算机网络概论

计算机网络概论 1 repeater bridge router gateway V.S OSI Repeater(Hub) 1 Repeater 2 3 ( Hub 4 Bridge 1 Bridge 2 N N DL1 DL1 DL2 DL2 Ph1 Ph1 Ph2 Ph2 1 2 Bridge 3 MAC Ethernet FDDI MAC MAC Bridge 4 5 6 7 50873EA6, 00123456

More information

<4D6963726F736F667420576F7264202D20D1A7C9FACAD6B2E1B8C4D7EED6D5A3A8B4F8B1EDB8F1BCD3D2B3C2EBB0E6A3A9372E3239>

<4D6963726F736F667420576F7264202D20D1A7C9FACAD6B2E1B8C4D7EED6D5A3A8B4F8B1EDB8F1BCD3D2B3C2EBB0E6A3A9372E3239> 北 京 科 技 大 学 学 生 手 册 ( 本 科 生 ) 学 生 工 作 部 ( 处 ) 二 〇 一 五 年 七 月 北 京 科 技 大 学 学 生 手 册 ( 本 科 生 ) 编 委 会 主 编 于 成 文 盛 佳 伟 编 委 ( 按 姓 氏 笔 画 排 序 ) 丁 煦 生 尹 兆 华 龙 洋 史 立 伟 曲 涛 刘 晓 东 杜 振 民 杨 雄 何 进 宋 波 张 卫 冬 张 卫 钢 张 文

More information

桂林市劳动和社会保障局关于

桂林市劳动和社会保障局关于 桂 林 市 人 力 资 源 和 社 会 保 障 局 文 件 市 人 社 发 2012 60 号 桂 林 市 人 力 资 源 和 社 会 保 障 局 关 于 2012 年 秘 书 等 十 八 个 职 业 国 家 职 业 资 格 全 国 全 区 统 一 考 试 有 关 问 题 的 通 知 各 有 关 单 位 : 根 据 自 治 区 人 力 资 源 和 社 会 保 障 厅 关 于 做 好 2012 年 国

More information

Microsoft Word 年度选拔硕博连读研究生的通知.doc

Microsoft Word 年度选拔硕博连读研究生的通知.doc 南 工 (2015) 研 字 第 3 号 关 于 选 拔 2015 年 度 硕 博 连 读 研 究 生 的 通 知 各 有 关 学 院 : 为 适 应 我 国 构 建 社 会 主 义 和 谐 社 会 和 建 设 创 新 型 国 家 的 战 略 需 要, 加 快 拔 尖 创 新 人 才 的 培 养, 我 校 决 定 继 续 推 荐 和 选 拔 一 批 基 本 素 质 好 业 务 基 础 强 品 学 兼

More information

新・解きながら学ぶC言語

新・解きながら学ぶC言語 330!... 67!=... 42 "... 215 " "... 6, 77, 222 #define... 114, 194 #include... 145 %... 21 %... 21 %%... 21 %f... 26 %ld... 162 %lf... 26 %lu... 162 %o... 180 %p... 248 %s... 223, 224 %u... 162 %x... 180

More information

碩命題橫式

碩命題橫式 一 解釋名詞 :(50%) 1. Two s complement of an integer in binary 2. Arithmetic right shift of a signed integer 3. Pipelining in instruction execution 4. Highest and lowest layers in the TCP/IP protocol suite

More information

Cover-3.indd, page Normalize

Cover-3.indd, page Normalize 5 55 75 91 5 6 1 2 3 4 5 7 8 1 2 3 4 5 9 10 1 2 3 4 5 6 7 11 12 1 2 3 13 14 1 2 3 15 16 1 2 17 18 1 2 3 19 20 1 2 21 22 1 2 3 23 24 1 2 3 25 26 1 2 3 4 5 27 28 1 3 2 4 5 6 7 8 9 29 30 31 32 1 2 3 4 33

More information

人 間 菩 提 Part 1 人 間 菩 提 Part 2 清 涼 菩 提 正 覺 ------------------ 10 修 行 ------------------ 13 清 心 ------------------ 16 發 願 ------------------ 18 自 重 ----

人 間 菩 提 Part 1 人 間 菩 提 Part 2 清 涼 菩 提 正 覺 ------------------ 10 修 行 ------------------ 13 清 心 ------------------ 16 發 願 ------------------ 18 自 重 ---- 人 間 菩 提 Part 1 人 間 菩 提 Part 2 清 涼 菩 提 正 覺 ------------------ 10 修 行 ------------------ 13 清 心 ------------------ 16 發 願 ------------------ 18 自 重 ------------------- 20 習 氣 ------------------ 22 清 淨 心

More information

Part 1 2 3 4 5 6 7 Part 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Part 3 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

More information

%% &% %% %% %% % () (! #! %!!!!!!!%! # %& ( % & ) +, # (.. /,) %& 0

%% &% %% %% %% % () (! #! %!!!!!!!%! # %& ( % & ) +, # (.. /,) %& 0 !! # # %% &% %% %% %% % () (! #! %!!!!!!!%! # %& ( % & ) +, # (.. /,) %& 0 +! (%& / 1! 2 %& % & 0/ / %& + (.%.%, %& % %& )& % %& ) 3, &, 5, % &. ) 4 4 4 %& / , %& ).. % # 6 /0 % &. & %& ) % %& 0.!!! %&

More information

( ) t ( ) ( ) ( ) ( ) ( ) t-

( ) t ( ) ( ) ( ) ( ) ( ) t- (Statistics). (Descriptive Statistics). (Inferential Statistics) (Inductive Statistics) ( ) t ( ) ( ) ( ) ( ) ( ) t- ( ) ( ) ( )? ( ) ( )? ( ) )?( t ) ( )? ( ) ( ) ( ) ( ) ( ) ( )? ( ) ( ) ( )? ( )?( t

More information

中国生态文明奖先进集体和先进个人建议吊单公示

中国生态文明奖先进集体和先进个人建议吊单公示 中 国 生 态 文 明 奖 先 进 个 人 公 示 序 作 为 殡 葬 行 业 持 久 性 有 机 污 染 物 研 究 学 科 带 头 人, 率 先 在 殡 葬 行 业 开 展 了 二 恶 英 减 排 和 重 金 属 汞 减 排 技 术 研 究 通 过 自 主 创 1 王 玮 民 政 部 一 零 一 研 究 所 科 室 主 任 新 和 技 术 优 化, 研 发 了 遗 体 火 化 遗 物 祭 品 焚

More information

投 入 建 设 经 费 3600 万 元, 立 项 建 设 19 个 研 究 生 公 共 实 验 课 程 教 学 平 台, 依 托 实 验 课 程 平 台 开 设 研 究 生 实 验 课 程 109 门, 系 统 训 练 并 提 升 了 研 究 生 知 识 应 用 能 力 工 程 认 知 能 力,

投 入 建 设 经 费 3600 万 元, 立 项 建 设 19 个 研 究 生 公 共 实 验 课 程 教 学 平 台, 依 托 实 验 课 程 平 台 开 设 研 究 生 实 验 课 程 109 门, 系 统 训 练 并 提 升 了 研 究 生 知 识 应 用 能 力 工 程 认 知 能 力, 五 附 件 目 录 附 件 1: 成 果 总 结 以 提 升 工 程 能 力 为 核 心 的 全 日 制 工 程 硕 士 培 养 模 式 创 新 与 实 践 为 贯 彻 落 实 国 家 关 于 建 设 人 才 强 国 和 人 力 资 源 强 国 的 战 略 部 署, 2009 年 教 育 部 进 行 研 究 生 教 育 改 革, 开 始 实 施 以 应 届 本 科 毕 业 生 为 主 体 的 全 日

More information

Microsoft Word - 連啟元.doc

Microsoft Word - 連啟元.doc 中極學刊 第七輯 國立暨南國際大學 中 國 語 文 學 系 2 0 0 8 年 06 月 傳 奇 乎 傳 教 乎 千古奇聞 的編選視域初探 王鐿容 中央大學中文所 摘 要 明末清初商業發展 印刷術的發達 造成文化消費的普及 大眾藝文風氣勃 發 加以心學發展趨盛 思想禁錮鬆動 許多男性文人均曾直接或間接提升女性 地位 商業發達 婦女識字率增加 女性文學的閱讀需求激增 所以出現的一批 寫 給 女 人 的

More information

团 学 要 闻 我 校 召 开 共 青 团 五 届 九 次 全 委 ( 扩 大 ) 会 议 3 月 17 日, 我 校 共 青 团 五 届 九 次 全 委 ( 扩 大 ) 会 议 在 行 政 办 公 楼 五 楼 会 议 室 举 行, 校 团 委 委 员 各 院 ( 系 ) 团 委 书 记 校 学 生

团 学 要 闻 我 校 召 开 共 青 团 五 届 九 次 全 委 ( 扩 大 ) 会 议 3 月 17 日, 我 校 共 青 团 五 届 九 次 全 委 ( 扩 大 ) 会 议 在 行 政 办 公 楼 五 楼 会 议 室 举 行, 校 团 委 委 员 各 院 ( 系 ) 团 委 书 记 校 学 生 共 青 团 工 作 简 报 2011 年 第 1 期 共 青 团 大 连 海 洋 大 学 委 员 会 团 学 要 闻 : 导 读 我 校 召 开 共 青 团 五 届 九 次 全 委 ( 扩 大 ) 会 议 我 校 在 大 连 市 大 学 生 创 新 创 意 作 品 大 赛 中 取 得 佳 绩 校 团 委 召 开 学 生 干 部 思 想 动 态 座 谈 会 校 团 委 组 织 开 展 弘 扬 雷 锋

More information

微處理機期末專題

微處理機期末專題 微 處 理 機 期 末 專 題 自 動 鋼 琴 組 員 :b92611004 羅 鈞 瑋 b92611008 吳 妍 儂 b92611038 吳 韋 靜 b92611042 林 佳 穎 一 簡 介 本 組 的 主 題 是 自 動 鋼 琴 在 播 放 音 樂 的 同 時, 鋼 琴 會 自 動 按 下 琴 鍵, 被 按 下 的 琴 鍵 所 對 應 到 的 音 階, 就 是 正 在 撥 放 的 樂 曲 的

More information

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1 21 , 7, Windows,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) /,,. : ;, 2005. 11 ( 21 ) ISBN 7-81082 - 634-4... - : -. TP316-44 CIP ( 2005) 123583 : : : : 100084 : 010-62776969 : 100044 : 010-51686414

More information

新・明解C言語入門編『索引』

新・明解C言語入門編『索引』 !... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177

More information

untitled

untitled Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen

More information

公開徵求廠商提供「採購專業人員訓練計畫企劃書」公告

公開徵求廠商提供「採購專業人員訓練計畫企劃書」公告 1 2 95 4 13 09500131390 96 4 11 09600141370 ( )92 1 29 09200043870 93 11 17 09300431800 11 3 ( ) ( ) ( ) ( 1 ) 2 ( ) ( ) ( 1 ) ( ) 15 15 16 ( ) ( ) ( ) ( ) 80 50 ( ) ( ) ( ) ( ) ( ) 1 [ ] 1/10 ( ) ( )

More information

2

2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 strong s 41 strong s 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

More information

bingdian001.com

bingdian001.com TSM12M TSM12 STM8L152C6, STM8L152R8 MSP430F5325 whym1987@126.com! /******************************************************************************* * : TSM12.c * : * : 2013/10/21 * : TSM12, STM8L f(sysclk)

More information

! # %& ( %! & & + %!, ( Α Α Α Α Χ Χ Α Χ Α Α Χ Α Α Α Α

! # %& ( %! & & + %!, ( Α Α Α Α Χ Χ Α Χ Α Α Χ Α Α Α Α Ε! # % & ( )%! & & + %!, (./ 0 1 & & 2. 3 &. 4/. %! / (! %2 % ( 5 4 5 ) 2! 6 2! 2 2. / & 7 2! % &. 3.! & (. 2 & & / 8 2. ( % 2 & 2.! 9. %./ 5 : ; 5. % & %2 2 & % 2!! /. . %! & % &? & 5 6!% 2.

More information

Oracle 4

Oracle 4 Oracle 4 01 04 Oracle 07 Oracle Oracle Instance Oracle Instance Oracle Instance Oracle Database Oracle Database Instance Parameter File Pfile Instance Instance Instance Instance Oracle Instance System

More information

43081.indb

43081.indb 163 56 52 55 45 56 64 62 45 61 195156200712 19751219901119974 1997420009 2000920026 20026 195552200712 19826 199261994819948 19991019991020009 2000920026 200262007122004 5 164 195255200712 2000919931220009

More information

一 天 吃 两 顿, 从 不 例 外 我 上 班 就 是 找 一 个 网 吧 上 网 上 网 的 内 容 很 杂, 看 新 闻, 逛 论 坛, 或 者 打 打 小 游 戏 如 果 没 钱 上 网, 我 会 独 自 一 个 人 到 一 个 偏 僻 的 地 方, 静 静 地 坐 着 发 呆 这 也 是

一 天 吃 两 顿, 从 不 例 外 我 上 班 就 是 找 一 个 网 吧 上 网 上 网 的 内 容 很 杂, 看 新 闻, 逛 论 坛, 或 者 打 打 小 游 戏 如 果 没 钱 上 网, 我 会 独 自 一 个 人 到 一 个 偏 僻 的 地 方, 静 静 地 坐 着 发 呆 这 也 是 内 容 简 介 这 是 一 部 自 传 体 小 说, 也 是 一 本 向 年 轻 人 传 授 发 财 之 道 的 教 科 书 2005 年, 作 者 老 康 三 十 而 立, 带 着 老 婆, 拖 着 儿 子 ; 没 有 存 款, 没 有 房 子 ; 读 的 是 烂 学 校 破 专 业, 一 无 所 长 ; 毕 业 后 混 了 多 年, 稀 里 糊 涂, 不 幸 下 岗 ; 因 为 混 得 差, 朋

More information

前 言 为深入贯彻落实2012年中央1号文件精神 推进 农业科技促进年 活动 激励扎根农村基层 为农 业科教兴村作出杰出贡献的带头人 农业部于2012年 启动了百名农业科教兴村杰出带头人资助项目 该项 目是江苏华西集团公司捐赠500万元在中华农业科教基 金会设立 华西仁宝基金 开展的专项资助活动 资 助项目计划三年面向全国资助100名农业科教兴村杰出 带头人 每人资助5万元 按照项目申报和评审工作要求

More information

序 1995 年 我 走 进 了 朝 阳 区 将 台 乡 五 保 老 人 院, 如 今 17 年 后, 十 分 欣 喜 有 机 会 为 这 本 流 金 岁 月 小 集 作 序 在 多 年 陪 伴 孤 单 老 人 的 过 程 中, 我 深 深 地 体 会 到 每 位 老 人 的 生 命 里 其 实 都

序 1995 年 我 走 进 了 朝 阳 区 将 台 乡 五 保 老 人 院, 如 今 17 年 后, 十 分 欣 喜 有 机 会 为 这 本 流 金 岁 月 小 集 作 序 在 多 年 陪 伴 孤 单 老 人 的 过 程 中, 我 深 深 地 体 会 到 每 位 老 人 的 生 命 里 其 实 都 1 序 1995 年 我 走 进 了 朝 阳 区 将 台 乡 五 保 老 人 院, 如 今 17 年 后, 十 分 欣 喜 有 机 会 为 这 本 流 金 岁 月 小 集 作 序 在 多 年 陪 伴 孤 单 老 人 的 过 程 中, 我 深 深 地 体 会 到 每 位 老 人 的 生 命 里 其 实 都 积 累 了 许 多 独 特 的 光 彩 与 体 验 2001 年 我 在 中 国 青 少 年 发

More information

78 云 芝 79 五 加 皮 80 五 味 子 81 五 倍 子 82 化 橘 红 83 升 麻 84 天 山 雪 莲 85 天 仙 子 86 天 仙 藤 87 天 冬 88 天 花 粉 89 天 竺 黄 90 天 南 星 91 天 麻 92 天 然 冰 片 ( 右 旋 龙 脑 ) 93 天 葵

78 云 芝 79 五 加 皮 80 五 味 子 81 五 倍 子 82 化 橘 红 83 升 麻 84 天 山 雪 莲 85 天 仙 子 86 天 仙 藤 87 天 冬 88 天 花 粉 89 天 竺 黄 90 天 南 星 91 天 麻 92 天 然 冰 片 ( 右 旋 龙 脑 ) 93 天 葵 中 国 药 典 2015 年 版 目 录 一 部 药 材 和 饮 片 1 一 枝 黄 花 2 丁 公 藤 3 丁 香 4 九 里 香 5 九 香 虫 6 人 工 牛 黄 7 人 参 8 人 参 叶 9 儿 茶 10 八 角 茴 香 11 刀 豆 12 三 七 13 三 白 草 14 三 棱 15 三 颗 针 16 千 年 健 17 千 里 光 18 千 金 子 19 千 金 子 霜 20 土 木 香

More information

123 5060 50 5060 19 5060 19

123 5060 50 5060 19 5060 19 122 201011 1975 1974 1976 123 5060 50 5060 19 5060 19 124 50 60 1976 L 19 5060 19741976 50 125 19 126 80 80 127 1975 21 1974 1974 50. 128 / / 50 129 130 L AA 131 70 132 1974 70 133 1980 2010 80 134 T 1980726

More information

工 造 价 15 邗 江 南 路 建 设 工 一 标 市 政 公 用 6000 中 机 环 建 集 团 有 限 公 胡 美 娟 16 邗 江 南 路 建 设 工 二 标 市 政 公 用 6337 17 品 尊 国 际 花 园 1# 2# 3# 4# 7# 9# 10# 11# 楼 地 库 C 区 工

工 造 价 15 邗 江 南 路 建 设 工 一 标 市 政 公 用 6000 中 机 环 建 集 团 有 限 公 胡 美 娟 16 邗 江 南 路 建 设 工 二 标 市 政 公 用 6337 17 品 尊 国 际 花 园 1# 2# 3# 4# 7# 9# 10# 11# 楼 地 库 C 区 工 2 工 造 价 1 新 纪 元 广 场 房 屋 建 筑 40689 11000 中 机 环 建 集 团 有 限 公 叶 正 君 2 3 大 上 海 御 龙 湾 二 期 A 区 A2~A4 商 业 楼 A 区 地 下 车 库 万 科 蜀 冈 地 块 商 品 房 项 目 二 期 工 ( 万 科 花 园 )1#-8# 住 宅 楼 A16-2 地 下 车 库 工 幼 儿 园 13# 15# 18# 20#

More information

第一篇 建置区划

第一篇 建置区划 第 八 篇 金 融 保 险 1986 年 至 2003 年, 全 县 金 融 体 制 不 断 改 革, 金 融 体 系 逐 步 形 成, 各 金 融 机 构 运 转 正 常, 存 贷 款 余 额 增 长, 逐 步 扭 亏 为 盈 全 县 4 大 保 险 公 司 开 展 多 种 保 险 业 务, 保 费 收 入 增 长, 理 赔 规 范 及 时 第 一 章 金 融 1986 年 至 2003 年, 蒙

More information

untitled

untitled 33 3 17 No. 35 1 2 3 18 179 104 4 5 6 19 No. 35 7 8 20 9 21 No. 35 10 22 23 No. 35 24 11 AA 25 No. 35 12 26 13 2013 27 No. 35 14 28 29 No. 35 15 30 16 17 31 No. 35 18 32 19 20 33 No. 35 21 34 22 2016 1

More information