perm filename FEATS[CMU,AIL] blob sn#088639 filedate 1974-02-28 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00003 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	FILE OF NEW FEATURES ADDED TO SAIL.  I.E. CHANGES NOT BUGS
C00011 00003	B-SERIES FEATURES
C00014 ENDMK
C⊗;
FILE OF NEW FEATURES ADDED TO SAIL.  I.E. CHANGES NOT BUGS

%AA%	New sort of declaration:
	SPROUT_DEFAULTS <integer constant>;
	Semantics: Whenever the procedure in which this occurs is
		sprouted, the appropriate fields of the <integer
		constant> will be used to specify the p-stack,
		sp-stack, quantum, and priority of the sprouted process.
		(but only if nothing is explicitly stated in the
		options to the sprout for the particular field in question).
	[GEN,HEL,NWORLD] RHT 8-31-73 OK RHT

%AB%    Extension to capabilites of RELEASE
	RELEASE now takes a second (defaultible) argument, the CLOSE
	inhibit bits (See RELEAS description in UUO manual)
	These are defaulted to zero when not specified so old programs
	which did not specify them will work as before.

	[FOO2,IOSER] JRL mid JULY 73

%AC%	Remove global declaration option to error recovery.
	Now the compiler doesn't ask whether one wants their
	undeclared identifiers declared globally, it merely 
	declares them locally. 
	
	[GEN] KVL 9/27/73

%AD%	Arrange for Alloc? (on reentry) to know about lower case.

	[GOGOL] RHT 10/6/73

%AE%	Arrange things so that you can pass a typed itemvar to
	an untyped itemvar formal.

	[STATS] RHT 10/18/73

%AF%	Have separate routines for set and list membership booleans
	[LEAP,LEPRUN] JRL 10/24/73

%AG%	Implement Item Overlap capabilities for separately compiled procedures.
	some other changes to leap initialization code to start
	the one and two-word list spaces as very small amounts
	[LEAP,LEPRUN,GEN] JRL 10/24/73

%AF%	Made suspend an itemvar procedure, so that the effect
	of x←suspend(myproc) is to allow this process to be restarted
	via a co-routine call.
	[FOO2] RHT 10/24/73

%AG%	Arrange for caller(newly sprouted process) to be the sprouting
	process. (i.e. initialize rsmr←daddy).
	[NWORLD] RHT 10/28/73

%AH%	fix things so that can type ree before starting a sail program.
	[GOGOL] RHT 10/29/73

%AI%	insert stuff so that one may log their error messages. I forgot  to
	put in feature numbers in HEAD, PARSE, HEL, & GEN, but remembered
	in COMSER, GOGOL, & STRSER.
	[HEAD, PARSE, HEL, GEN, COMSER, GOGOL, STRSER] KVL 11/10/73

%AJ%	Reorganize HEAD by transfering from HEAD to SAIL those
	macros (such as QSTACKs) that are only useful in the compiler.
	Also, incorporate the file that used to be FILSPC into HEAD.
	The effect of this is to get all the switch settings more together.
	[HEAD,SAIL,FILSPC,command files] RHT 11/18/73

%AK%	Replace exponentiation code in GOGOL to make it somewhat better;
	put together a set of user-callable trig routines that will work
	with APR interrupts on.  Also change error handler to make it
	reentrant; user can stuff address of an error routine in .ERRP.;
	it is called as rout(uuo addr,"error string","usererr response str")
	RFS 11/18/73

%AL%	Make outer block look more like a procedure by having it treat
	RF right on exit.  
	[SAIL,GEN,GOGOL,TOTAL] RHT 11/24/73

%AM%	New syntax for required initializations:
	REQUIRE procid INITIALIZATION [phase#];
	If [phase] is left out user phase 1 is assumed.  Otherwise,
	the specified (user) phase number will be used.
	[HEL,GEN] RHT 11/24/73

%AN%	ALLOW REQUIRES TO HAVE CONSTANT EXPRESSIONS AS WELL AS STRAIGHT
	CONSTANTS. AS BEFORE IF NO EXPRESSION IS GIVEN THE VALUE 0 WILL
	BE ASSUMED.
	[HEL,GEN,PROCES] JRL 11-25-73

%AO%	Do a SETPR2 if REMAP loses.  I'm actually not too happy about it,
	but may as well try.
	[GOGOL,SAIL] RHT 11-25-73

%AQ%	EVALREDEFINE implemented which bearsthe same relationship to REDEFINE 
	EVALDEFINE does to DEFINE.  
	[HEL,GEN,PARSE,SAIL] HJS 11-30-73

%AR%	CVPS converts a macro actual parameter to a string.  Very much like 
	a combination of ASSIGNC and CFMS.  
	[HEL,GEN,PARSE,SAIL] HJS 11-30-73

%AS%	Conditional compilation is now compatible with listing files.  
	The format is as follows:  The condional compilation reserved 
	words do not get listed.  Similarly for the condition (i.e. 
	IFC, IFCR, and WHILEC).  In other words only the code which 
	will be translated into executable code is shown on the listing.  
	[HEL,SYM,GEN] HJS 11-30-73 

%AT%	A left arrow following a macro name upon its definition or 
	redefinition is legal (equal sign still works).  
	[HEL] HJS 11-30-73 

%AU%	Allow FAIL, SUCCEED to be itemvar functions. They will perform
	the same as RESUME when the matching procedure is sprouted by the
	user. If the matching procedure is sprouted by the FOREACH interpreter
	they will return the item ANY (CVI(0)).
	[HEL,LEAP] JRL 12-1-73

%AV%	X←CHNCDB(CHANNEL) returns pointer to 3 word block used in open.
	Useful for interfacing assembly language routines with i/o in
	inner loop.

%AW%	ARRCLR routine added.  If BUF is any arithmetic or itemvar array,
	(including string arrays), ARRCLR(BUF) will zero out the entire
	array.
	[FOO2,ARYSER)  RLS 12-1-73

%AX%	SETPL routine added.  SETPL(channel,@linnum,@pagnum,@sosnum)
	allows linnum, pagnum, and sosnum to keep track of the string
	input from CHANNEL.  Whenever a '12 is encountered, LINNUM is
	incremented.  Whenever a '14 is encountered, PAGNUM is incremented,
 	and LINNUM is zeroed.  Whenever a stopgap line no. is encountered, it
	is placed into SOSNUM.  When fully implemented, this will work on
	the INPUT, INTIN, REALIN functions.  (The code has not been added to
	those functions yet, since there are some problems with INPUT that
	should be fixed first.)
	[GOGOL,IOSER]  rls 12-1-73

%AY%	make SAIL compiler call intmap runtime routine
	[SAIL,COMSER]

%AZ%	see DCS

B-SERIES FEATURES

%BA%	SEE DCS

%BB%	SEE DCS

%BC%	Add Bail symbol outputing routines to SAIL and GEN
	under the new BAIL switch.  The switch, of course, is
	turned off.  Needs to be put in now to avoid merger 
	problem latter....
	[HEAD,GEN,SAIL] KVL 1-6-74

%BD%	Add facility to have FOREACH statement without binding list
	for matching procedure fanciers.
	[HEL,LEAP] JRL 1-7-74

%BE%	make minor fixes to allow GLOBAL events.
	[NWORLD] RHT 1-8-74

%BF%	(Actually, a gross moby hack) Add XX table entry which
	can point to longer error string buffer.  The "right" fix
	is probably to rework the error handling or else to 
	add a longer string buffer, although an alternative would be
	to allow this to stand "as is", with a runtime routine
	ERMSBF(#chars want to allow) provided to allow the loser
	to diddle things.  This is what I will do, with ERMSBF(0)
	causing you to revert to using the compiled-in buffer.
	[GOGOL,FOO2] RHT 2-16-74

%BG%	(CMU =A1=) Add breakset mode "F", which undoes "K".
	[IOSER/25] RHT 2-22-74

%BH%	add a list connstruct:
		ARG_LIST(FOO,BAR,...,ZORCH)
	which works roughly like:
		{{REF_ITEM(FOO),...,REF_ITEM(ZORCH)}}
	except that all the items are marked so that APPLY deletes them.
	[HEL,LEAP,ARYSER] RHT 2-24-74