|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: L T
Length: 2256 (0x8d0)
Types: TextFile
Names: »LcSyntax.doc«
└─⟦276d19d6e⟧ Bits:30007243 EUUGD5_I: X11R5
└─⟦4856bf7e7⟧ »./mit-4/mit-4.00«
└─⟦635ff9e7e⟧
└─⟦this⟧ »mit/doc/I18N/Xsi/nls/LcSyntax.doc«
$Header: LcSyntax.doc,v 1.1 90/12/30 13:07:59 morisaki Exp $
$Date: 90/12/30 13:07:59 $
June 20, 1990
Written by Li Yuhoung
OMRON Corporation
Syntax
of
X Locale Definition File
Each category source definition starts with a category identifier line
and ends with a category trailer line. A category identifier consists of
the character string XLC_, immediately followed by the name of the category.
The category trailer consists of the string END, followed by the category
identifier string. Within each category the definition consists of keywords
and operands. A line may be continued by placing a backslash as the last
character on the line. Keywords and operands shall be seperated by one or
more blanks. Any blanks preceding a keyword or preceding the first nonblank
character on a continuation line shall be ignored. Lines containing a #
character in the first position shall be treated as comments.
The following definition is a rough Backus-Naur form(BNF), just a descri-
ption.
-start of file--
XLC_ALL
<locale_name>
END XLC_ALL
XLC_CODESET
<type>:<mblen_list>
<map_table>
<conversion_list>
END XLC_CODESET
XLC_FONTSET
<font_name_list>
END XLC_FONTSET
-end of file--
<locale_name> := lang_terr.codeset
<type> := L|l|F|f
<mblen_list> := <number>:<mblen_list> | <number>
<number> := integer
<map_table> := LEFTBC<one_map>RIGHTBC | LEFTBC<one_map>RIGHTBC NL <map_table>
<one_map> := <csid> | <csid> <separator> <one_map>
<csid> := C0|C1|CS1|CS2|CS3|CS4|CS5|CS6|CS7|CS8|CS9|ND|MINUS<number>
<conversion_list> := LEFTP<conversion_charset>RIGHTP
| LEFTP<conversion_charset>RIGHTP NL <conversion_list>
<conversion_charset> := <item> | <item> <separator> <conversion_charset>
<item> := <number>=<number>:<number>
<font_name_list> := <font_name>|<font_name>NL<font_name_list>
<font_name> := <XLFD>-<woff>
<XLFD> := X Logical Font Description
<woff> := 4-byte wchar offset
<separator> := SPACE|TAB|COMMA|NEWLINE
NL := new line character
LEFTBC := left braket charcter( { )
RIGHTBC := right braket charcter( } )
MINUS := negative sign( - )
LEFTP := left parathesis
RIGHTP := right parathesis