Source

mule-ucs / lisp / type.txt

Full commit
$B<BBN$HI=8=$K4X$9$k%a%b(B

1 ... 
     $B<BBN(B                  : $B8DJ*$KBP$9$kIaJWE*B8:_(B
     $BI=8=(B(representation)  : $B<BBN$KBP$9$k6qBNE*$J%G!<%?9=B$(B
     Serialize/Unserialize : $B<BBN$KBP$9$k%P%$%HNsI=8=2=(B

$B<BBN$+$i<BBN$X$NI=8=$rMQ$$$?JQ49$r(B Translation $B$H$9$k!#(B
$BF10l$N<BBN$O0[$J$kI=8=$r;}$D;v$,=PMh!"$=$NI=8=7A<0$r;XDj$9$k;v$,=PMh$k!#(B

$B<BBN$O7?(B(type)$B$K$h$C$F6hJL$5$l$k!#(B

$BI=8=$K$O8=>u$G(B2$B$D$NJ,N`$,$"$k!#(B

1 ... Emacs Lisp representation.
2 ... CCL representation.

1$B$D$N<BBN$O!"(B1$B$D$N(BEmacs Lisp Representation,
1$B$D$N(BCCL Representation$B$r;}$D;v$,=PMh$k!#(B
$BA4<oN`$NI=8=$r;}$?$J$/$F$O!"$=$N<BBN$,(B
$B;HMQ$G$-$J$$6ILL$,B8:_$9$k!#(B

1$B$D$N<BBN$,(B(un)serialize$BJ}K!$rJ#?t;}$D;v$,=PMh$k!#(B

Sample encode
emacs-mule(unserialize) -> char(CCL-char:CCL)
                        -> UCS(CCL-UCS:CCL) -> UTF8(Serialize)

Sample decode
UTF8(unserialize) -> UCS(CCL-UCS:CCL)
                  -> char(CCL-char:CCL) -> emacs-mule(serialize)

;-----------------------------------------------------------------------------

$BI=8=$NDj5A(B

$B87L)$J0UL#$G!"I=8=$NDj5A$OB8:_$7$J$$!#I=8=$OI=8=F1;N$NAj8_JQ49$r5-=R$9$k;v$K$h$C$F(B
$B4V@\E*$KDj5A$5$l$k!#(B

(1) Emacs Lisp$B$K$h$C$F5-=R$5$l$k!#(B 
    elisp <-> CCL

(2) CCL$B$K$h$C$F5-=R$5$l$k!#(B
    CCL <-> octet-stream