rev 421 - trunk

SVN User <[email protected]> Tue, 27 Apr 2004 13:18:04 -0400
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-04-27 13:18:01 -0400 (Tue, 27 Apr 2004)
New Revision: 421

Modified:
   trunk/STATUS.txt
Log:
status cleanup

Modified: trunk/STATUS.txt
===================================================================
--- trunk/STATUS.txt	2004-04-26 21:18:27 UTC (rev 420)
+++ trunk/STATUS.txt	2004-04-27 17:18:01 UTC (rev 421)
@@ -1,6 +1,16 @@
 
 ----------------------- TO-DO (highest priority first) ------------------------
 
+--- Change self to $
+
+--- new object creation -- __call__
+--- undo "no self" in obj call
+
+--- New delgation
+--- Bound methods - binding - calling
+
+--- Extend closures to all enclosing functions
+
 --- Add missing string functions
 
 --- add support for APR_BINARY in File.c ('b' flag)
@@ -39,8 +49,31 @@
 
 ---------------- Ideas to consider for inclusion ------------------------------
 
+change def to func?
+
+object keyword
+
+Point = proto(base1, base2):
+func  = def(arg1, arg2):
+
+o = Obj(bases=Object, args):
+f = Func(args):
+
+o = base.new(args)
+o = base.create(args)
+o = base.instance(args)
+
 How do we add "properties"?
 
+Full unicode support like Java -- store compressed ucs4 ?
+
+sets and other zephyr email items -- use <> ?
+
+remove \ continuation ?
+
+--- make print a function ?
+
+
 Python add-on C module adapter for Prothon
 Swig or other (what GTK port used?) backend
 auto python -> prothon source converter
@@ -73,26 +106,9 @@
 add/replace int and float single decimal type with bounded precision and floating point. 
 				http://www.python.org/peps/pep-0327.html
 
-Full unicode support like Java -- store compressed ucs4 ?
-
 Syntax extension modifier -- language spec?
 
-Point = proto(base1, base2):
-func  = def(arg1, arg2):
 
-o = Obj(bases=Object, args):
-f = Func(args):
-
-o = base.new(args)
-o = base.create(args)
-o = base.instance(args)
-
-sets and other zephyr email items -- use <> ?
-
-remove \ continuation ?
-
---- make print a function ?
-
 ------------------------------ speedups ---------------------------------------
 
 Inline asm for lock code up to wrlock acquire and access check
@@ -128,6 +144,16 @@
 support /* */ comments	
 
 
+------------------------------ new binding -------------------------------
+
+$var    # var is attribute of self
+^var    # var is an attribute of a proto of self
+obj.func()    # func is an attribute of obj and bound to obj
+obj$func()    # func is an attribute of obj and bound to current self
+x = obj.func    # x is bound method of func attribute of obj and obj
+x = obj$func     # x is bound method of func attribute of obj and self
+x = obj.attr(func)    # x is unbound func
+
 --------------  built-in functions ----------------