rev 184 - trunk

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-03-28 09:58:42 -0500 (Sun, 28 Mar 2004)
New Revision: 184

Added:
   trunk/CHANGES.txt
   trunk/README.txt
   trunk/STATUS.txt
Removed:
   trunk/changes.txt
   trunk/readme.txt
   trunk/status.txt
Log:
Rename the info files. Sort of a unix thing so that the files are listed
first to catch people's attention, but it wont hurt windows either.


Copied: trunk/CHANGES.txt (from rev 183, trunk/changes.txt)

Copied: trunk/README.txt (from rev 178, trunk/readme.txt)

Copied: trunk/STATUS.txt (from rev 178, trunk/status.txt)

Deleted: trunk/changes.txt
===================================================================
--- trunk/changes.txt	2004-03-28 14:52:59 UTC (rev 183)
+++ trunk/changes.txt	2004-03-28 14:58:42 UTC (rev 184)
@@ -1,20 +0,0 @@
-
-			----- Prothon Release History ----
-			
-Version 0.0.2 - Build 182 - 3/28/04 - Weekly Release
-	- Fixed "not a" and "a is not b"
-	- Fixed Dict.__str__() on empty Dict
-	- Implemented -i and -c command line arguments
-	- Return value of functions with no return is None again
-	- String object can now hold binary data (embedded nulls)
-	- Added "unmutable" bit to object - write protects and faster
-	- Many Unix/Linux build system improvements, uses Libtool and
-	  autoconf macros for most things now.
-	- Binary now supplied for Max OSX
-	- Fixed compatibility with all Bisons
-	- Added detection of APR during build.
-	- String processing is now "safe"
-	- Int moved from module to built-in
-	- Added msvcr70.dll to win32 release
-
-Version 0.0.1 - Build 115 - 3/24/04 - Initial Release

Deleted: trunk/readme.txt
===================================================================
--- trunk/readme.txt	2004-03-28 14:52:59 UTC (rev 183)
+++ trunk/readme.txt	2004-03-28 14:58:42 UTC (rev 184)
@@ -1,16 +0,0 @@
-
-Prothon is copyrighted.  See LICENSE file for details.
-
-For Unix installation, read INSTALL.
-
-For a Windows source build, Visual Studio is recommended.  You will need
-to install boost regex++ for the Re module.
-
-For windows binary usage, download prothon-win32-xxx.zip from Prothon.org, 
-unzip, and run prothon.exe in the unzipped folder.
-
-For cmd-line help type prothon -h
-
-
-See http://prothon.org for more information about prothon.
-

Deleted: trunk/status.txt
===================================================================
--- trunk/status.txt	2004-03-28 14:52:59 UTC (rev 183)
+++ trunk/status.txt	2004-03-28 14:58:42 UTC (rev 184)
@@ -1,388 +0,0 @@
-
----------------- Ideas to consider for inclusion ------------------------------
-
-Python add-on C module adapter for Prothon
-
-Guido's regret list for Python
-	drop 3-way compare? (but... comparing lists) (what is this MCH?)
-	use (...) continuation
-	drop lambda
-	drop map(), filter()
-	drop reduce()
-	drop `x`, repr()
-	print should've been a function
-		- write(x, y, z)
-		– writeln(x, y, z)
-		– spaces between items controlled by keyword arg
-	make range() return an iterator
-	drop buffer()
-	raw_input(): use sys.stdin.readline()
-	input(): use eval(sys.stdin.readline())
-	callable(): just call it, already
-	execfile(), reload(): use exec()
-	compile(): put in sys
-	exec should be a function
-	drop locals(), globals(), vars()
-	need more ways to convert float to int
-		(round, truncate-towards-zero, floor, ceil)
-	need differentiate to __int__ which
-		truncates and __int__ which doesn't
-
-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
-
-Syntax extension modifier
-
------------------------ TO-DO (highest priority first) ------------------------
-
---- write and publish prothon directives
-
---- need more test files to make releasing easier
-
---- help() in interactive console()
-
---- -d -m -l cmd-line options missing
---- memory bounds -> mem-mgr priorities
---- -i interactive console needs globals and locals from main1 module
-
---- flesh out dlls, list.sort!(), dict stuff, string %, built-in funcs
-
---- higher level pseudo classes, bases, meta-class replacements etc. (oops.pr)
-
---- plug memory leaks -- add del_unlocks
-
---- a < b < c
-
---- add thread object so prothon code can create threads
-
-
---- check for OverflowError in math routines
-
---- add convenience func or macro for type/value checking of parms
-
---- reduce array of act params passed to function to only odd entries
-
---- improve torture with list and dict tortures, random walk against new end
-
---- test += on modifiable type, i.e. __iadd__ type calls
-
---- Traceback objects (stack trace of an exception), exceptions should show function names
-
---- Does simple 1+2 expr evaluation create objects?  If so, need shortcuts to speed it up
-
---- thread monitor function
-
---- convert all to apr_snprintf()
-
------------------------------- bugs -------------------------------------------
-parser
-	bison warnings
-	parse error in loaded module doesn't cause error
-
------------------------------- diff from python -------------------------------
-
-x'00' strings
-Argv is an attribute in Main, not sys; sys.argv is more complicated version
-_ in nums for appearance  0x7fff_ffff_ffff_ffff is most positive Int in prothon
-5. and 5.e10 not valid, must be 5.0 and 5.0e10 (or 5e10), so that 48.chr() parses properly
-var scoping: x X . ^ & @
-with keyword
-gen keyword
-! at end of symbols
-string cat auto-converts right-param to string
-/ always real, must use // for floor div
-<> not supported
-tags on for and while loops
-only tabs for indents, extra indents give continuation of line
-no ref counting, but do need del_lock and rd-wr locking
-pass not really needed, empty statements allowed
-attribute inheritance gives access to built-ins in root_globals, not built-ins module
-for x in 5:
-support /* */ comments
-
-
-  ---------- missing functions ------------
- 
- return . at end of __init__
- 
- int float string tuple list dict files net
- 
- Not this release: bool complex
- 
-  -- all types -- 
-		Object handles these
-			is      object identity (are objects identical, not values)
-			is not  negated object identity     
-		__str__
-		__bool__
-		__hash__
-		__covers__
-		__cmp__   
-			<       strictly less than      
-			<=      less than or equal      
-			>       strictly greater than   
-			>=      greater than or equal   
-			==      equal   
-			!=      not equal  ( "<>" is also allowed)
-
-  -- numeric --
-  
-        abs(x)  absolute value of x     
-        int(x)  x converted to integer  
-        long(x) x converted to long integer     
-        float(x) x converted to floating point   
-        -x      x negated       
-        +x      x unchanged     
-        x + y   sum of x and y  
-        x - y   difference of x and y   
-        x * y   product of x and y      
-        x / y   quotient of x and y     
-        x % y   remainder of x / y
-        divmod(x, y) the tuple (x/y, x%y)
-        x ** y  x to the power y [same as: pow(x,y)]
-
-
------- sequence ------
-
-x in s 		1 if an item of s is equal to x, else 0  
-x not in s 	0 if an item of s is equal to x, else 1   
-s + t 		the concatenation of s and t  
-s * n, 		n*s n copies of s concatenated   
-s[i] 		i'th item of s, origin 0 (1) 
-s[i:j] 		slice of s from i (included) to j (excluded) (1), (2) 
-len(s) 		length of s  
-min(s) 		smallest item of s   
-max(s) 		largest item of (s) 
-s.count(x) 	return number of i's for which s[i] == x  
-s.index(x) 	return smallest i such that s[i] == x (1) 
-
-------- mutable sequences ------
-
-s[i] =x 			item i of s is replaced by x  
-s[i:j] = t 			slice of s from i to j is replaced by t   
-del s[i:j] 			same as s[i:j] = []  
-s.append!(x) 		same as s[len(s) : len(s)] = [x]   
-s.extend!(x) 		same as s[len(s):len(s)]= x    (5)
-s.insert!(i, x) 	same as s[i:i] = [x] if i >= 0  
-s.remove!(x) 		same as del s[s.index(x)] (1) 
-s.pop!([i]) 		same as x = s[i]; del s[i]; return x    (4) 
-s.reverse!() 		reverse the items of s in place (3) 
-s.sort!([cmpFct]) 	sort the items of s in place 
-
-
---------   dictionaries -------
-
-len(d) 				the number of items in d  
-d[k] 				the item of d with key k (1) 
-d[k] = x 			set d[k] to x  
-del d[k] 			remove d[k] from d (1) 
-d.clear!() 			remove all items from d  
-d.copy() 			a shallow copy of d  
-d.has_key(k) 		1 if d has key k, else 0  
-d.items() 			a copy of d's list of (key, item) pairs (2) 
-d.keys() 			a copy of d's list of keys (2) 
-d1.update!(d2) 		for k, v in d2.items(): d1[k] = v (3) 
-d.values() 			a copy of d's list of values (2) 
-d.get(k,defaultval)	the item of d with key k 
-
-------- strings --------
-
-	% operator (sprintf)
-	
---------  file -------
-
-        f.close()                       close file f.
-        f.fileno()                      get fileno (fd) for f.
-        f.flush()                       flush file's internal buffer.
-        f.isatty()                      1 if file is connected to a tty-like dev, else 0
-        f.read([size])                  read at most size bytes from file and return
-        								as a string object. If size omitted, read to EOF.
-        f.readline()                    read one entire line from file
-        f.readlines()                   read until EOF with readline() and return list
-        f.seek(offset, whence=0)        set file's position, like "stdio's fseek()". 
-                                        whence == 0 then use absolute indexing
-                                        whence == 1 then offset relative to current pos
-                                        whence == 2 then offset relative to file end
-        f.tell()                        return file's current position
-        f.write(str)                    Write string to file.
-        f.writelines(list)              Write list of strings to file.
-
-EOFError 
-IOError 
-
-
---------------  built-in functions ----------------
-
-
-__import__(name[, globals[, locals[, fromlist]]])
-                Import module within the given context (see lib ref for more details)
-
-abs(x)          Return the absolute value of a number
-
-apply(f, args[, keywords])
-                Call func/method <f> with args <args> and optional keywords
-
-callable(x)     Returns 1 if x callable, else 0.
-
-chr(i)          Return one-character string whose ASCII code is
-                integer i
-
-cmp(x,y)        Return neg, zero, pos if x <, ==, > to y
-
-coerce(x,y)     Return a tuple of the two numeric arguments converted to
-                a common type.
-
-compile(string, filename, kind) 
-                Compile <string> into a code object.
-                <filename> is used in error message, can be any string. It is
-                usually the file from which the code was read, or eg. '<string>'
-                if not read from file.
-                <kind> can be 'eval' if <string> is a single stmt, or 'single'
-                which prints the output of expression statements that
-                evaluate to something else than "None" or be 'exec'.
-
-complex(real[, image])
-                Build a complex object (can also be done using J or j suffix,
-                e.g. 1+3J)
-delattr(obj, name)
-                deletes attribute named <name> of object <obj> <=> del obj.name
-dir([object])   If no args, return the list of names in current local
-                symbol table. With a module, class or class instance
-                object as arg, return list of names in its attr dict.
-
-divmod(a,b)     Returns tuple of (a/b, a%b)
-
-eval(s, globals, locals)
-                Eval string <s> in (optional) <globals>, <locals>. 
-                <s> must have no NULL's or newlines. <s> can also be a
-                code object.
-
-                E.g.: x = 1; incr_x = eval('x + 1')
-
-execfile(file[, globals[, locals]])
-                Execute a file without creating a new module, unlike import.
-filter(function, sequence)
-                Construct a list from those elements of <sequence> for which
-                <function> returns true. <function> takes one parameter.
-
-float(x)        Convert a number or a string to floating point. 
-
-getattr(object, name[, default]))    [<default> arg added in 1.5.2]
-                Get attr called <name> from <object>, e.g. getattr(x, 'f') <=> x.f).
-                If not found, raise AttributeError or return <default> if specified.
-                
-globals()       Returns a dictionary containing current global variables.
-
-hasattr(object, name)
-                Returns true if <object> has attr called <name>.
-
-hash(object)    Return the hash value of the object (if it has one)
-
-hex(x)          Convert a number to a hexadecimal string.
-
-id(object)      Return a unique 'identity' integer for an object.
-
-input([prompt]) Prints prompt, if given. Reads input and evaluates it.
-int(x)          Convert a number or a string to a plain integer.
-
-intern(aString)
-                Enter <String> in the table of "interned strings" and
-                return the string. Interned strings are 'immortals'.
-isinstance(obj, class)
-                return true if <obj> is an instance of <class>
-issubclass(class1, class2)
-                return true if <class1> is derived from <class2>
-len(s)          Return the length (the number of items) of an object
-                (sequence or dictionary).
-
-list(sequence)
-                Convert <sequence> into a list. If already a list,
-                return a copy of it.
-locals()        Return a dictionary containing current local variables.
-
-long(x)         Convert a number or a string to a long integer.
-
-map(function, list, ...)
-                Apply <function> to every item of <list> and return a list
-                of the results.  If additional arguments are passed, 
-                <function> must take that many arguments and it is given
-                to <function> on each call.
-
-max(s)          Return the largest item of a non-empty sequence.
-
-min(s)          Return the smallest item of a non-empty sequence.
-
-oct(x)          Convert a number to an octal string.
-
-open(filename [, mode='r', [bufsize=<implementation dependent>]])
-                Return a new file object. First two args are same as 
-                those for C's "stdio open" function. <bufsize> is 0
-                for unbuffered, 1 for line-buffered, negative for
-                sys-default, all else, of (about) given size.
-
-ord(c)          Return integer ASCII value of <c> (str of len 1).
-
-pow(x, y [, z]) Return x to power y [modulo z]. See also ** operator.
-
-range(start [,end [, step]])
-                return list of ints from >= start and < end. 
-                With 1 arg, list from 0..<arg>-1
-                With 2 args, list from <start>..<end>-1
-                With 3 args, list from <start> up to <end> by <step>
-
-raw_input([prompt])
-                Print prompt if given, then read string from std
-                input (no trailing \n).
-
-reduce(f, list [, init])
-                Apply the binary function <f> to the items of
-                <list> so as to reduce the list to a single value.
-                If <init> given, it is "prepended" to <list>.
-
-reload(module)  Re-parse and re-initialize an already imported module.
-                Useful in interactive mode, if you want to reload a
-                module after fixing it. If module was synactically
-                correct but had an error in initialization, must
-                import it one more time before calling reload().
-
-repr(object)    Return a string containing a printable representation
-                of an object. Equivalent to `object` (using
-                backquotes).
-
-round(x,n=0)    Return the floating point value x rounded to n digits
-                        after the decimal point.
-
-setattr(object, name, value)
-                This is the counterpart of getattr().
-                setattr(o, 'foobar', 3) <=> o.foobar = 3
-                Create attribute if it doesn't exist!
-
-slice([start,] stop[, step])
-                Return a slice object representing a range, with R/O
-                attributes: start, stop, step.
-str(object)     Return a string containing a nicely printable
-                representation of an object.
-
-tuple(sequence) Creates a tuple with same elements as <sequence>. If
-                already a tuple, return itself (not a copy).
-
-type(obj)       Return a type object [see module types]representing the
-                type of <obj>. E.g., import types
-                if type(x) == types.StringType: print 'It is a string'
-
-vars([object])  Without arguments, return a dictionary corresponding
-                to the current local symbol table.  With a module,
-                class or class instance object as argument   
-                returns a dictionary corresponding to the object's
-                symbol table. Useful with "%" formatting operator.
-
-xrange(start [, end [, step]])
-                Like range(), but doesn't actually store entire list
-                all at once. Good to use in "for" loops when there is a
-                big range and little memory.
-
-
-
-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.