I was wondering if it were possible to use multiple languages in the same submission. Not a polyglot, but using each of the languages. I have two thoughts on this.
puts %x(node a)in
a, and have
rub.rbbe the main solution.
- Alternatively, each language could read the output of the previous language as input. E.g., invoke like
<input> | <language a> | <langauge b>.
How would these be scored? How would it be consistent, concerning the usage of langs (e.g. multiple usages of the same lang)? How would it compare with each of its component languages? Should it be allowed at all? If not, why not?
Here is an example of a multi-language submission, using method 2:
J + Ruby, idk bytes
exit echo 1+i.10
j.ijs | ruby.rb
[5, 6, 7, 8, 9, 10, 11, 12, 13, 14]