Discuss Scratch

i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language



Try it out: https://obscure.glitch.me/
I want to see what fun stuff y'all come up with


1. Enter the website, you will see 3 sample projects

2. Open any project or create a new one to try it out

3. In the editor, you can click “Run” to run the project

4. You can also hit “Save” to save it, every project is stored
in your browser and will be there when you enter the page again

5. The full guide that shows all functions & their explanation is
on the navigation bar, called the Documentation

Please share on this topic any fun games or apps you make!

Last edited by i_eat_coffee (Sept. 5, 2024 14:46:09)


() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
BigNate469
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

Docs, please.
if nobody can learn the programming language, it's just gibberish that does math.

This signature is designed to be as useful as possible.
How to make a signature & other useful info about them
The Official List of Rejected Suggestions (TOLORS)
The Announcements Directory
Lesser-known Scratch URLs: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/762351/

Ads Useful projects:
Raycaster & Maze 1.4.1 | Don't Break The Ice | Procedurally Generated Terrain | Basic Trigonometry | Comparing the fastest list sorters on Scratch

“if nobody can learn the programming language, it's just gibberish that does math.” -me, in a forum post

The original name of “loves” was “love-its”. Technically speaking, this hasn't changed.

© @BigNate469, some rights reserved
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

BigNate469 wrote:

Docs, please.
if nobody can learn the programming language, it's just gibberish that does math.
Done
https://new-lang-demo.glitch.me/docs
made with chatgpt lol

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

the web app is almost done

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

i_eat_coffee wrote:

the web app is almost done
it's up

yay its finished

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

Did you make this @i_eat_coffee ?
EDIT: i just read the post again. it says you did it

Last edited by ominouswolf (Sept. 1, 2024 20:11:21)


oh hello there
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

In my opinion, I would have set “out” to “output”. Feels like it makes more sense.

oh hello there
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

ominouswolf wrote:

In my opinion, I would have set “out” to “output”. Feels like it makes more sense.
i mean, the language is basically just a bit more verbose than others anyway, might aswell just put “write”
i'll add that in the next release

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

i_eat_coffee wrote:

ominouswolf wrote:

In my opinion, I would have set “out” to “output”. Feels like it makes more sense.
i mean, the language is basically just a bit more verbose than others anyway, might aswell just put “write”
i'll add that in the next release
Maybe make both “out” and “write” synonyms as just changing “out” with “write” can break programs. For instance, Python 3.0's change from the syntax of “print” from Python 2.0's “print <Input>” to “print(<Input>)” broke aton of programs!

oh hello there
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

ominouswolf wrote:

i_eat_coffee wrote:

ominouswolf wrote:

In my opinion, I would have set “out” to “output”. Feels like it makes more sense.
i mean, the language is basically just a bit more verbose than others anyway, might aswell just put “write”
i'll add that in the next release
Maybe make both “out” and “write” synonyms as just changing “out” with “write” can break programs. For instance, Python 3.0's change from the syntax of “print” from Python 2.0's “print <Input>” to “print(<Input>)” broke aton of programs!
i guess i can just do a script to replace all “out” statements on projects

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

i_eat_coffee wrote:

ominouswolf wrote:

i_eat_coffee wrote:

ominouswolf wrote:

In my opinion, I would have set “out” to “output”. Feels like it makes more sense.
i mean, the language is basically just a bit more verbose than others anyway, might aswell just put “write”
i'll add that in the next release
Maybe make both “out” and “write” synonyms as just changing “out” with “write” can break programs. For instance, Python 3.0's change from the syntax of “print” from Python 2.0's “print <Input>” to “print(<Input>)” broke aton of programs!
i guess i can just do a script to replace all “out” statements on projects
Wouldn't just adding “write” to act the same as “out” work?

oh hello there
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

Also getting an error that while is an invald command.
Heres the code:
out “Welcome to a guessin game =OO”
out “Try to guess the number!”
set Play as 1
set Correct as 0
while {Play} = 1
random 1 9999 as Num
while {Correct} = 0 #The bug is on this line.
ask “Number: ” as Input
if {Input} > {Num}
out “Think Smaller!”
end
if {Input} < {Num}
out “Think Bigger!”
end
if {Input} = {Num}
out “You got it correct!”
set Correct = 1
end
end
ask “Want to play again? (Y/N): ” as again
if {again} = “Y”
set Play as 0
end
end

oh hello there
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

ominouswolf wrote:

Also getting an error that while is an invald command.
-snip-
one second

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

^^ seems like there is a bug with the interpreter executing nested while & if blocks. trying to fix it

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

i_eat_coffee wrote:

^^ seems like there is a bug with the interpreter executing nested while & if blocks. trying to fix it
Ok!

oh hello there
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

Thanks! I think its fixed now?

oh hello there
i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

ominouswolf wrote:

Thanks! I think its fixed now?
unfortunately its gonna take a while until i fix it because i have to rebuild the entire function that executes the if/while block
tomorrow it should be fixed but for now there cant be any if/while loops inside of another if/while loop

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
ominouswolf
Scratcher
63 posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

i_eat_coffee wrote:

ominouswolf wrote:

Thanks! I think its fixed now?
unfortunately its gonna take a while until i fix it because i have to rebuild the entire function that executes the if/while block
tomorrow it should be fixed but for now there cant be any if/while loops inside of another if/while loop
Ok.

oh hello there
8to16
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

ya rickrolled me :D

^^^^^ Below this line is a signature. It doesn't have anything to do with the post above.
Redstone1080
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

Maybe you could open-source this? I'd love to help with the interpreter. IIRC there's a way to turn a Glitch project into a GitHub repo.

Maintainer of Snazzle | User of Linux (Fedora in particular) | Fan of Rockets

Powered by DjangoBB