guide
the-super-tiny-compiler
Our great sponsors
guide | the-super-tiny-compiler | |
---|---|---|
90 | 19 | |
1,514 | 27,332 | |
1.2% | - | |
7.7 | 0.0 | |
15 days ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | Creative Commons Attribution 4.0 |
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.
the-super-tiny-compiler
-
ESLint: under the hood
Now, those concepts are a whole entire world to explore, and this is out of the scope of this article. I suggest the reading of the Chapters 4, 5 and 6 of the book Crafting Interpreters by Robert Nystrom for a wider (but still practical) understanding of those subjects. Another practical great resource to look at is The SuperTiny Compiler. To explore them from a theorical point of view, you can find A LOT of resources from books or courses online.
-
Abstract Syntax Trees and Practical Applications in JavaScript
The super tiny compiler by Jamie
-
GCC uses GCC to compile itself
I am currently writing a much more intricate version of the Super Tiny Compiler (https://github.com/jamiebuilds/the-super-tiny-compiler) in Rust, only I plan on handling many basic operations, essentially a compiler for a MUCH simpler version of Go. Great project idea btw, for anyone who wants to explore compilers. But in doing so, have really found a new respect for just what is going on when you gcc -o garbageprogram mytrashcode.c
-
how would you make a programming language if you were a complete beginner?
Here, at least take this floatie: https://github.com/jamiebuilds/the-super-tiny-compiler
-
Any good resources for reading code?
Outside of this, I recently learned about The Super Tiny Compiler which was a project written to be read. Mind you, it has a vast amount of comments, which may be more of a leg-up than you're asking for.
-
Ask HN: Guidance on writing a source to source compiler (transpiler)
You could start here:
https://github.com/jamiebuilds/the-super-tiny-compiler
That converts from lisp-like to javascript. Really though this is a big field, and there are lots of resources out there.
To get started look at your input language; you'll need to lex and parse that. Then massage the parsed structure into the appropriate output.
You can see me convert brainfuck to C, or x86 assembly language here:
- The Super Tiny Compiler
What are some alternatives?
discord.js - A powerful JavaScript library for interacting with the Discord API
es6-cheatsheet - ES2015 [ES6] cheatsheet containing tips, tricks, best practices and code snippets
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
write-a-C-interpreter - Write a simple interpreter of C. Inspired by c4 and largely based on it.
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.
minipack - 📦 A simplified example of a modern module bundler written in JavaScript
Bump-Reminder - A simple reminder bot for disboard [Moved to: https://github.com/numselli/Kohana]
flowy - The minimal javascript library to create flowcharts ✨
littleosbook - Source for the little book about OS development
fslightbox - An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
Discord-Datamining - Datamining Discord changes from the JS files
didact - A DIY guide to build your own React