Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Does “and” perform an AND or OR operation?
And there needs to be a way to do the other.
Edit: how does this topic have 3 pages already
And there needs to be a way to do the other.
Edit: how does this topic have 3 pages already
Last edited by BigNate469 (Sept. 2, 2024 15:19:39)
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
it would be weird if and performed an OR operation quite frankly Does “and” perform an AND or OR operation?
- ThisIsTemp1
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I'm having a bit of trouble with the input. This is the code that I put into it=ask <Original Suggestion?> as <OG>ask Original Suggestion? as OG
Oh, thanks.
- ThisIsTemp1
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Another question, is this data science based?
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
i added “!=” operator and will add OR soon
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
3 pages in 2 days aint bad but the shinies topic literally got 40 pages in 7 days
or 20
idk
i dont remember
but
i need to advertise Obscure more
or 20
idk
i dont remember
but
i need to advertise Obscure more
Last edited by i_eat_coffee (Sept. 2, 2024 17:59:39)
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
https://obscure.glitch.me/contest
contest time
contest time
- SevenGuy777
- Scratcher
24 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Thanks! I'll try it out now
- SevenGuy777
- Scratcher
24 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Uh oh… It seems I can't rename delete or edit some of my projects… I think it has to do with the long name I gave them. Can you fix it?
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Press F12, go to the console tab, and tell me what errors show up when you try to delete / edit a project Uh oh… It seems I can't rename delete or edit some of my projects… I think it has to do with the long name I gave them. Can you fix it?
You can also just mass-delete all of your projects by clearing your cookies
- catfaceQWERTY
- Scratcher
2 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
i love it its like javascript but way more simple im gonna have a lot of fun with this tysm for the invite to thestudio
- lemoncello1205
- Scratcher
11 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
How do you draw stuff?
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
you don't? How do you draw stuff?
- SevenGuy777
- Scratcher
24 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
maybe you should add thatyou don't? How do you draw stuff?
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
how would that workmaybe you should add thatyou don't? How do you draw stuff?
- blubby4
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
TBH, I had a brain fart and didn't realise you could concatenate variables like that. It might make it simpler if you removed concatenation, because it can be accomplished withAdded the first 3, I've been trying to make a quine, but I've run into some problems. Here's a list of what I think should be added:
- Escaping brackets like \{ and \}
- Variable concatenation (concat <value1> <value2> as <variable>)
- Outputting without a new line (outl, maybe?)
- Functions
the functions will be a bit more tricky because currently, all blocks cannot be nested, so i'd focus on that before adding anything new
https://obscure.glitch.me/docs
set variable as {foo}{bar}
Edit: also, outl doesn't output anything if it's the first out instruction!
Edit again: I just had a terrible idea, what if you could use braces to set the name of a variable being assigned as the contents of the variable. That was a terrible explanation, so here is some code:
set var1 as foo
set {var1} as bar // equivalent to set foo as bar
out {foo} // outputs bar
Which then led me onto another suggestion: comments pls
Last edited by blubby4 (Sept. 2, 2024 20:48:38)
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Error: Invalid variable assignment: set {var1} as barTBH, I had a brain fart and didn't realise you could concatenate variables like that. It might make it simpler if you removed concatenation, because it can be accomplished withAdded the first 3, I've been trying to make a quine, but I've run into some problems. Here's a list of what I think should be added:
- Escaping brackets like \{ and \}
- Variable concatenation (concat <value1> <value2> as <variable>)
- Outputting without a new line (outl, maybe?)
- Functions
the functions will be a bit more tricky because currently, all blocks cannot be nested, so i'd focus on that before adding anything new
https://obscure.glitch.me/docsset variable as {foo}{bar}
Edit: also, outl doesn't output anything if it's the first out instruction!
Edit again: I just had a terrible idea, what if you could use braces to set the name of a variable being assigned as the contents of the variable. That was a terrible explanation, so here is some code:set var1 as foo
set {var1} as bar // equivalent to set foo as bar
out {foo} // outputs bar
Which then led me onto another suggestion: comments pls
lol
also thanks for the bug report
ill remove the join function too
- 50_scratch_tabs
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
while 1 = 1
end
EDIT: In order to be constructive, I'd say maybe add a check to see if it's running for too long?
Last edited by 50_scratch_tabs (Sept. 2, 2024 21:15:01)
- blubby4
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
That's the suggestion, make it valid, so it sets/creates a variable with the name of what's stored in the {}. This would also allow listsError: Invalid variable assignment: set {var1} as barTBH, I had a brain fart and didn't realise you could concatenate variables like that. It might make it simpler if you removed concatenation, because it can be accomplished withAdded the first 3, I've been trying to make a quine, but I've run into some problems. Here's a list of what I think should be added:
- Escaping brackets like \{ and \}
- Variable concatenation (concat <value1> <value2> as <variable>)
- Outputting without a new line (outl, maybe?)
- Functions
the functions will be a bit more tricky because currently, all blocks cannot be nested, so i'd focus on that before adding anything new
https://obscure.glitch.me/docsset variable as {foo}{bar}
Edit: also, outl doesn't output anything if it's the first out instruction!
Edit again: I just had a terrible idea, what if you could use braces to set the name of a variable being assigned as the contents of the variable. That was a terrible explanation, so here is some code:set var1 as foo
set {var1} as bar // equivalent to set foo as bar
out {foo} // outputs bar
Which then led me onto another suggestion: comments pls
lol
also thanks for the bug report
ill remove the join function too
Last edited by blubby4 (Sept. 2, 2024 21:04:41)
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language