projects
/
m17n
/
m17n-lib-cs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[m17n/m17n-lib-cs.git]
/
database.cs
diff --git
a/database.cs
b/database.cs
index
ccd5127
..
5247bb5
100644
(file)
--- a/
database.cs
+++ b/
database.cs
@@
-10,20
+10,15
@@
public class Test
{
//M17n.debug = true;
MDatabase.ApplicationDir = "/usr/local/share/m17n";
{
//M17n.debug = true;
MDatabase.ApplicationDir = "/usr/local/share/m17n";
- MDatabase.Tag tag = new MDatabase.Tag (MSymbol.Of ("input-method"),
- MSymbol.t,
- MSymbol.Of ("unicode"));
+ MDatabase.Tag tag
+ = new MDatabase.Tag (MSymbol.Of ("standard"),
+ MSymbol.Of ("script"),
+ MSymbol.Of ("unicode"));
foreach (string dirname in MDatabase.DirectoryList ())
Console.WriteLine (dirname);
foreach (string dirname in MDatabase.DirectoryList ())
Console.WriteLine (dirname);
- while (true)
- {
- Console.Write ("mdb> ");
- string str = Console.ReadLine ();
- if (str == null || str == "quit" || str == "exit")
- break;
- Console.WriteLine (MDatabase.Find (tag));
- }
+ MDatabase mdb = MDatabase.Find (tag);
+ Console.WriteLine (mdb.Load ());
}
}
}
}