Challenge
Create 2 programs A and B
The output of program A is exactly program B
The output of program B is exactly program A
Neither program should depend on inputs to yield the correct output
A and B are not identical programs
A and B are of different programming languages
Neither program may be equivalent to itself in the other language. For example, if the chosen languages are C and C++, the C++ program must not be a valid and equivalent C program, else the "inter-language" requirement is redundant
A solution should include:
- The program source, as well as a Try it online (tio.run) link for both programs
Scoring
The score for a solution is:
The length of the shortest program +
The combined length of the names of both programming languages, as they appear on tio.run
The reason for this unusual scoring is because this constitutes the combined length of the minimum information necessary to communicate your solution.
This is my first post to Code Golf. Any edits to this post to increase clarity or appropriate vocabulary are welcome.