initial import

git-svn-id: svn://anubis/jtlc/trunk@2 f5bc74b8-7b62-4e90-9214-7121d538519f
This commit is contained in:
josh committed 2009-03-28 15:17:48 +00:00
1 parent 8bfe25effa
commit 01bd481bce
11 files changed
+432

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
module String;
private m_chars : char[];
String(chars : char[])
{
m_chars := chars;
}
length() : int
{
return m_chars.length;
}
operator+(str1 : String, str2 : String) : String
{
chars : char[] := new char[str1.length() + str2.length()];
}
operator=~(str1 : String, str2 : String) : bool
{
return true;
}
+6
View File
@@ -0,0 +1,6 @@
module std.io;
print(...) : void
{
}