Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » NewType, a new and easy programming language
- 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
we don't need the reverse. We can add something like:ask [hello!].toReverse
ask [hello!].toLowercase
ask [hello!].toUppercase
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
Like this:say (lowcase [Hello!])
say (upcase [Hello!])
[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
yup!Like this:say (lowcase [Hello!])
say (upcase [Hello!])
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
- LoveyFamily
- Scratcher
100+ posts
NewType, a new and easy programming language
Cool! That sounds awesome! 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:So it's based on Scratch but it's text.when run
warp
say [Hello World!]
speak [Hello World!] in [English]
end
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
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
yup!Like this:say (lowcase [Hello!])
say (upcase [Hello!])
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
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
I do think a reverse function, or at least a way to reverse strings, is a good idea. we don't need the reverse.
- Rendangbike2
- Scratcher
1000+ posts
NewType, a new and easy programming language
Oops. Okay!yup!Like this:say (lowcase [Hello!])
say (upcase [Hello!])
[code]
say (lowcase [Hello!])
say (upcase [Hello!])
[/code]
Oops! I meant to say “Please close your code tags.”
Last edited by Rendangbike2 (Dec. 25, 2020 05:16:44)
- Rendangbike2
- Scratcher
1000+ posts
NewType, a new and easy programming language
Can you make an example of how we can use it in real life?I do think a reverse function, or at least a way to reverse strings, is a good idea. we don't need the reverse.
- 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
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
Like in [scratchblocks]? Can someone suggest to me how can we use booleans without using round brackets?
<hello>
<hello>
Signatures are the only place where assets links still work.
- Rendangbike2
- Scratcher
1000+ posts
NewType, a new and easy programming language
yupLike in [scratchblocks]? Can someone suggest to me how can we use booleans without using round brackets?
<hello><hello>
- mybearworld
- Scratcher
1000+ posts
NewType, a new and easy programming language
Well, then you can use <>?yupLike in [scratchblocks]? Can someone suggest to me how can we use booleans without using round brackets?
<hello><hello>
Signatures are the only place where assets links still work.
- Rendangbike2
- Scratcher
1000+ posts
NewType, a new and easy programming language
i dont wanna use <>Well, then you can use <>?yupLike in [scratchblocks]? Can someone suggest to me how can we use booleans without using round brackets?
<hello><hello>
- Maximouse
- Scratcher
1000+ posts
NewType, a new and easy programming language
Then use ()? Or {}? i dont wanna use <>
- Rendangbike2
- Scratcher
1000+ posts
NewType, a new and easy programming language
i said without using round brackets and {} are for custom commandsThen use ()? Or {}? i dont wanna use <>
- mybearworld
- Scratcher
1000+ posts
NewType, a new and easy programming language
Hm, then maybe syntaxless? Like “if 2 + 2 = 4” or somethnig like if '2 + 2 = 4 ', using the ' sign?i said without using round brackets and {} are for custom commandsThen use ()? Or {}? i dont wanna use <>
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.
- Discussion Forums
- » Things I'm Making and Creating
- » NewType, a new and easy programming language