guide
Crafting Interpreters
Our great sponsors
guide | Crafting Interpreters | |
---|---|---|
90 | 45 | |
1,516 | 8,103 | |
1.3% | - | |
7.7 | 0.0 | |
23 days ago | 19 days ago | |
JavaScript | HTML | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
guide
-
Where can I learn about discord bots?
Either way, you're going to need to follow either this guide: https://discordjs.guide/ to get you started with DiscordJS (which is IMO the easiest language to learn it in, also usually the most up-to-date). If you're not into reading (which is not in the slightest optimal if you wanna learn how to program) then there's probably some DiscordJS tutorials online. Just search DiscordJS tutorials on youtube and you're sure to find one.
-
My discord bot don't work out of my test server.
https://discordjs.guide is the "official" discord.js guide, you'll find a command handler there. I don't know if it will be more or less complicated than the one youre using.
-
I'm trying to make a command that sends the avatar of a user
Also do some debug logging to show that the target it actually being read correctly. But moving to slash commands may work better. There is a really good guide out there. DiscordJS Guide
-
How much knowledge in coding do i need to be able to create own discord bots?
Well, I recommend you JavaScript, it is good for beginners and there's a lot of content on internet. Once you understand and practice the basics, you can use discord.js to write your bots. They have a guide website if you are interested.
- How can I make my bot interact with MEE6
-
Do Discord slash commands include an anti spam or should we implement our own anti spam system?
but I use the official discord.js guide cooldown example: https://github.com/discordjs/guide/blob/main/code-samples/additional-features/cooldowns/index.js
-
Changing normal command to slash command
https://discordjs.guide has a good tutorial on slash commands
- How to Create a Discord Bot to Get GitHub Repository Issues
-
question
Official guide from the peeps who made DJS: https://discordjs.guide/
-
Slash Commands Won’t Work
Read the discord js guide (https://discordjs.guide/). The answer to your problem is that it takes many hours for global / commands to register. The reason I still recommend the guide is because it gives you an introduction to many of these topics. It's better than a lot of youtube video tutorials and such.
Crafting Interpreters
- Crafting Interpreters
-
The Top 10 GitHub Repositories Making Waves 🌊📊
Build an Interpreter (Chapter 14 on is written in C)
-
Writing a Debugger from Scratch: Breakpoints
I’m guessing you’ll have to work with the scopes in the resolver:
https://github.com/munificent/craftinginterpreters/blob/mast...
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Better open an issue/request wiki edit at https://github.com/munificent/craftinginterpreters/wiki/Lox-implementations
- Gigachad Ken Thomson.
-
Show HN: Yaksha Programming Language
I'm late to the party, but I want to say thank you for sharing this. It's inspiring to look at how much you've built and (hopefully) enjoyed the process of building! I'm loving everything -- your site, your language design, your docs, your builtin libraries, your dev tools. Beyond impressive. People like you are the ones who make HN one of my best places on the internet.
For context on where I'm coming from, about two weeks ago I picked up Crafting Interpreters [1] for fun. I'm finding your clear-yet-concise Compiler internals [2] to be particularly compelling reading, and jumping back and forth between those "how this all works" docs and the live example of this language you actually built do a WASM-compiled tree-blowing-in-the-wind animation is just... just wow. So freaking cool!
I also enjoyed reading the comment thread that inspired you to start on Yaksha and seeing how this project has a wholesome start as inspiration-by-programming-hero. I hope you recognize that a few years later you've now ascended from inspiree to inspirer. I also hope you're still having tons of fun building out Yaksha!
[1] https://www.craftinginterpreters.com/
[2] https://yakshalang.github.io/documentation.html#compiler-int...
- Keeping track of returned and break-ed values between code blocks
-
How do you start your own programming language?
There are books which will talk you through the process. Crafting Interpreters is highly spoken of; I used Writing an Interpreter in Go, because I like Go. Then there's Compilers: Principles, Techniques, and Tools (the "Dragon Book"). This is considered heavy, but a classic, it's been around since '86.
-
Designing a new language
I cannot recommend Crafting Interpreters by Robert Nystrom enough, it covers a lot of the stuff you need to know, completely for free.
-
A roadmap to design programming languages
Crafting Interpreters is a fun primer on language design. It has a complete roadmap to build a fairly simple language, twice. There are some topics it won't touch on, like static type systems, but it provides a great introduction so that you can start tinkering and learn by doing.
What are some alternatives?
discord.js - A powerful JavaScript library for interacting with the Discord API
git-internals-pdf - PDF on Git Internals
discord.js-v13-command-handler - This is the SImplest command hander availabe on the entire internet and ive tried to provide custome prefix enable/disable commands and custom prefix here we use the database mongodb
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
super-auto-pets-db - This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.
tinyrenderer - A brief computer graphics / rendering course
Bump-Reminder - A simple reminder bot for disboard [Moved to: https://github.com/numselli/Kohana]
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
littleosbook - Source for the little book about OS development
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
Discord-Datamining - Datamining Discord changes from the JS files
30-days-of-elixir - A walk through the Elixir language in 30 exercises.