<commit_before><?xml version='1.0'?>
<xsl:stylesheet  xmlns:phc="http://www.phpcompiler.org/phc-1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output method='text' />

<xsl:template match="phc:AST_php_script">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="phc:attrs">
</xsl:template>

<xsl:template match="phc:AST_interface_def_list">
</xsl:template>

<xsl:template match="phc:AST_class_def_list">
  <xsl:apply-templates select="phc:AST_class_def" />
</xsl:template>

<xsl:template match="phc:AST_class_def">
  <xsl:apply-templates select="phc:AST_member_list" />
</xsl:template>

<xsl:template match="phc:AST_member_list">
  <xsl:apply-templates select="phc:AST_method" />
</xsl:template>

<xsl:template match="phc:AST_method">
  <xsl:apply-templates select="phc:AST_statement_list" />
</xsl:template>

<xsl:template match="phc:AST_statement_list">
  <xsl:apply-templates select="phc:AST_eval_expr" />
</xsl:template>

<xsl:template match="phc:AST_eval_expr">
  <xsl:apply-templates select="phc:AST_method_invocation" />
</xsl:template>

<xsl:template match="phc:AST_method_invocation">
  <xsl:apply-templates select="phc:AST_actual_parameter_list" />
</xsl:template>

<xsl:template match="phc:AST_actual_parameter_list">
  <xsl:apply-templates select="phc:AST_actual_parameter" />
</xsl:template>

<xsl:template match="phc:AST_actual_parameter">
  <xsl:apply-templates select="phc:Token_string" />
</xsl:template>

<xsl:template match="phc:Token_string">
  <xsl:apply-templates select="phc:value" />
</xsl:template>

<xsl:template match="phc:value">

#!/usr/bin/env parrot                                             
                                                                  
# Do not edit this file.                                          
# This file has been generated by phc_to_past.xsl
                                                                  
.sub bc :main                                                     
  load_bytecode 'PAST.pbc'                                        
  load_bytecode 'languages/punie/lib/POST.pir'                    
  load_bytecode 'languages/punie/lib/OSTGrammar.pir'              
  load_bytecode 'MIME/Base64.pbc'              
                                                                  
  .local pmc enc_sub, dec_sub
  dec_sub = find_global "MIME::Base64", 'decode_base64'
    
  .sym pmc stmts                                                  
  stmts = new 'PAST::Stmts'                                       
                                                                  
  .sym pmc reg_temp                                               
                                                                  
  .sym pmc reg_expression_stmt                                    
  .sym pmc reg_expression_topexp                                  
  .sym pmc reg_print_op                                           
  .sym pmc reg_expression_exp                                     
                                                                  
                                                                  
  # entering 'PRINT node'                                         
    reg_expression_stmt = new 'PAST::Stmt'                        
      reg_expression_topexp = new 'PAST::Exp'                     
        reg_print_op = new 'PAST::Op'                             
        reg_print_op.'op'( 'print' )                              
          reg_expression_exp = new 'PAST::Exp'                    
                                                                   
# entering 'STRING'                                                
            .sym string decoded
            decoded = dec_sub( "<xsl:value-of select="." />" )
            decoded = escape decoded
            reg_temp = new 'PAST::Val'                             
            reg_temp.value( decoded ) 
            reg_temp.valtype( 'strqq' )                            
          reg_expression_exp.'add_child'( reg_temp )         
          null reg_temp                                            
# leaving 'STRING'                                                 <commit_msg>[Plumhead] decode_base54 in in namespace [ "MIME"; "Base64" ], not in "MIME::Base64".<commit_after><?xml version='1.0'?>
<xsl:stylesheet  xmlns:phc="http://www.phpcompiler.org/phc-1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output method='text' />

<xsl:template match="phc:AST_php_script">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="phc:attrs">
</xsl:template>

<xsl:template match="phc:AST_interface_def_list">
</xsl:template>

<xsl:template match="phc:AST_class_def_list">
  <xsl:apply-templates select="phc:AST_class_def" />
</xsl:template>

<xsl:template match="phc:AST_class_def">
  <xsl:apply-templates select="phc:AST_member_list" />
</xsl:template>

<xsl:template match="phc:AST_member_list">
  <xsl:apply-templates select="phc:AST_method" />
</xsl:template>

<xsl:template match="phc:AST_method">
  <xsl:apply-templates select="phc:AST_statement_list" />
</xsl:template>

<xsl:template match="phc:AST_statement_list">
  <xsl:apply-templates select="phc:AST_eval_expr" />
</xsl:template>

<xsl:template match="phc:AST_eval_expr">
  <xsl:apply-templates select="phc:AST_method_invocation" />
</xsl:template>

<xsl:template match="phc:AST_method_invocation">
  <xsl:apply-templates select="phc:AST_actual_parameter_list" />
</xsl:template>

<xsl:template match="phc:AST_actual_parameter_list">
  <xsl:apply-templates select="phc:AST_actual_parameter" />
</xsl:template>

<xsl:template match="phc:AST_actual_parameter">
  <xsl:apply-templates select="phc:Token_string" />
</xsl:template>

<xsl:template match="phc:Token_string">
  <xsl:apply-templates select="phc:value" />
</xsl:template>

<xsl:template match="phc:value">

#!/usr/bin/env parrot                                             
                                                                  
# Do not edit this file.                                          
# This file has been generated by phc_to_past.xsl
                                                                  
.sub plumhead :main                                                     
  load_bytecode 'PAST.pbc'                                        
  load_bytecode 'languages/punie/lib/POST.pir'                    
  load_bytecode 'languages/punie/lib/OSTGrammar.pir'              
  load_bytecode 'MIME/Base64.pbc'              
                                                                  
  .local pmc enc_sub, dec_sub
  dec_sub = get_global [ "MIME"; "Base64" ], 'decode_base64'
    
  .sym pmc stmts                                                  
  stmts = new 'PAST::Stmts'                                       
                                                                  
  .sym pmc reg_temp                                               
                                                                  
  .sym pmc reg_expression_stmt                                    
  .sym pmc reg_expression_topexp                                  
  .sym pmc reg_print_op                                           
  .sym pmc reg_expression_exp                                     
                                                                  
                                                                  
  # entering 'PRINT node'                                         
    reg_expression_stmt = new 'PAST::Stmt'                        
      reg_expression_topexp = new 'PAST::Exp'                     
        reg_print_op = new 'PAST::Op'                             
        reg_print_op.'op'( 'print' )                              
          reg_expression_exp = new 'PAST::Exp'                    
                                                                   
# entering 'STRING'                                                
            .sym string decoded
            decoded = dec_sub( "<xsl:value-of select="." />" )
            decoded = escape decoded
            reg_temp = new 'PAST::Val'                             
            reg_temp.value( decoded ) 
            reg_temp.valtype( 'strqq' )                            
          reg_expression_exp.'add_child'( reg_temp )         
          null reg_temp                                            
# leaving 'STRING'                                                 
{'fraction_non_alphanumeric': 0.10041444641799882, 'fraction_numerical': 0.004736530491415038, 'mean_word_length': 1.2086820083682008, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 2, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 72, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '345700', 'n_tokens_mistral': 2298, 'n_tokens_neox': 2122, 'n_words': 342}