I need to advance the parser some more so that it can recognize when a thing is just negative stuffs and ()
hmm
so far it parses all the ()s in a list into an int to save time when it runs
but I should make it so it recognizes negatives as well
I could also make it so that it recognizes stuff like ()()[()[()()]]
but that seems like the user could optimise that stuff themselves
actually if I do it right that might be a tagalong effect. but anyway I will stop writing about it in here until I either: finish it, or mega bork it so bad I can't help crying in chat
ok it looks as if my parser is done (except for the execution and newline expansion, better do those now)!
So I realised there was a huge flaw in my session recovery logic, which essentially kept people logged in all devices as long as one device stayed logged in. So I had to re-write basically my entire session handling script.
Can a problem with 3 possible outcomes, like X wins, Y wins, tie be considered a decision-problem
?
Also @MartinEnder and @Dennis, do you mind if I create part 2 of this challenge? This time, I will add the note regarding targeted voting from the beginning, and I will sandbox the post if you agree.
@LeakyNun I can't stop wanting to edit your math.se question... I don't understand " Clearly the answer is also at least $n$, since one can pick a fixed $a$ and $b$, and argue that $\{ab+c \mid c \in C\}$ has exactly $n$ elements."
@LeakyNun Genitive: "My grandmother's glasses are old." - Here "glasses" is in Genitive (in Romanian), Dative: "I told him that ... " - Here "him" is in Dative. The common ending of the words "Dativ" and "Genitiv" only denotes that they both express possession.
Bubble the brackets!
There are a few questions on this site about balancing brackets, and checking whether brackets are balanced. I propose it's now time to use those balanced brackets for something!
In mathematics and programming, brackets are like bubbles, isolating everything inside form eve...
Also @MartinEnder and @Dennis, do you mind if I create part 2 of this challenge? This time, I will add the note regarding targeted voting from the beginning, and I will sandbox the post if you agree.
The Challenge
In this challenge, you specify a source language S and a target language T. Your task is to write the following program P in the language S. If a valid program Q in the language T is given as input to P, it will output a valid program R in the language T which takes no input and ou...
Martin vs Dennis - Round 2: Who has more upvotes?
stack-exchange-api code-golf
This is the sandbox for the second round in this series of Challenges. Here is Round 1, but this one is a completely different challenge.
Your task is to write a program or function, that, given the ID of a questi...