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
Again, irrelevant. Any file can be read (on the web) as binary or text- regardless of file extension or MIME type.(#377)Right but what about opening local files in the editor?
And none of this actually matters on a browser (Obscure's editor is a webpage) where the server sends the MIME type with the file for the browser to easily identify it.
Last edited by BigNate469 (Sept. 30, 2024 21:28:02)
- 50_scratch_tabs
- Scratcher
500+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#381)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.
Again, irrelevant. Any file can be read (on the web) as binary or text.
- BigNate469
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Well, you can filter by similar MIME types and file extensions- and you can have multiple.(#381)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.
Again, irrelevant. Any file can be read (on the web) as binary or text.
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
oof.
bump
- breakfast_for_dinner
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
(#386)it's only been two days
I think this topic is getting more and more Obscure…
- i_eat_coffee
- Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
holy cow 2 days and no posts(#386)it's only been two days
I think this topic is getting more and more Obscure…
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
Oh well, First post streak reset.holy cow 2 days and no posts(#386)it's only been two days
I think this topic is getting more and more Obscure…
what
remember when it got 300 posts in a week
- Draked12
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
B
U
M
P
U
M
P
- Catzcute4
- Scratcher
100+ 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
(#391)this would require implementing the dot operator so you could actually access specific data in the json
idea: fetch in Obscrue
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
- shahzainkhan
- Scratcher
2 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I am not touching “glitch” again after… let's just say…
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!
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
Hey, Is This Open-Sourced? I tried It And Oh Manplease, 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
*cough* .manifest *cough* Also, regardless of people's objections to .obscure being too long for regular use,
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
That Lag spiked my laptop for 4 seconds what the heckarray █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . 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
- SuperSonicmario
- Scratcher
100+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Indeed, the interpreter could use some delays. That Lag spiked my laptop for 4 seconds what the heck6502js 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
(#397)very impressive! good work. what exactly is it?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
Last edited by breakfast_for_dinner (Oct. 19, 2024 07:38:11)
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language