Giter Club home page Giter Club logo

ail-lang's Introduction

AIL 1.2 Alpha 4

AIL badge python badge version badge license badge

AIL 是一门运行在 Python 虚拟机上的面向对象的编程语言。

Hello World

Hello World with one statement

print 'Hello World'

..or..

console.writeln('Hello World!')

Hello World in lambda

(() -> console.writeln('Hello World'))()

Hello World in function

func helloWorld() {
    print 'Hello World!'
}

helloWorld()

Hello World in anonymous function

(func () {
    print 'Hello World!'
})()

Hello World in class

class Hello {
    func helloWorld(self) {
        print 'Hello World!'
    }
}

Hello().helloWorld()

安装 AIL

运行 AIL 事先准备好的 setup.py 可以非常快速地在您的电脑上配置好 AIL。

python setup.py install

在终端中输入:

ail

Windows下应确保 {PYTHON_HOME}/Script/ 已添加到 PATH 中 Linux/Mac OS 下应确保当前用户的 bin 目录已添加到 PATH 中

若进入 AIL 的交互环境,则安装成功。

ail-lang's People

Contributors

laomobk avatar

Stargazers

BeanFlame (豆焰) avatar Cylix avatar  avatar  avatar

Watchers

James Cloos avatar  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.