summaryrefslogtreecommitdiffstats
path: root/Parser
Commit message (Collapse)AuthorAgeFilesLines
* (I suggest a recompile after getting this, the ceval.c bugfix may be crucial!)Guido van Rossum1993-04-151-0/+9
| | | | | | | * Makefile: removed superfluous AR=ar, fixed misleading comment. * ceval.c: fixed debugging code; save/restore errors in locals_2_fast. * intrcheck.c: for SunOS etc., turn off syscall resumption. * regexpr.h: bump number of registers to 100.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-2918-36/+36
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-4/+7
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* * bltinmodule.c: added built-in function cmp(a, b)Guido van Rossum1992-10-181-1/+1
| | | | | | | | | | | | | | | * flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
* Correct debug printing codeGuido van Rossum1992-09-031-1/+1
|
* Print warnings to stderr and correct spellingGuido van Rossum1992-09-031-2/+2
|
* Copyright for 1992 addedGuido van Rossum1992-04-0515-15/+15
|
* Copyright for 1992 addedGuido van Rossum1992-04-054-4/+4
|
* Added guesstabsize() for the macGuido van Rossum1992-03-271-0/+10
|
* lintGuido van Rossum1992-03-271-1/+2
|
* Lint fluffGuido van Rossum1992-03-271-4/+3
|
* Guess tab size on the Mac from tab resource.Guido van Rossum1992-03-251-0/+7
|
* Append a NEWLINE token at the end of a file.Guido van Rossum1992-03-041-0/+7
|
* Make tabs always 8 spaces wide -- it's more portable.Guido van Rossum1992-02-261-6/+1
|
* Added a header file.Guido van Rossum1992-01-191-0/+4
|
* Add warning XXX that 09.9 isn't accepted.Guido van Rossum1991-12-101-0/+2
|
* Added shift and mask ops.Guido van Rossum1991-10-241-2/+25
| | | | Allow numbers starting with a period.
* Added 2-char tokens and new versions of comparisonsGuido van Rossum1991-10-201-0/+47
|
* Implemented 2-character operators.Guido van Rossum1991-10-201-11/+20
|
* Added work-arounds for MPW 3.{1,2?} code generation bug.Guido van Rossum1991-09-101-0/+17
|
* Completely ignore lines with only a newline token on them, exceptGuido van Rossum1991-07-271-25/+47
| | | | wholly empty lines interactively.
* Reorganized somewhat to make it really work on Think C.Guido van Rossum1991-07-011-10/+5
| | | | Hope the best for MPW 3.
* Generalize to macintosh.Guido van Rossum1991-06-243-16/+26
|
* When printing an error message, don't choke if tok->buf is NULL.Guido van Rossum1991-06-071-10/+14
|
* Don't print the line number for syntax errors in string parsing.Guido van Rossum1991-06-031-0/+3
|
* Added recognition of 'l' or 'L' as long integer suffixGuido van Rossum1991-05-051-16/+23
|
* Add declaration of struct _node, for scoping reasons.Guido van Rossum1991-04-041-0/+2
|
* Added forward declarations.Guido van Rossum1991-04-031-0/+15
|
* Added copyright notice.Guido van Rossum1991-02-1919-0/+456
|
* Mac version now looks ahead in event queue instead of eating events.Guido van Rossum1991-01-161-10/+35
| | | | Much better!
* Changes for THINK C 4.0.Guido van Rossum1990-12-201-2/+2
|
* Changess for THINK C 4.0.Guido van Rossum1990-12-201-2/+2
|
* "Compiling" versionGuido van Rossum1990-12-2017-282/+329
|
* Set parse tree in parser data structure to NULL when returningGuido van Rossum1990-11-181-3/+4
| | | | a valid parse tree to caller, so caller must free the tree.
* Free parse tree when deleting parser.Guido van Rossum1990-11-181-2/+3
|
* Add function to free an entire parse tree.Guido van Rossum1990-11-181-0/+23
|
* Increment line number for continuation lines.Guido van Rossum1990-11-091-0/+1
|
* Initial revisionGuido van Rossum1990-10-1419-0/+2945