Esolang idea: Code is made of a numerator and a denominator, which form a fraction. The decimal expansion of that fraction is the program, where the individual digits are instructions. There are no loops, instead to loop you have to form an infinitely repeating decimal with the correct instructions.
@JoKing Draft idea. The language operates on the input (which is similar to a fraction). Instructions: 0: Denominator + 1 1: Numerator + 1 2: If the denominator is 0, halt the program. 3. D - 1 4. N - 1 5. If the fraction is 1, stop the program. 6. If the fraction is 0, stop the program. 7. If the fraction is not finite, stop the program. 8: TODO 9: TODO
So the decimal 0.132132132... adds the values of the numerator and the denominator.
The fraction form is 44/333.
Another sample program. In order to create a Truth-machine(output 0 & halt if input = 0, output 1 indefinitely if input = 1), here is my code:
Skip to next zero if 0, Add one, Subtract one, Recipricol, Input, Output, Terminate, ??? (probably structure related). I'm mostly non-decided on what data struture to use as storage... maybe stack based?
I'm one of the people who upvoted the comment: I think you should pick a time limit (say, 60s) so the contest isn't about how long someone spent running their code. Generally, all the code should be run on the same computer so they are more comparable
Well, you expect a modicum of sense with new users, like looking at other answers to pick up on obvious standards like headers containing scores
Obviously that's no excuse for being rude, but even fair points about deleting invalid answers or what the scoring method is may come off as elitist without any way to mitigate that
We know that people who contribute by asking have a harder time earning privileges than people who focus on answering. Independent research suggests this disproportionately affects women:
We also see that women contribute differently to building the community’s knowledge base: they are asking more questions. Stack Overflow’s current system strongly incentivize answering by rewarding upvotes on answers twice as much upvotes on questions.
List Max: Return the maximum value in the final Array
In this challenge, start with an array initialized to zeros with indices starting at 1 and a series of operations to perform on segments of the list. Each operation will consist of a starting and ending index within the array, and a number t...
CMC Let A be the 20 × 20 matrix whose entries are zero everywhere except for the primes 2,3,5,7,… along the main diagonal and the number 1 in all the positions a_{i,j} with |i-j| = 1, 2, 4, 8,.. What is the (1,1) entry of A^{-1} ?
@Anush I work for Dyalog Ltd. which sells a commercial implementation. I work mainly in the development and maintenance of APL tools, customer support (when it is the APL code they struggle with), teaching, and "spreading the work". (So you have been warned: I will try to let me teach you APL!)
@Anush Yes ^^ but the biggest are financial institutions like investment managers and financial service providers, but also e.g. a (super) large oil/chemical company (can't mention names, obviously).
COBOL (; an acronym for "common business-oriented language") is a compiled English-like computer programming language designed for business use. It is imperative, procedural and, since 2002, object-oriented. COBOL is primarily used in business, finance, and administrative systems for companies and governments. COBOL is still widely used in legacy applications deployed on mainframe computers, such as large-scale batch and transaction processing jobs. But due to its declining popularity and the retirement of experienced COBOL programmers, programs are being migrated to new platforms, rewritten in...
Okay the thing is some really old languages are still used pretty commonly and I want to say the main reason is just that people either just refuse to adopt to new tech and adapt, or just don't want to change old infrastructure
Miranda is a lazy, purely functional programming language designed by David Turner as a successor to his earlier programming languages SASL and KRC, using some concepts from ML and Hope. It was produced by Research Software Ltd. of England (which holds a trademark on the name Miranda) and was the first purely functional language to be commercially supported.Miranda was first released in 1985, as a fast interpreter in C for Unix-flavour operating systems, with subsequent releases in 1987 and 1989. Miranda had a strong influence on the later Haskell programming language.
== Overview ==
Miranda is...