Changes between Initial Version and Version 1 of Ticket #370


Ignore:
Timestamp:
06/08/2025 07:13:02 AM (14 months ago)
Author:
Gary Dixon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #370 – Description

    initial v1  
    2626}}}
    2727
    28 where n is 2 for tokens from lex_string; or 3 for tokens from ssu_$get_tokens
     28where n is 2 for tokens from lex_string; or 3 for tokens from ssu_$get_tokens or from another parser
    2929
    3030The reductions command can then produce a slightly different source when it generates the SEMANTIC_ANALYSIS subroutine which analyzes the incoming tokens.  For VERSION 3, this subroutine will include the lex_descriptor_.incl.pl1 segment only within the scope of that SEMANTIC_ANALYSIS subroutine.  The other part of the XXX.rd source program can have its own declaration of the token structure (via use of an %include ssu_token; macro) to reference the tokens provided by ssu_$get_tokens subroutine.  Its syntax and semantic routines can then access the extra elements describing the new style of token generated by ssu_$get_tokens.