COMPILATION LISTING OF SEGMENT apl_si_command_ Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 11/29/83 1616.6 mst Tue Options: optimize map 1 /* ****************************************************** 2* * * 3* * * 4* * Copyright (c) 1972 by Massachusetts Institute of * 5* * Technology and Honeywell Information Systems, Inc. * 6* * * 7* * * 8* ****************************************************** */ 9 10 /* Program to implement the APL )SI and )SIV commands. 11* Written by R.S.Lamson, Summer, 1973. 12* Modified 740910 by PG for installation. 13* Modified 800130 by PG for localized system variables. 14**/ 15 16 /* format: style3 */ 17 apl_si_command_: 18 procedure; 19 20 variables = "0"b; 21 go to list_the_state_indicator; 22 23 apl_siv_command_: 24 entry; 25 26 variables = "1"b; 27 28 list_the_state_indicator: 29 call apl_create_save_frame_; /* needed for erased-functions check */ 30 last_frame_was_suspended = "0"b; 31 32 do parse_frame_ptr = ws_info.current_parse_frame_ptr 33 repeat (parse_frame_ptr -> parse_frame.last_parse_frame_ptr) while (parse_frame_ptr ^= null); 34 35 if parse_frame.parse_frame_type = suspended_frame_type 36 then last_frame_was_suspended = "1"b; 37 else if parse_frame.parse_frame_type ^= save_frame_type 38 then do; 39 if parse_frame.parse_frame_type = function_frame_type 40 then do; 41 lexed_function_bead_pointer = parse_frame.lexed_function_bead_ptr; 42 line_number = parse_frame.current_line_number; 43 44 if last_frame_was_suspended 45 then star = "*"; 46 else star = " "; 47 48 call get_function_name; 49 call ioa_$rsnnl ("^va[^d] ^a", string, string_length, min_function_name_length, 50 function_name, line_number, star); 51 call apl_print_string_ (substr (string, 1, string_length)); 52 53 if variables 54 then do symbol = 1 55 to lexed_function_bead_pointer 56 -> lexed_function_bead.number_of_localized_symbols; 57 58 p = lexed_function_bead_pointer 59 -> lexed_function_bead.localized_symbols (symbol); 60 61 if p ^= null 62 then if p -> general_bead.symbol 63 then call apl_print_string_ (p -> symbol_bead.name); 64 else call apl_print_string_ (system_var_names (p -> operator_bead.op1)); 65 end; 66 end; 67 else if parse_frame.parse_frame_type = evaluated_frame_type 68 then call apl_print_string_ (QQuad); 69 else if parse_frame.parse_frame_type = execute_frame_type 70 then call apl_print_string_ (QExecuteSign); 71 72 last_frame_was_suspended = "0"b; 73 call apl_print_newline_; 74 end; 75 end; 76 77 call apl_flush_buffer_; 78 call apl_destroy_save_frame_; 79 80 get_function_name: 81 procedure; 82 83 /* this internal procedure is called to determine what function name 84* should be printed. It exists only for indentation reasons */ 85 86 declare i fixed bin; 87 88 min_function_name_length = 1; /* normally don't mung ioa_ */ 89 90 if lexed_function_bead_pointer -> lexed_function_bead.name -> symbol_bead.meaning_pointer 91 = parse_frame.function_bead_ptr 92 then function_name = 93 lexed_function_bead_pointer -> /* global function - usual case */ lexed_function_bead.name 94 -> symbol_bead.name; 95 else do; 96 do i = 1 by 1 while (i <= current_parse_frame_ptr -> save_frame.saved_symbol_count); 97 98 /* go looking for localized function (QuadFX) */ 99 100 if current_parse_frame_ptr -> save_frame.symbol_list (i).symbol_pointer 101 = lexed_function_bead_pointer -> lexed_function_bead.name 102 then if current_parse_frame_ptr -> save_frame.symbol_list (i).saved_meaning_pointer 103 = parse_frame.function_bead_ptr 104 then do; /* found localized function */ 105 function_name = 106 lexed_function_bead_pointer -> lexed_function_bead.name -> symbol_bead.name; 107 go to exitloop; 108 end; 109 end; 110 111 /* neither global nor most locally bound: probably erased so give blank name */ 112 113 function_name = ""; 114 min_function_name_length = 6; /* mung ioa_ to give 6 spaces */ 115 end; 116 117 exitloop: 118 return; 119 120 end get_function_name; 121 122 /* automatic */ 123 124 declare (p, parse_frame_ptr, lexed_function_bead_pointer) 125 ptr; 126 127 declare (last_frame_was_suspended, variables) 128 bit (1) aligned automatic; 129 130 declare (symbol, line_number, string_length) 131 fixed binary; 132 133 declare star char (1); 134 135 declare string character (256); 136 declare function_name char (200) varying; 137 declare min_function_name_length 138 fixed bin; 139 140 /* entries */ 141 142 declare (apl_create_save_frame_, apl_destroy_save_frame_) 143 entry; 144 145 declare ioa_$rsnnl entry options (variable); 146 147 declare apl_print_string_ entry (character (*)); 148 149 declare (apl_print_newline_, apl_flush_buffer_) 150 entry (); 151 152 /* builtins */ 153 154 declare (char, null, substr) 155 builtin; 156 157 /* internal static options (constant) */ 158 159 declare system_var_names (2:16) char (3) internal static options (constant) 160 init ("Žct", "Žio", "Žlx", "Žpp", "Žpw", "Žrl", (8) (1)"", "Žit"); 161 /* rest assured these strings contain Quads (\216) */ 162 163 /* include files */ 164 1 1 /* ====== BEGIN INCLUDE SEGMENT apl_number_data.incl.pl1 ================================== */ 1 2 1 3 /* 1 4* This include file contains information about the machine representation of numbers. 1 5* In all programs numbers should simply be declared 'float'. 1 6* All default statements should be in this include file. 1 7* 1 8* This is the binary version. The manifest constant Binary should be used by programs 1 9* that need to know whether we are using binary or decimal. 1 10* */ 1 11 1 12 /* format: style3,initlm0,idind30 */ 1 13 1 14 default (float & ^decimal & ^binary & ^precision & ^constant) float binary (63); 1 15 1 16 declare ( 1 17 TheBiggestNumberWeveGot float initial (0.1701411834604692317e+39), 1 18 TheSmallestNumberWeveGot float initial (.1469367938527859385e-38), 1 19 Binary bit (1) aligned initial ("1"b) 1 20 ) internal static options (constant); 1 21 1 22 /* Number of characters in a number datum entry; used for copying float number arrays as strings. 1 23* (Obsolete! use array copies!) */ 1 24 1 25 declare NumberSize fixed binary precision (4) internal static initial (8); 1 26 1 27 /* ------ END INCLUDE SEGMENT apl_number_data.incl.pl1 ---------------------------------- */ 165 2 1 /* ====== BEGIN INCLUDE SEGMENT apl_bead_format.incl.pl1 ================================== */ 2 2 2 3 declare 1 general_bead aligned based, /* The Venerable Bead */ 2 4 2 type unaligned, 2 5 3 bead_type unaligned, 2 6 4 operator bit (1), /* ON if operator bead */ 2 7 4 symbol bit (1), /* ON if symbol bead */ 2 8 4 value bit (1), /* ON if value bead */ 2 9 4 function bit (1), /* ON if function bead */ 2 10 4 group bit (1), /* ON if group bead */ 2 11 4 label bit (1), /* ON if label bead */ 2 12 4 shared_variable bit (1), /* ON if shared variable bead */ 2 13 4 lexed_function bit (1), /* ON if lexed function bead */ 2 14 3 data_type unaligned, 2 15 4 list_value bit (1), /* ON if a list value bead */ 2 16 4 character_value bit (1), /* ON if a character value bead */ 2 17 4 numeric_value bit (1), /* ON if a numeric value bead */ 2 18 4 integral_value bit (1), /* ON if an integral value bead */ 2 19 4 zero_or_one_value bit (1), /* ON if a boolean value bead */ 2 20 4 complex_value bit (1), /* ON if a complex, numeric value bead */ 2 21 3 unused_bits bit (4) unaligned, /* pad to 18 bits (for future use) */ 2 22 2 size bit (18) unaligned, /* Number of words this bead occupies 2 23* (used by bead storage manager) */ 2 24 2 reference_count fixed binary (29); /* Number of pointers which point 2 25* to this bead (used by bead manager) */ 2 26 2 27 2 28 /* constant strings for initing type field in various beads */ 2 29 2 30 declare ( 2 31 operator_type init("100000000000000000"b), 2 32 symbol_type init("010000000000000000"b), 2 33 value_type init("001000000000000000"b), 2 34 function_type init("000100000000000000"b), 2 35 group_type init("000010000000000000"b), 2 36 label_type init("001001000011000000"b), 2 37 shared_variable_type init("001000100000000000"b), 2 38 lexed_function_type init("000000010000000000"b), 2 39 2 40 list_value_type init("000000001000000000"b), 2 41 character_value_type init("001000000100000000"b), 2 42 numeric_value_type init("001000000010000000"b), 2 43 integral_value_type init("001000000011000000"b), 2 44 zero_or_one_value_type init("001000000011100000"b), 2 45 complex_value_type init("001000000000010000"b), 2 46 2 47 not_integer_mask init("111111111110011111"b), /* to clear integral, zero_or_one bits */ 2 48 not_zero_or_one_mask init("111111111111011111"b) /* to clear zero_or_one bit */ 2 49 ) bit(18) internal static; 2 50 2 51 /* ------ END INCLUDE SEGMENT apl_bead_format.incl.pl1 ---------------------------------- */ 166 3 1 /* ====== BEGIN INCLUDE SEGMENT apl_symbol_bead.incl.pl1 ================================== */ 3 2 3 3 /* Explanation of fields: 3 4* symbol_bead.hash_link_pointer points to next symbol in same hash bucket in the symbol table. 3 5* symbol_bead.meaning_pointer points to current "value" of this name: 3 6* = null => unused (e.g. undefined variable) 3 7* -> group bead => group name 3 8* -> value bead => variable with a value 3 9* -> function bead => function name 3 10* -> label bead => localized label value 3 11* -> shared var bead => shared variable */ 3 12 3 13 declare 1 symbol_bead aligned based, 3 14 2 header aligned like general_bead, 3 15 2 hash_link_pointer pointer unaligned, 3 16 2 meaning_pointer pointer unaligned, 3 17 2 name_length fixed binary, 3 18 2 name character (0 refer (symbol_bead.name_length)) unaligned; 3 19 3 20 /* ------ END INCLUDE SEGMENT apl_symbol_bead.incl.pl1 ---------------------------------- */ 167 4 1 /* ====== BEGIN INCLUDE SEGMENT apl_lexed_function_bead.incl.pl1 ========================== */ 4 2 4 3 /* this is the format of a user-defined function after it has been run 4 4* through apl_lex_, the first (left to right) parsing phase. */ 4 5 4 6 dcl 1 lexed_function_bead based aligned, 4 7 2 header like general_bead, /* type bits, etc. */ 4 8 4 9 2 name pointer unaligned, /* -> symbol bead which names the function */ 4 10 2 bits_for_parse unaligned like operator_bead.bits_for_parse, /* so can treat like system function */ 4 11 2 number_of_statements fixed bin, 4 12 2 number_of_localized_symbols fixed bin, /* including labels and parameter variables, return var */ 4 13 /* even if they aren't there, thus >_ 3 */ 4 14 2 number_of_labels fixed bin, 4 15 2 label_values_ptr pointer unaligned, /* -> label_values below */ 4 16 2 statement_map_ptr pointer unaligned, /* -> statement_map below */ 4 17 2 lexeme_array_ptr pointer unaligned, /* -> lexeme_array below */ 4 18 4 19 /* the first 3 localized symbols are always reserved for ReturnSymbol, LeftArgSymbol, RighArgSymbol respectively. 4 20* If some of these symbols are not present (e.g. monadic or value-less function), null pointers are used. 4 21* So beware!, there can be null ptrs in the localized_symbols array. */ 4 22 4 23 2 localized_symbols( (0) refer (lexed_function_bead.number_of_localized_symbols)) pointer unaligned, 4 24 /* first localized vars from header line, then labels */ 4 25 2 label_values ( (0) refer (lexed_function_bead.number_of_labels)) pointer unaligned, 4 26 /* ptrs to label-value beads for labels */ 4 27 2 statement_map ( (0) refer (lexed_function_bead.number_of_statements)) fixed bin(18), 4 28 /* index in lexeme_array of rightmost lexeme of each stmt */ 4 29 2 lexeme_array ( (0) refer (lexed_function_bead.number_of_labels) /* not really, but fake out compiler */ ) pointer unaligned; 4 30 /* the actual lexemes. Length of array is 4 31* statement_map(number_of_statements) */ 4 32 4 33 4 34 /* manifest constants for first 3 localized symbols */ 4 35 4 36 dcl (ReturnSymbol init(1), 4 37 LeftArgSymbol init(2), 4 38 RightArgSymbol init(3) 4 39 ) fixed binary static; 4 40 4 41 4 42 /* the last three parts of this bead are referenced separately, though ptrs earlier in the bead. 4 43* Here are declarations for them as level-1 structures */ 4 44 4 45 dcl 1 lexed_function_label_values_structure based aligned, 4 46 2 lexed_function_label_values ( 500 /* or so */ ) pointer unaligned, 4 47 4 48 statement_count fixed bin, 4 49 lexed_function_statement_map (statement_count) fixed bin(18) aligned based, 4 50 4 51 1 lexed_function_lexemes_structure based aligned, 4 52 2 lexed_function_lexeme_array ( 500 /* or so */ ) pointer unaligned; 4 53 4 54 /* ------ END INCLUDE SEGMENT apl_lexed_function_bead.incl.pl1 -------------------------- */ 168 5 1 /* ====== BEGIN INCLUDE SEGMENT apl_parse_frame.incl.pl1 ================================== */ 5 2 5 3 declare 1 parse_frame aligned based (parse_frame_ptr), 5 4 2 last_parse_frame_ptr ptr unaligned, /* pointer to last parse frame, or null */ 5 5 2 parse_frame_type fixed bin, /* suspended, function, eval input, etc. */ 5 6 2 function_bead_ptr ptr unaligned, /* ptr to function bead */ 5 7 2 lexed_function_bead_ptr ptr unaligned, /* ptr to lexed function bead */ 5 8 2 reduction_stack_ptr ptr unaligned, /* ptr to reduction stack for this frame */ 5 9 2 current_parseme fixed bin, /* element of reduction stack that is top of stack */ 5 10 2 current_lexeme fixed bin, /* element number of current lexeme */ 5 11 2 current_line_number fixed bin, /* line number being executed */ 5 12 2 return_point fixed bin, /* where to join the reductions on return */ 5 13 2 put_result fixed bin, /* where to put the value when returning to this frame */ 5 14 2 print_final_value bit(1) aligned, /* if true, print final value on line */ 5 15 2 initial_value_stack_ptr ptr unaligned, /* for cleaning up the value stack */ 5 16 2 number_of_ptrs fixed bin, /* number of old meaning ptrs */ 5 17 2 old_meaning_ptrs dim (number_of_ptrs refer (parse_frame.number_of_ptrs)) ptr unaligned; 5 18 /* old meanings for local variables. */ 5 19 5 20 declare number_of_ptrs fixed bin; 5 21 5 22 declare (suspended_frame_type init (1), /* for comparison with parse frame type */ 5 23 function_frame_type init (2), 5 24 evaluated_frame_type init (3), 5 25 execute_frame_type init (4), 5 26 save_frame_type init (5) 5 27 ) fixed bin internal static options (constant); 5 28 5 29 declare reductions_pointer pointer; 5 30 5 31 declare 5 32 1 reduction_stack aligned dim (1000) based (reductions_pointer), 5 33 2 type fixed bin, /* type of parseme */ 5 34 2 bits unaligned like operator_bead.bits_for_parse, 5 35 2 semantics ptr unaligned, 5 36 2 lexeme fixed bin, 5 37 5 38 1 reduction_stack_for_op aligned dim (1000) based (reductions_pointer), 5 39 2 type fixed bin, 5 40 2 bits unaligned like operator_bead.bits_for_parse, 5 41 2 semantics fixed bin, 5 42 2 lexeme fixed bin, 5 43 5 44 (eol_type init(0), /* parseme types - end of line */ 5 45 bol_type init(1), /* begining of line */ 5 46 val_type init(2), /* value */ 5 47 op_type init(3), /* op */ 5 48 open_paren_type init(4), 5 49 close_paren_type init(5), 5 50 open_bracket_type init(6), 5 51 close_subscript_type init(7), 5 52 close_rank_type init(8), 5 53 semi_colon_type init(9), 5 54 diamond_type init (10), 5 55 subscript_type init (11)) fixed bin internal static options (constant); 5 56 5 57 /* ------ END INCLUDE SEGMENT apl_parse_frame.incl.pl1 ---------------------------------- */ 169 6 1 /* ====== BEGIN INCLUDE SEGMENT apl_ws_info.incl.pl1 ====================================== */ 6 2 6 3 /* This structure contains all of the global data (or pointers to it) for the APL subsystem */ 6 4 6 5 /* automatic */ 6 6 6 7 declare ws_info_ptr ptr initial (apl_static_$ws_info_ptr.static_ws_info_ptr); 6 8 6 9 /* external static */ 6 10 6 11 declare 1 apl_static_$ws_info_ptr external static aligned structure, 6 12 2 static_ws_info_ptr unaligned pointer; 6 13 6 14 /* based */ 6 15 6 16 declare 1 ws_info aligned based (ws_info_ptr), 6 17 2 version_number fixed bin, /* version of this structure (3) */ 6 18 2 switches unaligned, /* mainly ws parameters */ 6 19 3 long_error_mode bit, /* if 1, long Multics format, else APL/360 format */ 6 20 3 debug_mode bit, /* if 1, system error causes escape to command level */ 6 21 3 canonicalize_mode bit, /* if 1, the editor canonicalizes user input */ 6 22 3 restrict_exec_command bit, /* if 1, the )EXEC command may not be used */ 6 23 3 restrict_debug_command bit, /* if 1, the )DEBUG command may not be used */ 6 24 3 restrict_external_functions 6 25 bit, /* if 1, the )ZFN, )MFN, and )DFN commands may not be used */ 6 26 3 restrict_load bit, /* if 1, the )LOAD and )COPY commands may not be used */ 6 27 3 restrict_load_directory bit, /* if 1, no directory allowed in )LOAD or )COPY pathnames */ 6 28 3 restrict_save bit, /* if 1, the )SAVE command may not be used */ 6 29 3 restrict_save_directory bit, /* if 1, no directory allowed in )SAVE pathnames */ 6 30 3 off_hold bit, /* if 1, )OFF HOLD was typed, else just )OFF */ 6 31 3 transparent_to_signals bit, /* if 1, any conditions slip right past APL */ 6 32 3 meter_mode bit, /* if 1, metering may be done, else speed is all-important */ 6 33 3 restrict_msg_command bit, /* if 1, the )MSG command may not be used. */ 6 34 3 compatibility_check_mode 6 35 bit, /* if 1, check for incompatible operators */ 6 36 3 no_quit_handler bit, /* if 1, do not trap QUITs. */ 6 37 /* remaining 20 bits not presently used */ 6 38 6 39 2 values, /* attributes of the workspace */ 6 40 3 digits fixed bin, /* number of digits of precision printed on output */ 6 41 3 width fixed bin, /* line length for formatted output */ 6 42 3 index_origin fixed bin, /* the index origin (0 or 1) */ 6 43 3 random_link fixed bin(35), /* seed for random number generator */ 6 44 3 fuzz float, /* comparison tolerance (relative fuzz) */ 6 45 3 float_index_origin float, /* the index origin in floating point */ 6 46 3 number_of_symbols fixed bin, /* the number of symbol_beads currently in existence */ 6 47 3 maximum_value_stack_size 6 48 fixed bin (18), /* maximum number of words in one segment of value stack */ 6 49 6 50 2 pointers, /* pointers to various internal tables */ 6 51 3 symbol_table_ptr unaligned pointer, /* -> symbol_table (apl_symbol_table.incl.pl1) */ 6 52 3 current_parse_frame_ptr unaligned pointer, /* -> topmost parse frame */ 6 53 3 value_stack_ptr unaligned pointer, /* -> next free location on value stack */ 6 54 3 alloc_free_info_ptr unaligned pointer, /* -> apl_storage_mngr_ data (apl_storage_system_data.incl.pl1) */ 6 55 6 56 2 time_invoked fixed bin(71), /* clock time that APL was entered */ 6 57 2 integer_fuzz float, /* the absolute fuzz used in checking for integers */ 6 58 2 user_number fixed bin(35), /* number under which the user is signed on */ 6 59 2 latent_expression unaligned pointer, /* -> value_bead for QuadLX */ 6 60 2 lock char(32), /* the lock currently set on this workspace (password) */ 6 61 2 wsid char(100), /* the workspace identification: name, number name, or clear ws */ 6 62 2 last_error_code fixed bin(35), /* last code passed to apl_error_ */ 6 63 2 signoff_lock character (32), 6 64 6 65 2 interrupt_info aligned, /* bits used by apl_interpreter_ to tell when to abort */ 6 66 3 dont_interrupt_parse bit, /* if 1, don't do a dirty stop because the parser is running */ 6 67 3 dont_interrupt_operator bit, /* if 1, don't do a dirty stop because an operator is running */ 6 68 3 dont_interrupt_storage_manager /* if 1, don't stop because apl_storage_mngr_ is */ 6 69 bit, /* munging his tables */ 6 70 3 unused_interrupt_bit bit, /* not presently used */ 6 71 3 dont_interrupt_command bit, 6 72 3 can_be_interrupted bit, /* if 1, OK to do a clean stop (we are between lines, reading) */ 6 73 3 clean_interrupt_pending bit, /* interrupt occured, break cleanly (between lines) */ 6 74 3 dirty_interrupt_pending bit, /* interrupt occured, break as soon as not inhibited */ 6 75 6 76 2 user_name char (32), /* process group id of user */ 6 77 2 immediate_input_prompt char (32) varying, /* normal input */ 6 78 2 evaluated_input_prompt char (32) varying, /* quad input */ 6 79 2 character_input_prompt char (32) varying, /* quad-quote input */ 6 80 2 vcpu_time aligned, 6 81 3 total fixed bin (71), 6 82 3 setup fixed bin (71), 6 83 3 parse fixed bin (71), 6 84 3 lex fixed bin (71), 6 85 3 operator fixed bin (71), 6 86 3 storage_manager fixed bin (71), 6 87 2 output_info aligned, /* data pertaining to output buffer */ 6 88 3 output_buffer_ptr unal ptr, /* ptr to output buffer */ 6 89 3 output_buffer_len fixed bin (21), /* length (bytes) of output buffer */ 6 90 3 output_buffer_pos fixed bin (21), /* index of next byte to write in */ 6 91 3 output_buffer_ll fixed bin (21), /* print positions used up so far */ 6 92 2 tab_width fixed bin (21); /* number of columns a tabs moves cursor */ 6 93 6 94 declare output_buffer char (ws_info.output_buffer_len) based (ws_info.output_buffer_ptr); 6 95 6 96 /* internal static */ 6 97 6 98 declare max_parse_stack_depth fixed bin int static init(64536); 6 99 6 100 /* ------ END INCLUDE SEGMENT apl_ws_info.incl.pl1 -------------------------------------- */ 170 7 1 /* ====== BEGIN INCLUDE SEGMENT apl_characters.incl.pl1 =================================== */ 7 2 7 3 /* 7 4* * This include file contains all the characters in the APL character set, 7 5* * declared char(1) [Instead of fixed bin as in the apl_character_codes.incl.pl1 file] 7 6* * 7 7* Modified 780913 by PG to add CentSign 7 8* Modified 790319 by PG to add CommaHyphen 7 9* */ 7 10 7 11 declare ( 7 12 QBell init(""), 7 13 QBackSpace init(""), 7 14 QTab init(" "), 7 15 QNewLine init(" 7 16 "), 7 17 QSpace init(" "), 7 18 QExclamation init("!"), 7 19 QDollar init("$"), 7 20 QApostrophe init("'"), 7 21 QLeftParen init("("), 7 22 QRightParen init(")"), 7 23 QStar init("*"), 7 24 QPlus init("+"), 7 25 QComma init(","), 7 26 QMinus init("-"), 7 27 QPeriod init("."), 7 28 QSlash init("/"), 7 29 QZero init("0"), 7 30 QOne init("1"), 7 31 QTwo init("2"), 7 32 QThree init("3"), 7 33 QFour init("4"), 7 34 QFive init("5"), 7 35 QSix init("6"), 7 36 QSeven init("7"), 7 37 QEight init("8"), 7 38 QNine init("9"), 7 39 QColon init(":"), 7 40 QSemiColon init(";"), 7 41 QLessThan init("<"), 7 42 QEqual init("="), 7 43 QGreaterThan init(">"), 7 44 QQuestion init("?"), 7 45 QLetterA_ init("A"), 7 46 QLetterB_ init("B"), 7 47 QLetterC_ init("C"), 7 48 QLetterD_ init("D"), 7 49 QLetterE_ init("E"), 7 50 QLetterF_ init("F"), 7 51 QLetterG_ init("G"), 7 52 QLetterH_ init("H"), 7 53 QLetterI_ init("I"), 7 54 QLetterJ_ init("J"), 7 55 QLetterK_ init("K"), 7 56 QLetterL_ init("L"), 7 57 QLetterM_ init("M"), 7 58 QLetterN_ init("N"), 7 59 QLetterO_ init("O"), 7 60 QLetterP_ init("P"), 7 61 QLetterQ_ init("Q"), 7 62 QLetterR_ init("R"), 7 63 QLetterS_ init("S"), 7 64 QLetterT_ init("T"), 7 65 QLetterU_ init("U"), 7 66 QLetterV_ init("V"), 7 67 QLetterW_ init("W"), 7 68 QLetterX_ init("X"), 7 69 QLetterY_ init("Y"), 7 70 QLetterZ_ init("Z"), 7 71 QLeftBracket init("["), 7 72 QBackSlash init("\"), 7 73 QRightBracket init("]"), 7 74 QUnderLine init("_"), 7 75 QLetterA init("a"), 7 76 QLetterB init("b"), 7 77 QLetterC init("c"), 7 78 QLetterD init("d"), 7 79 QLetterE init("e"), 7 80 QLetterF init("f"), 7 81 QLetterG init("g"), 7 82 QLetterH init("h"), 7 83 QLetterI init("i"), 7 84 QLetterJ init("j"), 7 85 QLetterK init("k"), 7 86 QLetterL init("l"), 7 87 QLetterM init("m"), 7 88 QLetterN init("n"), 7 89 QLetterO init("o"), 7 90 QLetterP init("p"), 7 91 QLetterQ init("q"), 7 92 QLetterR init("r"), 7 93 QLetterS init("s"), 7 94 QLetterT init("t"), 7 95 QLetterU init("u"), 7 96 QLetterV init("v"), 7 97 QLetterW init("w"), 7 98 QLetterX init("x"), 7 99 QLetterY init("y"), 7 100 QLetterZ init("z"), 7 101 QLeftBrace init("{"), 7 102 QVerticalBar init("|"), 7 103 QRightBrace init("}"), 7 104 QTilde init("~"), 7 105 QLessOrEqual init("€"), 7 106 QGreaterOrEqual init(""), 7 107 QNotEqual init("‚"), 7 108 QOrSign init("ƒ"), 7 109 QAndSign init("„"), 7 110 QDivision init("…"), 7 111 QEpsilon init("†"), 7 112 QUpArrow init("‡"), 7 113 QDownArrow init("ˆ"), 7 114 QCircle init("‰"), 7 115 QCeiling init("Š"), 7 116 QFloor init("‹"), 7 117 QDelta init("Œ"), 7 118 QSmallCircle init(""), 7 119 QQuad init("Ž"), 7 120 QCap init(""), 7 121 QDeCode init(""), 7 122 QEnCode init("‘"), 7 123 QLeftLump init("’"), 7 124 QRightLump init("“"), 7 125 QCup init("”"), 7 126 QNorSign init("•"), 7 127 QNandSign init("–"), 7 128 QCircleHyphen init("—"), 7 129 QSlashHyphen init("˜"), 7 130 QDelTilde init("™"), 7 131 QCircleStar init("š"), 7 132 QCircleBar init("›"), 7 133 QCircleBackSlash init("œ"), 7 134 QCircleSlash init(""), 7 135 QGradeDown init("ž"), 7 136 QGradeUp init("Ÿ"), 7 137 QLamp init(" "), 7 138 QQuadQuote init("¡"), 7 139 QIBeam init("¢"), 7 140 QBackSlashHyphen init("£"), 7 141 QDomino init("¤"), 7 142 QDiaresis init("¥"), 7 143 QOmega init("¦"), 7 144 QIota init("§"), 7 145 QRho init("¨"), 7 146 QTimes init("©"), 7 147 QAlpha init("ª"), 7 148 QUpperMinus init("«"), 7 149 QDel init("¬"), 7 150 QLeftArrow init("­"), 7 151 QRightArrow init("®"), 7 152 QDiamond init("¯"), 7 153 QZero_ init("°"), 7 154 QOne_ init("±"), 7 155 QTwo_ init("²"), 7 156 QThree_ init("³"), 7 157 QFour_ init("´"), 7 158 QFive_ init("µ"), 7 159 QSix_ init("¶"), 7 160 QSeven_ init("·"), 7 161 QEight_ init("¸"), 7 162 QNine_ init("¹"), 7 163 QDelta_ init("º"), 7 164 QMarkError init("»"), 7 165 QExecuteSign init("¼"), 7 166 QFormatSign init("½"), 7 167 QLeftTack init("¾"), 7 168 QRightTack init("¿"), 7 169 QLineFeed init("À"), 7 170 QConditionalNewLine init("Á"), 7 171 QCentSign init("Â"), 7 172 QCommaHyphen init("Ã") 7 173 ) char(1) internal static options (constant); 7 174 7 175 /* ------ END INCLUDE SEGMENT apl_characters.incl.pl1 ----------------------------------- */ 171 8 1 /* ====== BEGIN INCLUDE SEGMENT apl_operator_bead.incl.pl1 ================================ */ 8 2 8 3 declare 8 4 1 operator_bead aligned based, 8 5 8 6 2 type unaligned like general_bead.type, 8 7 8 8 2 bits_for_lex unaligned, 8 9 3 allow_brackets bit(1), /* operator may have dimension info in brackets */ 8 10 3 allow_product bit(1), /* operator may be used in inner and outer product */ 8 11 3 allow_reduction bit(1), /* operator may be used in reduction and scan */ 8 12 3 special_assignment bit(1), /* doesn't use standard assignment operator */ 8 13 3 ignores_assignment bit(1), /* assignment has no effect */ 8 14 3 allow_subscripted_assignment 8 15 bit(1), /* system variable that can be subscripted assigned */ 8 16 3 pad bit(12), 8 17 8 18 2 bits_for_parse unaligned, 8 19 3 stop_trace_control bit(1), /* next lexeme is function being stopped/traced 8 20* (op1 tells which) */ 8 21 3 quad bit(1), /* this is a quad type */ 8 22 3 system_variable bit(1), /* this is a system variable, not an op */ 8 23 3 dyadic bit(1), /* operator may be dyadic */ 8 24 3 monadic bit(1), /* operator may be monadic */ 8 25 3 function bit(1), /* operator is a user defined function */ 8 26 3 semantics_valid bit(1), /* if semantics has been set */ 8 27 3 has_list bit(1), /* semantics is a list */ 8 28 3 inner_product bit(1), /* op2 is valid */ 8 29 3 semantics_on_stack bit(1), /* semantics points to value stack */ 8 30 3 is_external_function bit(1), /* semantics points to function bead for ext function */ 8 31 3 pad bit(7), 8 32 3 op2 fixed bin(8) unaligned, /* secondary operator code */ 8 33 3 op1 fixed bin(8) unaligned, /* primary operator code */ 8 34 2 type_code fixed bin; /* for parse */ 8 35 8 36 /* ------ END INCLUDE SEGMENT apl_operator_bead.incl.pl1 -------------------------------- */ 172 9 1 /* ====== BEGIN INCLUDE FILE apl_save_frame.incl.pl1 =================================== */ 9 2 9 3 declare save_frame_pointer pointer unaligned; 9 4 9 5 declare 1 save_frame aligned based (save_frame_pointer), 9 6 2 last_frame_pointer ptr unal, /* pointer to last parse frame */ 9 7 2 frame_type fixed bin, /* = save_frame_type */ 9 8 2 saved_symbol_count fixed bin (29), /* number of symbols in saved frame */ 9 9 2 symbol_list aligned dimension (total_symbols refer (save_frame.saved_symbol_count)), 9 10 3 symbol_pointer ptr unal, /* pointer to each symbol bead (never null) */ 9 11 3 saved_meaning_pointer ptr unal, /* ptr to local meaning at time save_frame is created */ 9 12 /* (if null, local meaning is null) */ 9 13 3 global_meaning_pointer_pointer /* pointer to the meaning pointer which */ 9 14 ptr unal; /* represents the global meaning of this symbol */ 9 15 /* (if null, either symbol was never localized, */ 9 16 /* or save_frame was created by apl_load_command_,*/ 9 17 /* and saved_meaning_ptr determines whether it */ 9 18 /* was localized) */ 9 19 9 20 /* ------ END INCLUDE FILE apl_save_frame.incl.pl1 ----------------------------------- */ 173 174 175 end apl_si_command_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/29/83 1347.2 apl_si_command_.pl1 >special_ldd>on>apl.1129>apl_si_command_.pl1 165 1 03/27/82 0429.8 apl_number_data.incl.pl1 >ldd>include>apl_number_data.incl.pl1 166 2 03/27/82 0438.5 apl_bead_format.incl.pl1 >ldd>include>apl_bead_format.incl.pl1 167 3 03/27/82 0439.2 apl_symbol_bead.incl.pl1 >ldd>include>apl_symbol_bead.incl.pl1 168 4 03/27/82 0438.7 apl_lexed_function_bead.incl.pl1 >ldd>include>apl_lexed_function_bead.incl.pl1 169 5 03/27/82 0439.0 apl_parse_frame.incl.pl1 >ldd>include>apl_parse_frame.incl.pl1 170 6 03/27/82 0439.2 apl_ws_info.incl.pl1 >ldd>include>apl_ws_info.incl.pl1 171 7 03/27/82 0438.6 apl_characters.incl.pl1 >ldd>include>apl_characters.incl.pl1 172 8 03/27/82 0439.0 apl_operator_bead.incl.pl1 >ldd>include>apl_operator_bead.incl.pl1 173 9 03/27/82 0439.1 apl_save_frame.incl.pl1 >ldd>include>apl_save_frame.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. QExecuteSign 000000 constant char(1) initial unaligned dcl 7-11 set ref 69* QQuad 000001 constant char(1) initial unaligned dcl 7-11 set ref 67* apl_create_save_frame_ 000010 constant entry external dcl 142 ref 28 apl_destroy_save_frame_ 000012 constant entry external dcl 142 ref 78 apl_flush_buffer_ 000022 constant entry external dcl 149 ref 77 apl_print_newline_ 000020 constant entry external dcl 149 ref 73 apl_print_string_ 000016 constant entry external dcl 147 ref 51 61 64 67 69 apl_static_$ws_info_ptr 000024 external static structure level 1 dcl 6-11 bead_type based structure level 3 packed unaligned dcl 2-3 bits_for_parse 1 based structure level 2 packed unaligned dcl 8-3 current_line_number 7 based fixed bin(17,0) level 2 dcl 5-3 ref 42 current_parse_frame_ptr 15 based pointer level 3 packed unaligned dcl 6-16 ref 32 96 100 100 evaluated_frame_type constant fixed bin(17,0) initial dcl 5-22 ref 67 execute_frame_type constant fixed bin(17,0) initial dcl 5-22 ref 69 function_bead_ptr 2 based pointer level 2 packed unaligned dcl 5-3 ref 90 100 function_frame_type constant fixed bin(17,0) initial dcl 5-22 ref 39 function_name 000214 automatic varying char(200) dcl 136 set ref 49* 90* 105* 113* general_bead based structure level 1 dcl 2-3 i 000312 automatic fixed bin(17,0) dcl 86 set ref 96* 96* 100 100* ioa_$rsnnl 000014 constant entry external dcl 145 ref 49 last_frame_was_suspended 000106 automatic bit(1) dcl 127 set ref 30* 35* 44 72* last_parse_frame_ptr based pointer level 2 packed unaligned dcl 5-3 ref 75 lexed_function_bead based structure level 1 dcl 4-6 lexed_function_bead_pointer 000104 automatic pointer dcl 124 set ref 41* 53 58 90 90 100 105 lexed_function_bead_ptr 3 based pointer level 2 packed unaligned dcl 5-3 ref 41 line_number 000111 automatic fixed bin(17,0) dcl 130 set ref 42* 49* localized_symbols 12 based pointer array level 2 packed unaligned dcl 4-6 ref 58 meaning_pointer 3 based pointer level 2 packed unaligned dcl 3-13 ref 90 min_function_name_length 000277 automatic fixed bin(17,0) dcl 137 set ref 49* 88* 114* name 2 based pointer level 2 in structure "lexed_function_bead" packed unaligned dcl 4-6 in procedure "apl_si_command_" ref 90 90 100 105 name 5 based char level 2 in structure "symbol_bead" packed unaligned dcl 3-13 in procedure "apl_si_command_" set ref 61* 90 105 name_length 4 based fixed bin(17,0) level 2 dcl 3-13 ref 61 61 90 105 null builtin function dcl 154 ref 32 61 number_of_localized_symbols 5 based fixed bin(17,0) level 2 dcl 4-6 ref 53 op1 1(27) based fixed bin(8,0) level 3 packed unaligned dcl 8-3 ref 64 operator_bead based structure level 1 dcl 8-3 p 000100 automatic pointer dcl 124 set ref 58* 61 61 61 64 parse_frame based structure level 1 dcl 5-3 parse_frame_ptr 000102 automatic pointer dcl 124 set ref 32* 32* 35 37 39 41 42 67 69* 75 90 100 parse_frame_type 1 based fixed bin(17,0) level 2 dcl 5-3 ref 35 37 39 67 69 pointers 14 based structure level 2 dcl 6-16 save_frame based structure level 1 dcl 9-5 save_frame_type constant fixed bin(17,0) initial dcl 5-22 ref 37 saved_meaning_pointer 4 based pointer array level 3 packed unaligned dcl 9-5 ref 100 saved_symbol_count 2 based fixed bin(29,0) level 2 dcl 9-5 ref 96 star 000113 automatic char(1) unaligned dcl 133 set ref 44* 46* 49* static_ws_info_ptr 000024 external static pointer level 2 packed unaligned dcl 6-11 ref 6-7 string 000114 automatic char(256) unaligned dcl 135 set ref 49* 51 51 string_length 000112 automatic fixed bin(17,0) dcl 130 set ref 49* 51 51 substr builtin function dcl 154 ref 51 51 suspended_frame_type constant fixed bin(17,0) initial dcl 5-22 ref 35 symbol 000110 automatic fixed bin(17,0) dcl 130 in procedure "apl_si_command_" set ref 53* 58* symbol 0(01) based bit(1) level 4 in structure "general_bead" packed unaligned dcl 2-3 in procedure "apl_si_command_" ref 61 symbol_bead based structure level 1 dcl 3-13 symbol_list 3 based structure array level 2 dcl 9-5 symbol_pointer 3 based pointer array level 3 packed unaligned dcl 9-5 ref 100 system_var_names 000002 constant char(3) initial array unaligned dcl 159 set ref 64* type based structure level 3 in structure "symbol_bead" packed unaligned dcl 3-13 in procedure "apl_si_command_" type based structure level 3 in structure "lexed_function_bead" packed unaligned dcl 4-6 in procedure "apl_si_command_" type based structure level 2 in structure "general_bead" packed unaligned dcl 2-3 in procedure "apl_si_command_" variables 000107 automatic bit(1) dcl 127 set ref 20* 26* 53 ws_info based structure level 1 dcl 6-16 ws_info_ptr 000300 automatic pointer initial dcl 6-7 set ref 32 6-7* 96 100 100 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. Binary internal static bit(1) initial dcl 1-16 LeftArgSymbol internal static fixed bin(17,0) initial dcl 4-36 NumberSize internal static fixed bin(4,0) initial dcl 1-25 QAlpha internal static char(1) initial unaligned dcl 7-11 QAndSign internal static char(1) initial unaligned dcl 7-11 QApostrophe internal static char(1) initial unaligned dcl 7-11 QBackSlash internal static char(1) initial unaligned dcl 7-11 QBackSlashHyphen internal static char(1) initial unaligned dcl 7-11 QBackSpace internal static char(1) initial unaligned dcl 7-11 QBell internal static char(1) initial unaligned dcl 7-11 QCap internal static char(1) initial unaligned dcl 7-11 QCeiling internal static char(1) initial unaligned dcl 7-11 QCentSign internal static char(1) initial unaligned dcl 7-11 QCircle internal static char(1) initial unaligned dcl 7-11 QCircleBackSlash internal static char(1) initial unaligned dcl 7-11 QCircleBar internal static char(1) initial unaligned dcl 7-11 QCircleHyphen internal static char(1) initial unaligned dcl 7-11 QCircleSlash internal static char(1) initial unaligned dcl 7-11 QCircleStar internal static char(1) initial unaligned dcl 7-11 QColon internal static char(1) initial unaligned dcl 7-11 QComma internal static char(1) initial unaligned dcl 7-11 QCommaHyphen internal static char(1) initial unaligned dcl 7-11 QConditionalNewLine internal static char(1) initial unaligned dcl 7-11 QCup internal static char(1) initial unaligned dcl 7-11 QDeCode internal static char(1) initial unaligned dcl 7-11 QDel internal static char(1) initial unaligned dcl 7-11 QDelTilde internal static char(1) initial unaligned dcl 7-11 QDelta internal static char(1) initial unaligned dcl 7-11 QDelta_ internal static char(1) initial unaligned dcl 7-11 QDiamond internal static char(1) initial unaligned dcl 7-11 QDiaresis internal static char(1) initial unaligned dcl 7-11 QDivision internal static char(1) initial unaligned dcl 7-11 QDollar internal static char(1) initial unaligned dcl 7-11 QDomino internal static char(1) initial unaligned dcl 7-11 QDownArrow internal static char(1) initial unaligned dcl 7-11 QEight internal static char(1) initial unaligned dcl 7-11 QEight_ internal static char(1) initial unaligned dcl 7-11 QEnCode internal static char(1) initial unaligned dcl 7-11 QEpsilon internal static char(1) initial unaligned dcl 7-11 QEqual internal static char(1) initial unaligned dcl 7-11 QExclamation internal static char(1) initial unaligned dcl 7-11 QFive internal static char(1) initial unaligned dcl 7-11 QFive_ internal static char(1) initial unaligned dcl 7-11 QFloor internal static char(1) initial unaligned dcl 7-11 QFormatSign internal static char(1) initial unaligned dcl 7-11 QFour internal static char(1) initial unaligned dcl 7-11 QFour_ internal static char(1) initial unaligned dcl 7-11 QGradeDown internal static char(1) initial unaligned dcl 7-11 QGradeUp internal static char(1) initial unaligned dcl 7-11 QGreaterOrEqual internal static char(1) initial unaligned dcl 7-11 QGreaterThan internal static char(1) initial unaligned dcl 7-11 QIBeam internal static char(1) initial unaligned dcl 7-11 QIota internal static char(1) initial unaligned dcl 7-11 QLamp internal static char(1) initial unaligned dcl 7-11 QLeftArrow internal static char(1) initial unaligned dcl 7-11 QLeftBrace internal static char(1) initial unaligned dcl 7-11 QLeftBracket internal static char(1) initial unaligned dcl 7-11 QLeftLump internal static char(1) initial unaligned dcl 7-11 QLeftParen internal static char(1) initial unaligned dcl 7-11 QLeftTack internal static char(1) initial unaligned dcl 7-11 QLessOrEqual internal static char(1) initial unaligned dcl 7-11 QLessThan internal static char(1) initial unaligned dcl 7-11 QLetterA internal static char(1) initial unaligned dcl 7-11 QLetterA_ internal static char(1) initial unaligned dcl 7-11 QLetterB internal static char(1) initial unaligned dcl 7-11 QLetterB_ internal static char(1) initial unaligned dcl 7-11 QLetterC internal static char(1) initial unaligned dcl 7-11 QLetterC_ internal static char(1) initial unaligned dcl 7-11 QLetterD internal static char(1) initial unaligned dcl 7-11 QLetterD_ internal static char(1) initial unaligned dcl 7-11 QLetterE internal static char(1) initial unaligned dcl 7-11 QLetterE_ internal static char(1) initial unaligned dcl 7-11 QLetterF internal static char(1) initial unaligned dcl 7-11 QLetterF_ internal static char(1) initial unaligned dcl 7-11 QLetterG internal static char(1) initial unaligned dcl 7-11 QLetterG_ internal static char(1) initial unaligned dcl 7-11 QLetterH internal static char(1) initial unaligned dcl 7-11 QLetterH_ internal static char(1) initial unaligned dcl 7-11 QLetterI internal static char(1) initial unaligned dcl 7-11 QLetterI_ internal static char(1) initial unaligned dcl 7-11 QLetterJ internal static char(1) initial unaligned dcl 7-11 QLetterJ_ internal static char(1) initial unaligned dcl 7-11 QLetterK internal static char(1) initial unaligned dcl 7-11 QLetterK_ internal static char(1) initial unaligned dcl 7-11 QLetterL internal static char(1) initial unaligned dcl 7-11 QLetterL_ internal static char(1) initial unaligned dcl 7-11 QLetterM internal static char(1) initial unaligned dcl 7-11 QLetterM_ internal static char(1) initial unaligned dcl 7-11 QLetterN internal static char(1) initial unaligned dcl 7-11 QLetterN_ internal static char(1) initial unaligned dcl 7-11 QLetterO internal static char(1) initial unaligned dcl 7-11 QLetterO_ internal static char(1) initial unaligned dcl 7-11 QLetterP internal static char(1) initial unaligned dcl 7-11 QLetterP_ internal static char(1) initial unaligned dcl 7-11 QLetterQ internal static char(1) initial unaligned dcl 7-11 QLetterQ_ internal static char(1) initial unaligned dcl 7-11 QLetterR internal static char(1) initial unaligned dcl 7-11 QLetterR_ internal static char(1) initial unaligned dcl 7-11 QLetterS internal static char(1) initial unaligned dcl 7-11 QLetterS_ internal static char(1) initial unaligned dcl 7-11 QLetterT internal static char(1) initial unaligned dcl 7-11 QLetterT_ internal static char(1) initial unaligned dcl 7-11 QLetterU internal static char(1) initial unaligned dcl 7-11 QLetterU_ internal static char(1) initial unaligned dcl 7-11 QLetterV internal static char(1) initial unaligned dcl 7-11 QLetterV_ internal static char(1) initial unaligned dcl 7-11 QLetterW internal static char(1) initial unaligned dcl 7-11 QLetterW_ internal static char(1) initial unaligned dcl 7-11 QLetterX internal static char(1) initial unaligned dcl 7-11 QLetterX_ internal static char(1) initial unaligned dcl 7-11 QLetterY internal static char(1) initial unaligned dcl 7-11 QLetterY_ internal static char(1) initial unaligned dcl 7-11 QLetterZ internal static char(1) initial unaligned dcl 7-11 QLetterZ_ internal static char(1) initial unaligned dcl 7-11 QLineFeed internal static char(1) initial unaligned dcl 7-11 QMarkError internal static char(1) initial unaligned dcl 7-11 QMinus internal static char(1) initial unaligned dcl 7-11 QNandSign internal static char(1) initial unaligned dcl 7-11 QNewLine internal static char(1) initial unaligned dcl 7-11 QNine internal static char(1) initial unaligned dcl 7-11 QNine_ internal static char(1) initial unaligned dcl 7-11 QNorSign internal static char(1) initial unaligned dcl 7-11 QNotEqual internal static char(1) initial unaligned dcl 7-11 QOmega internal static char(1) initial unaligned dcl 7-11 QOne internal static char(1) initial unaligned dcl 7-11 QOne_ internal static char(1) initial unaligned dcl 7-11 QOrSign internal static char(1) initial unaligned dcl 7-11 QPeriod internal static char(1) initial unaligned dcl 7-11 QPlus internal static char(1) initial unaligned dcl 7-11 QQuadQuote internal static char(1) initial unaligned dcl 7-11 QQuestion internal static char(1) initial unaligned dcl 7-11 QRho internal static char(1) initial unaligned dcl 7-11 QRightArrow internal static char(1) initial unaligned dcl 7-11 QRightBrace internal static char(1) initial unaligned dcl 7-11 QRightBracket internal static char(1) initial unaligned dcl 7-11 QRightLump internal static char(1) initial unaligned dcl 7-11 QRightParen internal static char(1) initial unaligned dcl 7-11 QRightTack internal static char(1) initial unaligned dcl 7-11 QSemiColon internal static char(1) initial unaligned dcl 7-11 QSeven internal static char(1) initial unaligned dcl 7-11 QSeven_ internal static char(1) initial unaligned dcl 7-11 QSix internal static char(1) initial unaligned dcl 7-11 QSix_ internal static char(1) initial unaligned dcl 7-11 QSlash internal static char(1) initial unaligned dcl 7-11 QSlashHyphen internal static char(1) initial unaligned dcl 7-11 QSmallCircle internal static char(1) initial unaligned dcl 7-11 QSpace internal static char(1) initial unaligned dcl 7-11 QStar internal static char(1) initial unaligned dcl 7-11 QTab internal static char(1) initial unaligned dcl 7-11 QThree internal static char(1) initial unaligned dcl 7-11 QThree_ internal static char(1) initial unaligned dcl 7-11 QTilde internal static char(1) initial unaligned dcl 7-11 QTimes internal static char(1) initial unaligned dcl 7-11 QTwo internal static char(1) initial unaligned dcl 7-11 QTwo_ internal static char(1) initial unaligned dcl 7-11 QUnderLine internal static char(1) initial unaligned dcl 7-11 QUpArrow internal static char(1) initial unaligned dcl 7-11 QUpperMinus internal static char(1) initial unaligned dcl 7-11 QVerticalBar internal static char(1) initial unaligned dcl 7-11 QZero internal static char(1) initial unaligned dcl 7-11 QZero_ internal static char(1) initial unaligned dcl 7-11 ReturnSymbol internal static fixed bin(17,0) initial dcl 4-36 RightArgSymbol internal static fixed bin(17,0) initial dcl 4-36 TheBiggestNumberWeveGot internal static float bin(63) initial dcl 1-16 TheSmallestNumberWeveGot internal static float bin(63) initial dcl 1-16 bol_type internal static fixed bin(17,0) initial dcl 5-31 char builtin function dcl 154 character_value_type internal static bit(18) initial unaligned dcl 2-30 close_paren_type internal static fixed bin(17,0) initial dcl 5-31 close_rank_type internal static fixed bin(17,0) initial dcl 5-31 close_subscript_type internal static fixed bin(17,0) initial dcl 5-31 complex_value_type internal static bit(18) initial unaligned dcl 2-30 diamond_type internal static fixed bin(17,0) initial dcl 5-31 eol_type internal static fixed bin(17,0) initial dcl 5-31 function_type internal static bit(18) initial unaligned dcl 2-30 group_type internal static bit(18) initial unaligned dcl 2-30 integral_value_type internal static bit(18) initial unaligned dcl 2-30 label_type internal static bit(18) initial unaligned dcl 2-30 lexed_function_label_values_structure based structure level 1 dcl 4-45 lexed_function_lexemes_structure based structure level 1 dcl 4-45 lexed_function_statement_map based fixed bin(18,0) array dcl 4-45 lexed_function_type internal static bit(18) initial unaligned dcl 2-30 list_value_type internal static bit(18) initial unaligned dcl 2-30 max_parse_stack_depth internal static fixed bin(17,0) initial dcl 6-98 not_integer_mask internal static bit(18) initial unaligned dcl 2-30 not_zero_or_one_mask internal static bit(18) initial unaligned dcl 2-30 number_of_ptrs automatic fixed bin(17,0) dcl 5-20 numeric_value_type internal static bit(18) initial unaligned dcl 2-30 op_type internal static fixed bin(17,0) initial dcl 5-31 open_bracket_type internal static fixed bin(17,0) initial dcl 5-31 open_paren_type internal static fixed bin(17,0) initial dcl 5-31 operator_type internal static bit(18) initial unaligned dcl 2-30 output_buffer based char unaligned dcl 6-94 reduction_stack based structure array level 1 dcl 5-31 reduction_stack_for_op based structure array level 1 dcl 5-31 reductions_pointer automatic pointer dcl 5-29 save_frame_pointer automatic pointer unaligned dcl 9-3 semi_colon_type internal static fixed bin(17,0) initial dcl 5-31 shared_variable_type internal static bit(18) initial unaligned dcl 2-30 statement_count automatic fixed bin(17,0) dcl 4-45 subscript_type internal static fixed bin(17,0) initial dcl 5-31 symbol_type internal static bit(18) initial unaligned dcl 2-30 val_type internal static fixed bin(17,0) initial dcl 5-31 value_type internal static bit(18) initial unaligned dcl 2-30 zero_or_one_value_type internal static bit(18) initial unaligned dcl 2-30 NAMES DECLARED BY EXPLICIT CONTEXT. apl_si_command_ 000042 constant entry external dcl 17 apl_siv_command_ 000053 constant entry external dcl 23 exitloop 000436 constant label dcl 117 ref 107 get_function_name 000351 constant entry internal dcl 80 ref 48 list_the_state_indicator 000063 constant label dcl 28 ref 21 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 566 614 437 576 Length 1172 437 26 342 127 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME apl_si_command_ 243 external procedure is an external procedure. get_function_name internal procedure shares stack frame of external procedure apl_si_command_. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME apl_si_command_ 000100 p apl_si_command_ 000102 parse_frame_ptr apl_si_command_ 000104 lexed_function_bead_pointer apl_si_command_ 000106 last_frame_was_suspended apl_si_command_ 000107 variables apl_si_command_ 000110 symbol apl_si_command_ 000111 line_number apl_si_command_ 000112 string_length apl_si_command_ 000113 star apl_si_command_ 000114 string apl_si_command_ 000214 function_name apl_si_command_ 000277 min_function_name_length apl_si_command_ 000300 ws_info_ptr apl_si_command_ 000312 i get_function_name THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_cs call_ext_out_desc call_ext_out return shorten_stack ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. apl_create_save_frame_ apl_destroy_save_frame_ apl_flush_buffer_ apl_print_newline_ apl_print_string_ ioa_$rsnnl THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. apl_static_$ws_info_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 6 7 000034 17 000041 20 000050 21 000051 23 000052 26 000061 28 000063 30 000070 32 000071 35 000100 37 000107 39 000111 41 000113 42 000115 44 000117 46 000124 48 000126 49 000127 51 000172 53 000212 58 000225 61 000230 64 000254 65 000273 66 000275 67 000276 69 000312 72 000325 73 000326 75 000333 77 000336 78 000343 175 000350 80 000351 88 000352 90 000354 96 000374 100 000404 105 000417 107 000430 109 000431 113 000433 114 000434 117 000436 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved