Discuss Scratch

MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

kinda like vim

/ string
* var

:print /'hello, world';
:declare [ *hw === /'hello, world' ];
:print *hw;

Why did I make this so complicated? Why not! I think its easier to maintain and cleaner. Also vim is cool
And this syntax looks cool

I dont know how to right a parser or in what language to do so. I want this language compilable into machine code as well or just ran like a script or somethin.

what should I name it

JNETL, Jayden's Neat Efficient Type Language.
or
VimScript
or somethin

Last edited by MagicCrayon9342 (Dec. 12, 2021 03:17:10)


MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

file extension?

*.jnetl
*.jnet
*.jn
*.j

*.vimscript
*.vimsc
*.vim
*.vs

MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

I've decided on JNETL and *.jnetl

MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

What should I write the interpreter in?
Removed, Reason: StrawPoll links not allowed.

Last edited by MagicCrayon9342 (Dec. 12, 2021 03:22:30)


dhuls
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

What should I write the interpreter in?
(removed)
strawpoll links aren't allowed.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

dhuls wrote:

MagicCrayon9342 wrote:

What should I write the interpreter in?
(removed)
strawpoll links aren't allowed.
ok

god286
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

I say Python, because C you don't know, and bash? Why

Last edited by god286 (Dec. 12, 2021 03:22:42)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

god286 wrote:

I say Python, because C you don't know, and bash? Why
bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.

god286
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

dhuls wrote:

MagicCrayon9342 wrote:

What should I write the interpreter in?
(removed)
strawpoll links aren't allowed.
ok
Why are basically no links allowed.

MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

god286 wrote:

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs
I don't want to make an interpreter out of an already slow method of interpreting (making an interpreter out of an interpreted language will cause slow downs)

MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

JNETL
:def *a [ === (:output ^of [:math, 2, +, 2])
:prnt *a

JavaScript
var a = 2 + 2
console.log(a)

Python
a = 2 + 2
print(a)
———————————————————————–
4
—–

See how JNETL just looks cleaner and cooler, it is more code though. But as readable as English.

Last edited by MagicCrayon9342 (Dec. 12, 2021 03:33:54)


dhuls
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

god286 wrote:

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs
I don't want to make an interpreter out of an already slow method of interpreting (making an interpreter out of an interpreted language will cause slow downs)
Scratch…

You could also use Cython, compile that to C, then compile the resulting .c file.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

dhuls wrote:

MagicCrayon9342 wrote:

god286 wrote:

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs
I don't want to make an interpreter out of an already slow method of interpreting (making an interpreter out of an interpreted language will cause slow downs)
Scratch…

You could also use Cython, compile that to C, then compile the resulting .c file.
I mean that's even harder than the language I'm making.
And that says something.

ScratchCatHELLO
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

god286 wrote:

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs
I don't want to make an interpreter out of an already slow method of interpreting (making an interpreter out of an interpreted language will cause slow downs)
bash is also interpreted

also, I beg to differ.





ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust



Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

ScratchCatHELLO wrote:

MagicCrayon9342 wrote:

god286 wrote:

MagicCrayon9342 wrote:

bash is the language I'm strongest with, since it uses Linux commands and I've pretty much mastered those.
Windows compatibility? Also python is awesome, or if you really want, nodejs
I don't want to make an interpreter out of an already slow method of interpreting (making an interpreter out of an interpreted language will cause slow downs)
bash is also interpreted

also, I beg to differ.
But at least i know far more bash than python

btw jnetl examples here:
https://github.com/JaydenDev/jnetl/tree/main/examples

Jonathan50
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

Maybe try a parser generator (like Bison for C — depends what programming language you use). Writing it in Bash would be difficult and overcomplicated because of its peculiarities as a Unix shell and not a general-purpose procedural programming language.

Last edited by Jonathan50 (Dec. 12, 2021 03:47:36)


Not yet a Knight of the Mu Calculus.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

Jonathan50 wrote:

Maybe try a parser generator. Writing it in Bash would be difficult and overcomplicated.
a… what what what?

Jonathan50
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

MagicCrayon9342 wrote:

a… what what what?
Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like GNU Bison) is a program that takes a specification of your language's grammar (syntax) and generates a parser using a particular algorithm. Bison is for C, but there are probably parser generators for whatever languages you're familiar with.

Last edited by Jonathan50 (Dec. 12, 2021 03:58:44)


Not yet a Knight of the Mu Calculus.
MagicCrayon9342
Scratcher
1000+ posts

The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!

Jonathan50 wrote:

MagicCrayon9342 wrote:

a… what what what?
Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like GNU Bison) is a program that takes a specification of your language's grammar (syntax) and generates a parser using a particular algorithm. Bison is for C, but there are probably parser generators for whatever languages you're familiar with.
it looks confusing it doesn't even tell me where to start.

Powered by DjangoBB