Discuss Scratch

50_scratch_tabs
Scratcher
500+ posts

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

BigNate469 wrote:

(#381)
Again, irrelevant. Any file can be read (on the web) as binary or text.
What I'm saying is, what do we tell the browser to filter the file picker by? I don't like it when I'm trying to open 1 kind of file and I see all my files.
BigNate469
Scratcher
1000+ posts

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

50_scratch_tabs wrote:

BigNate469 wrote:

(#381)
Again, irrelevant. Any file can be read (on the web) as binary or text.
What I'm saying is, what do we tell the browser to filter the file picker by? I don't like it when I'm trying to open 1 kind of file and I see all my files.
Well, you can filter by similar MIME types and file extensions- and you can have multiple.

Probably .txt, text/plain, .obscure, .(whatever we finally decide the official file extension is), application/obscure
i_eat_coffee
Scratcher
1000+ posts

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

why r we suddenly at 8 k and a half views
ScratchcatandGobo
Scratcher
1000+ posts

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

This is actually really cool! I really enjoyed playing around with the basic functions, specifically looping. Decimal system could use some changes, but I am really impressed so far!
8to16
Scratcher
1000+ posts

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

I think this topic is getting more and more Obscure…

oof.

bump
breakfast_for_dinner
Scratcher
1000+ posts

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

8to16 wrote:

(#386)
I think this topic is getting more and more Obscure…
it's only been two days
i_eat_coffee
Scratcher
1000+ posts

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

breakfast_for_dinner wrote:

8to16 wrote:

(#386)
I think this topic is getting more and more Obscure…
it's only been two days
holy cow 2 days and no posts
what
remember when it got 300 posts in a week
endyourenite
Scratcher
100+ posts

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

i_eat_coffee wrote:

breakfast_for_dinner wrote:

8to16 wrote:

(#386)
I think this topic is getting more and more Obscure…
it's only been two days
holy cow 2 days and no posts
what
remember when it got 300 posts in a week
Oh well, First post streak reset.
Draked12
Scratcher
100+ posts

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

B
U
M

P
Catzcute4
Scratcher
500+ posts

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

idea: fetch in Obscrue
breakfast_for_dinner
Scratcher
1000+ posts

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

Catzcute4 wrote:

(#391)
idea: fetch in Obscrue
this would require implementing the dot operator so you could actually access specific data in the json

maybe, because it's an obscure language with weird ways of doing things, it could be a backslash operator instead, like the windows file system uses.
fetch http://api.scratch.mit.edu/users/example-scratcher as data
out {data\bio}
50_scratch_tabs
Scratcher
500+ posts

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

breakfast_for_dinner wrote:

(#392)
like the windows file system uses.

breakfast_for_dinner wrote:

(#392)
because it's an obscure language

Match made in heaven.
shahzainkhan
Scratcher
2 posts

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

Sir-Cats-A-Lot wrote:

i_eat_coffee wrote:


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


Obscure is a brand new programming language that I created
It's currently still in development, but works for the most part

To try it out:
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!
I am not touching “glitch” again after… let's just say…

T H E I N C I D E N T




Hey, Is This Open-Sourced? I tried It And Oh Man

Last edited by shahzainkhan (Oct. 11, 2024 14:35:26)

BigNate469
Scratcher
1000+ posts

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

shahzainkhan wrote:

Hey, Is This Open-Sourced? I tried It And Oh Man
please, please snip long quotes. That's when you replace much or all of the content of a long quote with the word “snip”, to make it so that you don't quote more than you need

Yes- see https://glitch.com/~obscure
50_scratch_tabs
Scratcher
500+ posts

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

Any progress on the ai?
SuperSonicmario
Scratcher
100+ posts

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

Not bad.
array █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . as charset
set null to [ ]
set cr to -1.25
while {cr} < 1.25
set ci to -2.5
while {ci} < 1.5
set zi to {ci}
set zr to {cr}
set iterations to 2
set break to 0
while {iterations} < 13 and {break} = 0
multiply {zi} {zi} as zi²
multiply {zr} {zr} as zr²
add {zi²} {zr²} as abs
if {abs} < 4
multiply {zr} {zi} as zr
add {zr} {zr} as zr
subtract {zi²} {zr²} as zi
add {zi} {ci} as zi
add {zr} {cr} as zr
end
if {abs} = 4
set break to 1
end
if {abs} > 4
set break to 1
end
add {iterations} 1 as iterations
end
outl {charset:iterations}
add {ci} 0.0625 as ci
end
out {letter 2:null}
add {cr} 0.125 as cr
end

BigNate469 wrote:

Also, regardless of people's objections to .obscure being too long for regular use,
*cough* .manifest *cough*

Last edited by SuperSonicmario (Oct. 18, 2024 21:15:02)

Draked12
Scratcher
100+ posts

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

SuperSonicmario wrote:

array █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . as charset
set null to [ ]
set cr to -1.25
while {cr} < 1.25
set ci to -2.5
while {ci} < 1.5
set zi to {ci}
set zr to {cr}
set iterations to 2
set break to 0
while {iterations} < 13 and {break} = 0
multiply {zi} {zi} as zi²
multiply {zr} {zr} as zr²
add {zi²} {zr²} as abs
if {abs} < 4
multiply {zr} {zi} as zr
add {zr} {zr} as zr
subtract {zi²} {zr²} as zi
add {zi} {ci} as zi
add {zr} {cr} as zr
end
if {abs} = 4
set break to 1
end
if {abs} > 4
set break to 1
end
add {iterations} 1 as iterations
end
outl {charset:iterations}
add {ci} 0.0625 as ci
end
out {letter 2:null}
add {cr} 0.125 as cr
end
That Lag spiked my laptop for 4 seconds what the heck
SuperSonicmario
Scratcher
100+ posts

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

Draked12 wrote:

That Lag spiked my laptop for 4 seconds what the heck
Indeed, the interpreter could use some delays. 6502js runs code without locking up the browser by processing a block of instructions every 15 ms.
breakfast_for_dinner
Scratcher
1000+ posts

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

400 posts is crazy man

SuperSonicmario wrote:

(#397)
array █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . as charset
set null to [ ]
set cr to -1.25
while {cr} < 1.25
set ci to -2.5
while {ci} < 1.5
-snip
end
out {letter 2:null}
add {cr} 0.125 as cr
end
very impressive! good work. what exactly is it?

Last edited by breakfast_for_dinner (Oct. 19, 2024 07:38:11)

i_eat_coffee
Scratcher
1000+ posts

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

SuperSonicmario wrote:

Not bad.
-snip-

That's actually really impressive.

breakfast_for_dinner wrote:

400 posts is crazy man

SuperSonicmario wrote:

(#397)
array █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . as charset
set null to [ ]
set cr to -1.25
while {cr} < 1.25
set ci to -2.5
while {ci} < 1.5
-snip
end
out {letter 2:null}
add {cr} 0.125 as cr
end
very impressive! good work. what exactly is it?

Powered by DjangoBB