-6
\$\begingroup\$

You must create one program that interprets as many languages as possible

Input

You will take language name, code, input. These may be taken in any reasonable format, and in an order of your choice.

Output

The output of the given code when run with the given input in the given language.

Rules

You may assume the given language is supported by your interpreter.

You may assume finite, non-erroring code.

No import statements includes input.

No internet accessing programs will be passed to your answer.

Assume no flags needed for code passed.

Interpreted languages must feature enough features to prove TC

Languages interpreted must be older then challenge

This mega interpreter is ONE large program.

You may not use eval.

All input/output is according to the meta consensus

Winning

Number of bytes over number of languages lowest score wins tie solved by first post.

\$\endgroup\$

closed as too broad by officialaimm, JungHwan Min, Sriotchilism O'Zaic, Mego, ATaco Jul 19 '17 at 4:15

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ "Languages interpreted must be older then challenge" is written twice. And what counts as a unique language? Can I not just interpret like a thousand existing brainfuck derivatives..? Also, why can't we interpret our own languages? \$\endgroup\$ – ATaco Jul 19 '17 at 1:13
  • 1
    \$\begingroup\$ Still, what counts as "Unique Language", Derivative isn't very cleanly defined. \$\endgroup\$ – ATaco Jul 19 '17 at 1:16
  • 1
    \$\begingroup\$ @ATaco you bought it up :P and i removed it since it was dumb \$\endgroup\$ – Christopher Jul 19 '17 at 1:18
  • 2
    \$\begingroup\$ Well now that it's removed, nothing. I highly recommend Sandboxing next time. \$\endgroup\$ – ATaco Jul 19 '17 at 1:20
  • 2
    \$\begingroup\$ @Christopher It doesn't count as sandboxing if you don't listen to user feedback: codegolf.meta.stackexchange.com/questions/2140/… \$\endgroup\$ – Mego Jul 19 '17 at 4:10
3
\$\begingroup\$

BrainBrain, 5 bytes over 1 language.

 ,[.,]

Interprets Brainfuck.

\$\endgroup\$
  • \$\begingroup\$ lol right tool for the job \$\endgroup\$ – HyperNeutrino Jul 19 '17 at 1:25
1
\$\begingroup\$

Bash with many thing, 2 bytes over many language

$@

ok, just a joke.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.