Install it!
# Linux/Maccurl -fsSL https://stumbdev.github.io/basktt/install | bash# Windowspowershell -c "irm https://stumbdev.github.io/basktt/install.ps1" | iex"Install it!
# Linux/Maccurl -fsSL https://stumbdev.github.io/basktt/install | bash# Windowspowershell -c "irm https://stumbdev.github.io/basktt/install.ps1" | iex"Types
Type-Based programming
// this is a Typescript implemented exampleimport * as basktt from '@basktt/langlib';const basktt = new Code(null);function Main() {// main functionCode.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 implementedimport * 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.