Translated SRL++
Jump to navigation
Jump to search
SRL++ but worse with Google Translate and weird language pairs! MihaiEso (talk) 12:39, 25 September 2024 (UTC)
1. Take this example
# Set up initial state. We use the amount of Is in count to keep track of beer .* _ count IIIIIIIII I count count IIIIIIIIIII (I+) count count >\1< .* _ num 99 # Print first three lines (.+) num io \1 bottles of beer on the wall,\n\1 bottles of beer.\nTake one down, pass it around,\n # Convert to readable numbers I< count count < IIIIIIIIII count num X >X num num >1 >1X num num >2 >2X num num >3 >3X num num >4 >4X num num >5 >5X num num >6 >6X num num >7 >7X num num >8 >8X num num >9 ([0-9])< num num \1\\0< \\ num num I< num num 1< I1< num num 2< I2< num num 3< I3< num num 4< I4< num num 5< I5< num num 6< I6< num num 7< I7< num num 8< I8< num num 9< >< num num 0 [<>] num num # Print last line (.+) num io \1 bottles of beer on the wall.\n\n # Conditional jump magic >< count jump : [^:] jump jump (.*) jump jump \1: :: jump jump -1 : jump jump 8 (.*) jump pointer \1
2. Put in the translator machine:
Google: English -> N'Ko -> Tamazight (Tifinagh) -> Luo -> Romanian Google: Romanian -> Simplified Chinese -> Treat as Japanese -> Romanian (repeated 3 times) Google: Romanian -> Luo -> Japanese -> Treat as Simplified Chinese -> Luo -> English Google: Japanese -> Arabic -> Treat as Pashto -> Japanese -> Treat as Simplified Chinese -> English Google: Japanese -> Treat as Simplified Chinese -> Treat as Japanese -> English
3. Result...
#Initial The example is East and West. * _Al-add 333 特别谈话(Al-Sunnah+) >\1< 99 这为三辆车. (.+) Number straight line io \1,\n\1 Existence \nand Route #SchoolKnowledgeUnknown "" "×" > X Integer > 1. >1X Seaweed >2. >Course 2. Details >3 >3X >4. >4X >5. >5 Multiplication rate >6. >6X >7. >7X22>8. >8X Placement system >9. ([09])< Integer Integer \1\\0< \\ la Not available. This is an uncountable number, and private <number 1< zannin I2 < Ded A3 < 4 < I4< No.5< I5< No.6< I6 < Artsakh 7 < I7< No.8< I8< No.9< [<>] surname surname surname surname surname # Last one-line example. . Walk 8: Walk 8 (.*) \1.