Giter Site home page Giter Site logo

pouvoir's Introduction

Pouvoir

插件永久免费


插件

说明 内容
兼容版本 1.9+
软依赖 PlaceholderAPI Mythicmobs

介绍

Pouvoir 是基于 TabooLib VI 编写的一款类库插件 其包括但不限于以下模块/功能:


对于一些可扩展API,Pouvoir 提供了脚本拓展 并使用脚本注解进行自动注册注销

详细请见WIKI

Asahi 前缀解释器拓展 (Asahi Prefix Parser Extension)

//@AsahiPrefix(-name example)
function example(lexer) {
    var numberQuester = lexer.questDouble()
    return result(function (context) {
        var number = numberQuester.get(context)
        print(number)
        return number
    })
}

亦或者

@AsahiPrefix(["print", "info"], "lang")
fun info() = prefixParser {
        //开始此函数的"编译"(parse)
        val content = quest<Any>()  //寻求一个任意类型对象
        // result里是执行函数时,要干的事情
        result {
            content.get().also {
                //打印它
                println(it)
            }
        }
    }

使用:

 println("example 114.514".asahi())

打印: 114.514

Links

WIKI http://blog.skillw.com/#sort=pouvoir&doc=README.md

JavaDoc http://doc.skillw.com/pouvoir/

MCBBS https://www.mcbbs.net/thread-1221977-1-1.html

爱发电 https://afdian.net/@glom_

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.