I find RProgN is like the lovechild of CJam and Lua. Where RProgN usually has more builtins than CJam, they're also longer, and it's a tad more Verbose.
@ChristopherPeart if you're new here, it might mean you are yet to discover tio.run/nexus. It is your friend, it will work on basically any device and supports all the languages.
@ChristopherPeart “ Begins a String literal. ” terminates a string literal, or is a character literal if there is no open string to close. » terminates a dictionary compressed string.
@LegionMammal978 Did you look at Mathics? Mtchmtca could be a really popular golfing lang if it didn't require software that costs hundreds of dollars.
Java --> C --> Ruby --> /// --> Python 3 --> Batch --> JavaScript --> BrainFuck (8 Languages)
Click the language names for the code through each execution, except for Batch, because I couldn't find an online interpreter for it.
class Main {public static void main(String[]args){System.out.pr...
As George Orwell wrote in 1984:
War is peaceFreedom is slaveryIgnorance is strength
Write a program or function that takes in one of the six main words from the Orwell quote and outputs its counterpart.
Specifically:
[input] -> [output]
war -> peace
peace -> war
freedom -> slavery
slavery ->
What is a home prime?
For an example, take HP(4). First, find the prime factors. The prime factors of 4 (in numerical order from least to greatest, always) are 2, 2. Take those factors as a literal number. 2, 2 becomes 22. This process of factoring continues until you reach a prime number.
numb...
@Adnan you wrote 05AB1E, right? I think you could improve your dictionary by removing all words that don't actually save any space. (And words like "a" and "i" are worse to use the dictionary for)
Challenge:
In the programming language of your choice, shutdown the machine that your code was executed on.
Rules
No shutting down by resource exhaustion (eg: forkbomb to force shutdown)
You are allowed to write code that only works in a specific environment/OS, if you wish.
Standard loophole...
Mathematica, 84 bytes
(x="war""peace")(y="freedom""slavery")(z="ignorance""strength")/#/.x->1/.y->1/.z->1&
Explanation
More "arithmetic" with strings! As in the linked answer, this is based on the fact that you can "multiply" strings in Mathematica which will leave them unevaluated (similar t...
It may sound like I am joking but I am honestly surprised Mathematica did not have a "quotes" built-in
They already knew a handful of languages anyway, CodeCademy is going to ignore that and go "This is how you do stuff in this mystical world known as coding".