## Discuss Scratch

- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language

- i_eat_coffee
- Scratcher

1000+ posts

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

the project source is actually public on glitch 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.

but, i mean, if u know Javascript pretty well and are willing to help out, I can create a github repo

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- elip100
- Scratcher

100+ posts

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

- i_eat_coffee
- Scratcher

1000+ posts

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

soo… Cool! You should add lists and dictionaries.

arrays and JSON objects?

sorry i don't speak fancy python language

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- SevenGuy777
- Scratcher

21 posts

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

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

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

QUOTES BY ME:

“You only have one life, and then you die. So you might as well live it.”

“The greatest product is the one that stands the test of time”

And last and least: “Never take financial advice from a broke person.”

- i_eat_coffee
- Scratcher

1000+ posts

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

what is the error you are receiving? 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

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- blubby4
- Scratcher

100+ posts

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

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

I think about things. Sometimes I think about things too much, and miss obvious simple things

- i_eat_coffee
- Scratcher

1000+ posts

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

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

- might add all of these tomorrow with the bugfix

but

you can already concat variables and add curlybrackets like this:

set a as {

set b as }

out {a}{b}

yeah, that was a double demonstration

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- 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>

This post may have inaccurate info. If so, bear with me.

Welcome to my signature. If you notice the line there, that ends my post, and begins my signature! Use Ctrl+Shift+Down to see the rest of it!

My signature can be as offtopic as I want it to be,as long as it doesn't break the community guidelines!

Made my PFP great again

An potato resides in my signature but left my milestone, how nice.

:100th post

500th post

I like doing schoolwork and foruming.

—————————–

/potato \ Potato's house.

——————————

This potato will hopefully one day become a real one.

This was on trending for hurricane search results:https://scratch.mit.edu/projects/1024508037/ (I can advertise here)

- i_eat_coffee
- 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

(っ◔◡◔)っ ♥ 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 was trying to debug the interpreter all this time until i realised 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

the if function is literally trying to see if the word “answer” is the number “2”

not if the variable answer is the number “2”

not a bug with the interpreter, you just have to put them inside curly brackets for them to be considered variables:

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

edit: also you can get creative with showing an “incorrect” message

since i havent added the “else” function yet

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

def result as That is incorrect!

if {answer} = 2 and {answer3} = 81 and {answer4} = 72 and {answer5} = 270 and {answer6} = 22

def result as "That is correct!"

end

out {result}

*Last edited by i_eat_coffee (Sept. 2, 2024 09:41:59)*

(っ◔◡◔)っ ♥ 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'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

- Added the first 3,

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

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- stinkman2
- Scratcher

1 post

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

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

bitp

- 50_scratch_tabs
- Scratcher

500+ posts

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

This is really cool, I haven't made programs with it because I'm on mobile, but this seems promising! One thing, maybe use something like set {} to {} instead of set as, because I'm pretty much every programming language, you use a syntax of variable = value… Maybe have it detect what is the variable and what is the value by detecting if it uses “as” or “to”?

Highlight this text and Shift+Down for more fun!

I don't mind if you post off-topic replies on my profile, but please don't post links to posts you think I missed. I follow every topic I post in, and I'm often too busy to be on Scratch.

He/Him | ATer? | I like Scratch API projects like this one, which usually knows it's own stats!

Scratch (obviously) | Python | HTML/CSS/JS | PHP | Minecraft | Slightly C/C++ | One of these days I'll learn Java.

I used to have the 9000th post on TOLORS | My first post was an accident | Interesting comment thread

Tic-tac-toe :: events hatComment a move on my profile and I will add it.

(1::grey) (X:: variables) (3::grey):: stack grey

(4::grey) (O:: sensing) (6::grey):: stack grey

(X:: variables) (O:: control) (X :: variables):: stack grey

Colors :: events hat

50_scratch_tabs \(me) :: variables

8to16 :: sensing

SaberDragon73 :: control

If you have a signature that requires Shift+down, paste this at the bottom of it. If you actually read this far, you deserve my respect. -50_scratch_tabs

- artemvideoscratch
- Scratcher

23 posts

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

documentation please?

A/

i can protect my signature myself

waiting for gd 2.21

- i_eat_coffee
- Scratcher

1000+ posts

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

it's on the website documentation please?

it has a navigation bar

(っ◔◡◔)っ ♥ 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

might rewrite the entire thing

(っ◔◡◔)っ ♥ 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

fixed nested ifs/whiles

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- ninjaMAR
- Scratcher

1000+ posts

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

(#21)please dothe project source is actually public on glitch 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.

but, i mean, if u know Javascript pretty well and are willing to help out, I can create a github repo

- Syedbilal321
- Scratcher

32 posts

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

How does the thing even work?

- i_eat_coffee
- Scratcher

1000+ posts

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

it's… a programming language? How does the thing even work?

wdym?

(っ◔◡◔)っ ♥ Coffee | she/he/they | Teenager ♥

Full-stack web developer | HTML/CSS/JS, Node.js + EJS

- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language