aiscript-dev / aiscript

🔋 A lightweight scripting language runing on JavaScript
https://aiscript-dev.github.io/aiscript/
MIT License
191 stars 34 forks source link
language

AiScript

Test codecov

AiScript is a lightweight scripting language that runs on JavaScript.

Play online ▶

Read translated version (en)

AiScriptは、JavaScript上で動作する軽量スクリプト言語です。

このリポジトリには、JavaScriptで実装されたパーサーと処理系が含まれます。

Getting started (language)

See here

Getting started (host implementation)

todo

Example programs

Hello world

<: "Hello, world!"

Fizz Buzz

for (let i, 100) {
  <: if (i % 15 == 0) "FizzBuzz"
    elif (i % 3 == 0) "Fizz"
    elif (i % 5 == 0) "Buzz"
    else i
}

License

MIT