alphascript
v1.0.2
Published
AlphaScript: Gen Alpha slang for sigma rizz!
Maintainers
Readme
AlphaScript 🅰️🔥
🚀 Pseudo programming language based on Gen Alpha slang!
AlphaScript is a programming language based on JavaScript, but using Gen Alpha slang as its syntax. This is a unique and fun way to learn coding with a modern twist.
🔥 AlphaScript Code Example
mewing rizz fetchData() {
main character response = looksmaxxing fetch("https://api.example.com");
lore response;
}
grimace {
looksmaxxing fetchData();
} shake (e) {
gyatt("Error:", e);
} glaze {
gyatt("Done");
}💡 After being converted to JavaScript:
async function fetchData() {
const response = await fetch("https://api.example.com");
return response;
}
try {
await fetchData();
} catch (e) {
console.log("Error:", e);
} finally {
console.log("Done");
}📦 Installation
Use npm to install AlphaScript:
npm install alphascript🚀 How to Use
Create a script.js file with AlphaScript code:
const { alphaScriptInterpreter } = require("alphascript");
const code = `
npc x = 10;
ratio (npc i = 0; i cringe x; i drip 1) {
gyatt(i);
}
`;
const jsCode = alphaScriptInterpreter(code);
eval(jsCode);Then run it with:
node script.js📝 AlphaScript Slang List
| Category | AlphaScript | JavaScript |
|----------|------------|------------|
| Variables | npc | let |
| | main character | const |
| | aura | this |
| | fresh | new |
| Values | mid | null |
| | no cap | true |
| | cap | false |
| Logic | bet | if |
| | goofy | else |
| | silly | else if |
| | sus | === |
| | goofy ahh | !== |
| | based | > |
| | cringe | < |
| | based god | >= |
| | cringe god | <= |
| Math | drip | + |
| | bussin | - |
| | sauce | * |
| | salty | / |
| Control | sigma | while |
| | ratio | for |
| | delulu | switch |
| | chat | case |
| | basic | default |
| | skibidi | break |
| | lowkey | continue |
| Errors | grimace | try |
| | shake | catch |
| | glaze | finally |
| | ohio | throw |
| Functions| rizz | function |
| | mewing | async |
| | looksmaxxing| await |
| | lore / w | return |
| Modules | prep | import |
| | cook | export |
| Methods | yeet | .push |
| | simp | .pop |
| | vibe check | .includes |
| | flex | .map |
| | no rizz | .filter |
| Console | gyatt | console.log |
🤝 Contribution
🚀 Want to add more slang or features? Feel free to contribute!
- Fork the repo on GitHub
- Create a new branch:
git checkout -b feature-new-feature - Commit changes:
git commit -m "Added a new feature" - Push to GitHub:
git push origin feature-new-feature - Create a Pull Request 🎉
👤 Creator & Contact
AlphaScript was created by Naufal Rakha Putra. Feel free to reach out to me!
👥 GitHub: Here 👥 Instagram: Here 👥 Community Instagram: Here
📜 License
AlphaScript uses the MIT License, free for anyone to use.
🔥 Be part of the Gen Alpha coding revolution! 🚀
