2010-12-01 03:35:11 +01:00
|
|
|
# -*- mode: conf; -*-
|
|
|
|
# Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights
|
|
|
|
# reserved.
|
2003-12-14 18:58:42 +01:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
2022-06-05 23:38:33 +02:00
|
|
|
LANGCODE:hx
|
2022-04-04 08:12:29 +02:00
|
|
|
LANGNAME:Hex
|
2003-12-14 18:58:42 +01:00
|
|
|
|
|
|
|
# uppercase all
|
2022-01-28 04:36:55 +01:00
|
|
|
LANGFILTER: | sed -e 's/[[:lower:]]*/\U&/'
|
2022-01-24 02:46:52 +01:00
|
|
|
LANGFILTER: | grep -x '[A-F]\{2,15\}'
|
2022-06-05 23:38:33 +02:00
|
|
|
LANGFILTER: | sed 's/A/Ä/'
|
|
|
|
LANGFILTER: | sed 's/E/Ë/'
|
2007-02-20 06:49:57 +01:00
|
|
|
LANGFILTER: | sort -u
|
2003-12-14 18:58:42 +01:00
|
|
|
|
2010-12-01 03:35:11 +01:00
|
|
|
D2DARGS: -term 10
|
2003-12-14 18:58:42 +01:00
|
|
|
|
|
|
|
LANGINFO: <p>The hex "language" is something of a programmers' joke.
|
|
|
|
LANGINFO: Hex is short for hexadecimal, a 16-base number system whose
|
|
|
|
LANGINFO: "digits" are the numerals 0-9 plus the letters A-F. Hex
|
|
|
|
LANGINFO: letters are often used to represent computer data, and
|
|
|
|
LANGINFO: certain sequences are sometimes used as markers because
|
|
|
|
LANGINFO: they're easy to pick out in large dumps of otherwise
|
|
|
|
LANGINFO: meaningless (to humans) garbage. In staring at Mac memory
|
|
|
|
LANGINFO: dumps, for example, you'd occasionally see the letters
|
|
|
|
LANGINFO: DEADBEEF and know that memory in that area was probably
|
|
|
|
LANGINFO: undamaged.</p>
|
|
|
|
|
|
|
|
LANGINFO: <p>I use Hex dictionaries for testing since they have few
|
|
|
|
LANGINFO: tiles and games play quickly. That's also why the Hex
|
|
|
|
LANGINFO: tile set has four blanks; that's the largest number
|
|
|
|
LANGINFO: Crosswords supports and I needed to test at the limit.</p>
|
|
|
|
|
|
|
|
# High bit means "official". Next 7 bits are an enum where Hex==127
|
|
|
|
# (I just made that up; not sure what it was originally.) Low byte is
|
|
|
|
# padding
|
|
|
|
XLOC_HEADER:0xFF00
|
|
|
|
|
|
|
|
|
|
|
|
<BEGIN_TILES>
|
2022-06-05 23:38:33 +02:00
|
|
|
{"_"} 0 4
|
|
|
|
'Ä|ä' 1 9
|
|
|
|
'B|b' 3 2
|
|
|
|
'C|c' 3 2
|
|
|
|
'D|d' 2 4
|
|
|
|
'Ë|ë' 1 12
|
|
|
|
'F|f' 4 2
|
2003-12-14 18:58:42 +01:00
|
|
|
<END_TILES>
|
|
|
|
# should ignore all after the <END_TILES> above
|