/toyscript

A small programing language for pythonian works on your browser.

Primary LanguageJavaScriptMIT LicenseMIT

toyscript

Build Status

A small experimental programing language for pythonian works on your browser.

Example

Here is a quick example.

<script type="text/javascript" src="toyscript.js"></script>
<script type="text/toyscript">
class Toy:
    constructor():
        this.name = 'Toy'
    hello():
        return "Hello there, I am {this.name}!"

console.log((new Toy()).hello())
</script>

License

Copyright (c) 2012-2016 Satoshi Okami. See the LICENSE file for license rights and limitations (MIT).