Skip to content

Basktt

👨‍💻The Type-based👨‍💻🚀Fast🚀💻Multiplataform📱 📜Programming language📜

Basics

Install it!

Terminal window
# Linux/Mac
curl -fsSL https://stumbdev.github.io/basktt/install | bash
Terminal window
# Windows
powershell -c "irm https://stumbdev.github.io/basktt/install.ps1" | iex"

Types

Type-Based programming

// this is a Typescript implemented example
import * as basktt from '@basktt/langlib';
const basktt = new Code(null);
function Main() {
// main function
Code.ball(Set.var(name === `
"Miguel",
"Johnny",
`));
Code.ball(text("Hello, ${name}!"));
Code.ball(return(null));
Code.ball(if(name === "Miguel") {
ball.text("Hello, " + $name + "!");
});
Code.ball(if(name === "Johnny") {
ball.do(null);
});
}

Modules

Module compatible New

// typescript implemented
import * as basktt from "@basktt/langlib";
const basktt = new Code(null);
function Main() {
Code.ball(import("man" from "bask"));
Code.ball(do(null));
}

Learn even more!

Learn more in the Docs.