Skip to content

Commit dd5a7d8

Browse files
committed
Update yet-to-do list
1 parent c8f867c commit dd5a7d8

1 file changed

Lines changed: 93 additions & 8 deletions

File tree

c_plus_plus_language_runtime/yet_to_do.txt

Lines changed: 93 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,106 @@ Yet to do for converting runtime from Perl to C++
33

44
-------------------------------------------------
55

6-
76
=~ s/
87

98
28: // before: global_dashrep_replacement[ global_target_operand } =~ s/ +$// ; <new_line>
109
29 replace-begin global_dashrep_replacement[ global_target_operand ] replace-equals global_dashrep_replacement[ global_target_operand ] replace-this R<character_quotation_mark>( +$)<character_quotation_mark> with-this R<character_quotation_mark>()<character_quotation_mark> replace-end <new_line>
1110
30 return ; <new_line>
1211

1312

13+
Searching 848 files for "=~ s/"
14+
15+
.../edit_files_with_dashrep_script/temp_output_split_files/template-function-copy-and-move-attributes-into-xml-tags.txt:
16+
9 global_text_being_edited = global_dashrep_replacement[ global_operand_one ] ; <new_line>
17+
10 while( global_text_being_edited looks-like-begin R<character_quotation_mark>( *<character_backslash>)<character_quotation_mark> looks-like-end> *<((attribute)|(specify)) ([^>]+)>/sg ) { <new_line>
18+
11: global_text_being_edited =~ s/ *<character_backslash>/> *<((attribute)|(specify)) (([^<character_quotation_mark><>]*<character_quotation_mark>[^<character_quotation_mark>]*<character_quotation_mark>[^<character_quotation_mark><>]*)+?)>/ $4 <character_backslash>/>/sg ; <new_line>
19+
12 if ( global_endless_loop_counter > global_endless_loop_counter_limit <character_hyphen> 100 ) { <new_line>
20+
13 global_action_result = <character_quotation_mark>error_endless_loop_within_action_copy_and_move_attributes_into_xml_tags<character_quotation_mark> ; <new_line>
21+
22+
.../edit_files_with_dashrep_script/temp_output_split_files/template-function-get-cgi-information.txt:
23+
90 } <new_line>
24+
91
25+
92: global_name =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
26+
93 replace-begin global_name replace-equals global_name replace-this R<character_quotation_mark>([<><character_backslash>/<character_backslash><character_backslash>]+)<character_quotation_mark> with-this R<character_quotation_mark>(_)<character_quotation_mark> replace-end <new_line>
27+
94
28+
..
29+
96 // Special preservation of tabs, line breaks, etc. for imported text: <new_line>
30+
97 replace-begin global_value replace-equals global_value replace-this R<character_quotation_mark>(%0D)<character_quotation_mark> with-this R<character_quotation_mark>()<character_quotation_mark> replace-end <new_line>
31+
98: global_value =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
32+
99 } else { <new_line>
33+
100: global_value =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
34+
101 replace-begin global_value replace-equals global_value replace-this R<character_quotation_mark>([<>]+)<character_quotation_mark> with-this R<character_quotation_mark>(_)<character_quotation_mark> replace-end <new_line>
35+
102: global_value =~ s/<character_backslash>n/<eol<character_backslash>/>/gm ; <new_line>
36+
103 } <new_line>
37+
104
38+
39+
.../edit_files_with_dashrep_script/temp_output_split_files/template-function-xml-move-attributes-into-tag-elements.txt:
40+
9 global_text_being_edited = global_dashrep_replacement[ global_phrase_being_edited ] ; <new_line>
41+
10 while( global_text_being_edited looks-like-begin R<character_quotation_mark>( *<character_backslash>)<character_quotation_mark> looks-like-end> *<((attribute)|(specify)) ([^>]+)>/sg ) { <new_line>
42+
11: global_text_being_edited =~ s/ *<character_backslash>/> *<((attribute)|(specify)) (([^<character_quotation_mark><>]*<character_quotation_mark>[^<character_quotation_mark>]*<character_quotation_mark>[^<character_quotation_mark><>]*)+?)>/ $4 <character_backslash>/>/sg ; <new_line>
43+
12 // global_phrase_usage_count_for_phrase_number[ 1 ] ++ ; <new_line>
44+
13 if ( global_endless_loop_counter > global_endless_loop_counter_limit - 100 ) { <new_line>
45+
46+
.../3_runtime_cpp/template-function-dashrep-expand-phrases.txt:
47+
235 while ( length( output_buffer ) != prior_length ) { <new_line>
48+
236 prior_length = length( output_buffer ) ; <new_line>
49+
237: output_buffer =~ s/ *\/> *<specify +([^>]+)>/ $1 \/>/ ; <new_line>
50+
238 } <new_line>
51+
239 if ( index( output_buffer , <character_quotation_mark><specify <character_quotation_mark> ) > 0 ) { <new_line>
52+
...
53+
241 while ( length( output_buffer ) != prior_length ) { <new_line>
54+
242 prior_length = length( output_buffer ) ; <new_line>
55+
243: output_buffer =~ s/ *> *<specify +/ / ; <new_line>
56+
244 } <new_line>
57+
245 } <new_line>
58+
...
59+
254 **** comenn
60+
255
61+
256: output_buffer =~ s/ *<placeholder_for_hyphen_here> */<character_hyphen>/sg ; <new_line>
62+
257: output_buffer =~ s/ *<placeholder_for_new_line> */\n/sg ; <new_line>
63+
258: output_buffer =~ s/ *<placeholder_for_empty_line> */\n/sg ; <new_line>
64+
259
65+
260 if ( output_buffer =~ /<((no_space)|(hyphen_ no-space here)|(new_line))> *$/ ) { <new_line>
66+
...
67+
273
68+
274 possible_phrase_name_with_hyphens = possible_phrase_name_with_underscores ; <new_line>
69+
275: possible_phrase_name_with_hyphens =~ s/_/<character_hyphen>/g ; <new_line>
70+
276 if ( global_dashrep_replacement.contains( possible_phrase_name_with_hyphens ) ) { <new_line>
71+
277 new_output_buffer += global_dashrep_replacement[ possible_phrase_name_with_hyphens ] ; <new_line>
72+
73+
.../6_actions_cpp/template-function-copy-and-move-attributes-into-xml-tags.txt:
74+
9 global_text_being_edited = global_dashrep_replacement[ global_operand_one ] ; <new_line>
75+
10 while( global_text_being_edited looks-like-begin R<character_quotation_mark>( *<character_backslash>)<character_quotation_mark> looks-like-end> *<((attribute)|(specify)) ([^>]+)>/sg ) { <new_line>
76+
11: global_text_being_edited =~ s/ *<character_backslash>/> *<((attribute)|(specify)) (([^<character_quotation_mark><>]*<character_quotation_mark>[^<character_quotation_mark>]*<character_quotation_mark>[^<character_quotation_mark><>]*)+?)>/ $4 <character_backslash>/>/sg ; <new_line>
77+
12 if ( global_endless_loop_counter > global_endless_loop_counter_limit <character_hyphen> 100 ) { <new_line>
78+
13 global_action_result = <character_quotation_mark>error_endless_loop_within_action_copy_and_move_attributes_into_xml_tags<character_quotation_mark> ; <new_line>
79+
80+
.../6_actions_cpp/template-function-get-cgi-information.txt:
81+
90 } <new_line>
82+
91
83+
92: global_name =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
84+
93 replace-begin global_name replace-equals global_name replace-this R<character_quotation_mark>([<><character_backslash>/<character_backslash><character_backslash>]+)<character_quotation_mark> with-this R<character_quotation_mark>(_)<character_quotation_mark> replace-end <new_line>
85+
94
86+
..
87+
96 // Special preservation of tabs, line breaks, etc. for imported text: <new_line>
88+
97 replace-begin global_value replace-equals global_value replace-this R<character_quotation_mark>(%0D)<character_quotation_mark> with-this R<character_quotation_mark>()<character_quotation_mark> replace-end <new_line>
89+
98: global_value =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
90+
99 } else { <new_line>
91+
100: global_value =~ s/%([0-9A-F][0-9A-F])/chr (hex ($1))/ieg ; <new_line>
92+
101 replace-begin global_value replace-equals global_value replace-this R<character_quotation_mark>([<>]+)<character_quotation_mark> with-this R<character_quotation_mark>(_)<character_quotation_mark> replace-end <new_line>
93+
102: global_value =~ s/<character_backslash>n/<eol<character_backslash>/>/gm ; <new_line>
94+
103 } <new_line>
95+
104
96+
97+
.../6_actions_cpp/template-function-xml-move-attributes-into-tag-elements.txt:
98+
9 global_text_being_edited = global_dashrep_replacement[ global_phrase_being_edited ] ; <new_line>
99+
10 while( global_text_being_edited looks-like-begin R<character_quotation_mark>( *<character_backslash>)<character_quotation_mark> looks-like-end> *<((attribute)|(specify)) ([^>]+)>/sg ) { <new_line>
100+
11: global_text_being_edited =~ s/ *<character_backslash>/> *<((attribute)|(specify)) (([^<character_quotation_mark><>]*<character_quotation_mark>[^<character_quotation_mark>]*<character_quotation_mark>[^<character_quotation_mark><>]*)+?)>/ $4 <character_backslash>/>/sg ; <new_line>
101+
12 // global_phrase_usage_count_for_phrase_number[ 1 ] ++ ; <new_line>
102+
13 if ( global_endless_loop_counter > global_endless_loop_counter_limit - 100 ) { <new_line>
103+
104+
105+
14106
-------------------------------------------------
15107

16108

@@ -52,12 +144,6 @@ not-looks-like-end
52144
(similar to looks-like-...)
53145

54146

55-
-------------------------------------------------
56-
57-
remove "before:" lines
58-
use dashrep_do_replacements
59-
60-
61147
-------------------------------------------------
62148

63149
fix code snippet that removes combee comenn coments
@@ -100,5 +186,4 @@ generate-list-of-tokens-in-current-definition-quotable
100186
define-special-strings-that-are-padded-with-spaces
101187

102188

103-
104189
-------------------------------------------------

0 commit comments

Comments
 (0)