Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language
- endyourenite
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Hello there! I have fixed your script: The math game I'm trying to make doesn't work, but I don't know if I did something wrong or there is a glitch.
Code:
ask What is 1+1? as answer
ask What is 9x9? as answer3
ask What about 12x6? as answer4
ask You cant use a calculator, what is 30x9? as answer5
ask Hmmm… 99 divided by 4.5? as answer6
if answer = 2 and answer3 = 81 and answer4 = 72 and answer5 = 270 and answer6 = 22
out “That is correct!”
end
ask What is 1+1? as answer
ask What is 9x9? as answer3
ask What about 12x6? as answer4
ask You cant use a calculator, what is 30x9? as answer5
ask Hmmm… 99 divided by 4.5? as answer6
# Hide answers to prevent cheating. DO NOT SCROLL DOWN.
if {answer} = 2 and {answer3} = 81 and {answer4} = 72 and {answer5} = 270 and {answer6} = 22
out That is correct!
end
Last edited by endyourenite (Sept. 10, 2024 17:29:28)
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#264)i_eat_coffee and i
Wait who are the judges?
Last edited by breakfast_for_dinner (Sept. 10, 2024 18:00:34)
- endyourenite
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Thanks for the information!(#264)i_eat_coffee and i
Wait who are the judges?
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#263)I know I entered in the contest, but if you do it again in the future, could I please be a judge?
i_eat_coffee and i
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
bump
- Catzcute4
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
wait, so who’s gonna make bad apple in Obscure
Last edited by Catzcute4 (Sept. 14, 2024 16:07:44)
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Thinking about how to make a quine in Obscure, but not sure exactly how I should go about it.
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
If you need any new features for it, I'll happily add them. Thinking about how to make a quine in Obscure, but not sure exactly how I should go about it.
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#269)Not entirely sure. I feel like there should be some way to have escaped characters in a string/arguments. For example to get just a space in a variable you have to do:
If you need any new features for it, I'll happily add them.
set space to x x
set space to {letter 2:space}
Is there a way to have strings with spaces in arrays? Can I do that in the array's definition or can I only do it with push?
Last edited by 50_scratch_tabs (Sept. 14, 2024 19:40:34)
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Not at all necessary for my quine, but would it be possible to add a side-panel for the documentation? Tabbing back and forth is getting annoying.
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
This is really annoying in terms of escaping, could you please add:
Actually nevermind, I want to make the changes, then I'll post the updated interpreter.js. Could you please set up a github repo so I can git pull?
{unicodeof:var}
{unicodeof:x}
{tounicode:var}
{tounicode:120}
Last edited by 50_scratch_tabs (Sept. 14, 2024 20:14:47)
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
removed - reply to old post
Last edited by breakfast_for_dinner (Sept. 15, 2024 08:32:23)
- 56-s
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Asp.net framework?
- 50_scratch_tabs
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#274)What about it…? Obscure does not use it, if that's what you're asking.
Asp.net framework?
- blubby4
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can we have a statement called “quine” and it outputs “quine”. That would make it easyIf you need any new features for it, I'll happily add them. Thinking about how to make a quine in Obscure, but not sure exactly how I should go about it.
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#276)if i'm understanding correctly, can't you just do this?
Can we have a statement called “quine” and it outputs “quine”. That would make it easy
log quine
- blubby4
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
But that would output “quine”. You'd want it to output “log quine” instead.(#276)if i'm understanding correctly, can't you just do this?
Can we have a statement called “quine” and it outputs “quine”. That would make it easylog quine
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
- blubby4
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
A quine is a program that outputs its source code. A program that consists of(#278)is that not what you wanted to print out?
But that would output “quine”.(#276)
Can we have a statement called “quine” and it outputs “quine”.
log quine
quine
A program that consists of
quine
quine
- TheCreatorOfUnTV
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
How did this get so popular? 14 pages in 9 days…
EDIT: Now 15 pages.
EDIT: Now 15 pages.
Last edited by TheCreatorOfUnTV (Sept. 15, 2024 23:53:23)