Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- god286
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
https://stackoverflow.com/questions/6142643/python3-parser-generatorit looks confusing it doesn't even tell me where to start.Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like a… what what what?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.
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.
- Jonathan50
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
Also knowing about recursion will help greatly, (unless your programming language is meant to be like assembly,) because expressions like 3*(2*x + 5) or f(g(x)) are recursive in structure (just meaning an expression may contain one or more other expressions — so a function to evaluate one would work by calling itself.) (You could also make a so-called recursive descent parser, which is pretty easy, if you didn't want to use a parser generator.)
Last edited by Jonathan50 (Dec. 12, 2021 04:03:45)
Not yet a Knight of the Mu Calculus.
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- god286
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
I have a suggestion
:delete can delete variables from memory
global returns all defined variables
:declare [ *hw === /'hello, world' ];
:delete *hw
:declare [ *foo === /'abc' ];
:declare [ *bar === /'def' ];
:print /global
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!
/ means string I have a suggestion:delete can delete variables from memory:declare [ *hw === /'hello, world' ];
:delete *hwglobal returns all defined variables:declare [ *foo === /'abc' ];
:declare [ *bar === /'def' ];
:print /global
I don't think /global'd make sense
how about
%longstring string01 === [^get &ALL_LOCAL_VARS];
also i already have :def, :define
Last edited by MagicCrayon9342 (Dec. 12, 2021 04:25:54)
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- NFlex23
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
(#20)I used one for Talon; it actually makes it a whole lot easier.it looks confusing it doesn't even tell me where to start.Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like a… what what what?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.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
I'd prefer a non-generated parser so I can make it entirely customized and to my own needs of JNETL. I don't want this to be an easy language, i want it to be stressful. That's the whole point of it!(#20)I used one for Talon; it actually makes it a whole lot easier.it looks confusing it doesn't even tell me where to start.Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like a… what what what?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.
- NFlex23
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
(#32)I think you're missing the point. A parser allows you to make an entirely customizable language easily. And it's not generated; you still have to write the parsing grammar yourself. This is Talon's grammar: https://github.com/MystPi/talon/blob/main/talon/syntax.larkI'd prefer a non-generated parser so I can make it entirely customized and to my own needs of JNETL. I don't want this to be an easy language, i want it to be stressful. That's the whole point of it!(#20)I used one for Talon; it actually makes it a whole lot easier.it looks confusing it doesn't even tell me where to start.Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like a… what what what?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 NFlex23 (Jan. 12, 2022 22:02:00)
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
tbh JNETL's community never existed. You do Talon I might contribute and leave JNETL behind.(#32)I think you're missing the point. A parser allows you to make an entirely customizable language easily. And it's not generated; you still have to write the parsing grammar yourself. This is Talon's grammar: https://github.com/MystPi/talon/blob/main/talon/syntax.larkI'd prefer a non-generated parser so I can make it entirely customized and to my own needs of JNETL. I don't want this to be an easy language, i want it to be stressful. That's the whole point of it!(#20)I used one for Talon; it actually makes it a whole lot easier.it looks confusing it doesn't even tell me where to start.Sorry, my original answer was kinda curt. I edited it a bit. A parser generator (like a… what what what?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.
- MagicCrayon9342
- Scratcher
1000+ posts
The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!
- Discussion Forums
- » Advanced Topics
- » The JNETL Programming Language, Jayden's Neat Efficient Language. Coming soon!