0
|
1 ;
|
|
2 ; $Id: ./2B_ma_QuWei $
|
|
3 ;
|
|
4
|
|
5 ;
|
|
6 ; FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
7 ; This file is part of FreeWnn.
|
|
8 ;
|
|
9 ; Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
10 ; 1987, 1988, 1989, 1990, 1991, 1992
|
|
11 ; Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
12 ; Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
13 ; Copyright FreeWnn Project 1999, 2000
|
|
14 ;
|
|
15 ; Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
|
16 ;
|
|
17 ; This program is free software; you can redistribute it and/or modify
|
|
18 ; it under the terms of the GNU General Public License as published by
|
|
19 ; the Free Software Foundation; either version 2 of the License, or
|
|
20 ; (at your option) any later version.
|
|
21 ;
|
|
22 ; This program is distributed in the hope that it will be useful,
|
|
23 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
25 ; GNU General Public License for more details.
|
|
26 ;
|
|
27 ; You should have received a copy of the GNU General Public License
|
|
28 ; along with this program; if not, write to the Free Software
|
|
29 ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
30 ;
|
|
31
|
|
32 (defvar dec1 (between 0 8))
|
|
33 (defvar dec1_08 (between 1 7))
|
|
34 (defvar dec2_0 (list 1 2 3 4 5 6 7 8 9 ))
|
|
35 (defvar dec2_8 (between 0 7))
|
|
36 (defvar dec3 (between 0 9))
|
|
37 (defvar (dec2 dec4) (list 0 1 2 3 4 5 6 7 8 9 ))
|
|
38 (defvar dec2_9 (list 5 6 7 8 9))
|
|
39
|
|
40 (dec1_08)(dec2)00 (error)
|
|
41 0(dec2_0)00 (error)
|
|
42 8(dec2_8)00 (error)
|
|
43 (dec1_08)(dec2)9(dec2_9) (error)
|
|
44 0(dec2_0)9(dec2_9) (error)
|
|
45 8(dec2_8)9(dec2_9) (error)
|
|
46
|
|
47 (dec1_08)(dec2)(dec3)(dec4) (+ '\xa0a0'
|
|
48 (+ (* '\d256'
|
|
49 (+ (* (value (dec1_08)) '\d10')
|
|
50 (value (dec2))
|
|
51 )
|
|
52 )
|
|
53 (+ (* (value (dec3)) '\d10')
|
|
54 (value (dec4))
|
|
55 )
|
|
56 )
|
|
57 )
|
|
58 0(dec2_0)(dec3)(dec4) (+ '\xa0a0'
|
|
59 (+ (* '\d256' (value (dec2_0)))
|
|
60 (+ (* (value (dec3)) '\d10')
|
|
61 (value (dec4))
|
|
62 )
|
|
63 )
|
|
64 )
|
|
65 8(dec2_8)(dec3)(dec4) (+ '\xa0a0'
|
|
66 (+ (* '\d256'
|
|
67 (+ '\d80' (value (dec2_8)))
|
|
68 )
|
|
69 (+ (* (value (dec3)) '\d10')
|
|
70 (value (dec4))
|
|
71 )
|
|
72 )
|
|
73 )
|