Discuss Scratch

HPD1155
Scratcher
100+ posts

NewType, a new and easy programming language

We can add something like:
ask [hello!].toReverse

ask [hello!].toLowercase

ask [hello!].toUppercase

i luv koenigseggs I is a hackr FYI
console.log(“hi); I’m an ethical hacker FYI
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

HPD1155 wrote:

We can add something like:
ask [hello!].toReverse

ask [hello!].toLowercase

ask [hello!].toUppercase
we don't need the reverse.
maybe a more great way is this:
say (lowcase [Hello!])
say (upcase [Hello!])

Last edited by Rendangbike2 (Dec. 25, 2020 05:15:58)





Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

If you want to see Newtype in Scratch, go to this project then look inside and see the code for Newtype! You can ask questions in the project!

Last edited by Rendangbike2 (Dec. 24, 2020 07:28:59)





mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

say (lowcase [Hello!])
say (upcase [Hello!])
Like this:
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]

Signatures are the only place where assets links still work.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

Rendangbike2 wrote:

say (lowcase [Hello!])
say (upcase [Hello!])
Like this:
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
yup!




LoveyFamily
Scratcher
100+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

So I've been making a project (it's in the work in progress in my profile) So it's an idea for a new programming language called NewType. Example code:
when run
warp
say [Hello World!]
speak [Hello World!] in [English]
end
So it's based on Scratch but it's text.
You might ask "Can you just use tosh?
Because:
Pros:
1. It's much more like scratchblocks the kind you use in the suggestions and help with scripts.
2. NewType is just like the scratch editor but with a few things different and text

Cons:
It doesn't exist, it's just an idea
Cool! That sounds awesome!

Hi, I’m LoveyFamily! I’m the ‘Family’ in Clever Potato Family productions! (We make scratch movies!)
“You have brains in your head. You have feet in your shoes. You can steer yourself any direction you choose. You’re on your own. And you know what you know. And YOU are the one who’ll decide where to go.” — Doctor Seuss
I loves goats! Go follow my scratch twin, Lux!!! And go follow my scratch sisters, cleverCoderGirl123 and Potato, and
Magic!
!
mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

say (lowcase [Hello!])
say (upcase [Hello!])
Like this:
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
yup!

Oops! I meant to say “Please close your code tags.”

Signatures are the only place where assets links still work.
-Charon-
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

we don't need the reverse.
I do think a reverse function, or at least a way to reverse strings, is a good idea.

Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

say (lowcase [Hello!])
say (upcase [Hello!])
Like this:
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
yup!

Oops! I meant to say “Please close your code tags.”
Oops. Okay!

Last edited by Rendangbike2 (Dec. 25, 2020 05:16:44)





Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

-Charon- wrote:

Rendangbike2 wrote:

we don't need the reverse.
I do think a reverse function, or at least a way to reverse strings, is a good idea.
Can you make an example of how we can use it in real life?




Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

The basics of Newtype:
A. The Newtype “slang”
Integers or Numbers = nums
String or Texts = tex
Characters = chars
Reporter = rep
Boolean = bool
Variable = var


B. Brackets
() <— Round brackets are used for nums, rep, bool and var
[] <— Square brackets are used for tex
{} <— Curly brackets are used for if statements

Last edited by Rendangbike2 (Dec. 28, 2020 06:50:27)





Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

Can someone suggest to me how can we use booleans without using round brackets?




mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

Can someone suggest to me how can we use booleans without using round brackets?
Like in [scratchblocks]?
<hello>
<hello>

Signatures are the only place where assets links still work.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

Rendangbike2 wrote:

Can someone suggest to me how can we use booleans without using round brackets?
Like in [scratchblocks]?
<hello>
<hello>
yup





mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

Can someone suggest to me how can we use booleans without using round brackets?
Like in [scratchblocks]?
<hello>
<hello>
yup

Well, then you can use <>?

Signatures are the only place where assets links still work.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

mybearworld wrote:

Rendangbike2 wrote:

mybearworld wrote:

Rendangbike2 wrote:

Can someone suggest to me how can we use booleans without using round brackets?
Like in [scratchblocks]?
<hello>
<hello>
yup

Well, then you can use <>?
i dont wanna use <>




Maximouse
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

i dont wanna use <>
Then use ()? Or {}?


This is Maximouse's signature. Learn more about signatures.
Rendangbike2
Scratcher
1000+ posts

NewType, a new and easy programming language

Maximouse wrote:

Rendangbike2 wrote:

i dont wanna use <>
Then use ()? Or {}?
i said without using round brackets and {} are for custom commands




mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

Rendangbike2 wrote:

Maximouse wrote:

Rendangbike2 wrote:

i dont wanna use <>
Then use ()? Or {}?
i said without using round brackets and {} are for custom commands
Hm, then maybe syntaxless? Like “if 2 + 2 = 4” or somethnig like if '2 + 2 = 4 ', using the ' sign?
Post 1k!

Last edited by mybearworld (Dec. 28, 2020 14:55:08)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

NewType, a new and easy programming language

I notice another problem
say [2+2=4]

Signatures are the only place where assets links still work.

Powered by DjangoBB