Code Monkey home page Code Monkey logo

aiscript's Introduction

AiScript

Test codecov

AiScript is a lightweight scripting language that runs on JavaScript.

Play online ▶

Read translated version (en)

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

  • 配列、オブジェクト、関数等をファーストクラスでサポート
  • 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

aiscript's People

Contributors

syuilo avatar finearchs avatar salano-ym avatar marihachi avatar dependabot[bot] avatar ikasoba avatar uzmoi avatar cwd-k2 avatar sopisoft avatar tsukimizake avatar leadrdrk avatar takejohn avatar minecake147e avatar arakur avatar akr2002 avatar sayamame-beans avatar angristan avatar futchitwo avatar nakasyou avatar tai-cha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.