diff mde/mergetag/doc/file-format-text.txt @ 2:78eb491bd642

mergetag: partially redesigned dataset and text reader classes. Changed text format. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 03 Nov 2007 15:15:43 +0000
parents d547009c104c
children 9a990644948c
line wrap: on
line diff
--- a/mde/mergetag/doc/file-format-text.txt	Tue Oct 30 17:08:12 2007 +0000
+++ b/mde/mergetag/doc/file-format-text.txt	Sat Nov 03 15:15:43 2007 +0000
@@ -45,8 +45,8 @@
 
 Data item tags: Type format:
 Note:
-	The type is not initially parsed; it is read as a token terminated by any of these
-	characters:	<>|=
+	The type is read as a single token terminated by any of these characters:	<>|=
+	There must not be spaces within the type, e.g. "char []".
 	Of course any character other than a | terminating the token is an error.
 Format:
 	tp		a basic type
@@ -57,39 +57,39 @@
 	{t1,t2,...,tn}	a tuple with sub-types t1, t2, ..., tn
 
 Basic types (only items with a + are currently supported):
-	abbrev./full name (each type has two names which can be used):
+	name
 	
-	0	void	--- less useful type
-+	1	bool	--- integer types
-+	s8	byte
-+	u8	ubyte
-+	s16	short
-+	u16	ushort
-+	s32	int
-+	u32	uint
-+	s64	long
-+	u64	ulong
-	s128	cent
-	u128	ucent
+	void	--- less useful type
++	bool	--- integer types
++	byte
++	ubyte
++	short
++	ushort
++	int
++	uint
++	long
++	ulong
+	cent
+	ucent
 	
-+		binary	--- alias for ubyte[]
++	binary	--- alias for ubyte[]
 	
-+	fp32	float	--- floating point types
-+	fp64	double
-+	fp	real
-	im32	ifloat
-	im64	idouble
-	im	ireal
-	cpx32	cfloat
-	cpx64	cdouble
-	cpx	creal
++	float	--- floating point types
++	double
++	real
+	ifloat
+	idouble
+	ireal
+	cfloat
+	cdouble
+	creal
 	
-+	UTF8	char	--- character types (actually these CANNOT support UTF8 chars with length > 1)
-	UTF16	wchar
-	UTF32	dchar
-+		string	--- alias for char[] --- (DOES support UTF8)
-		wstring	--- alias for wchar[]
-		dstring	--- alias for dchar[]
++	char	--- single character types (actually these CANNOT support UTF8 symbols with length > 1)
+	wchar
+	dchar
++	string	--- alias for char[] --- (DOES support UTF8)
+	wstring	--- alias for wchar[]
+	dstring	--- alias for dchar[]
 
 
 Data item tags: Data format: