Coder Social home page Coder Social logo

haxe-pocketmine's Introduction

haxe pocketmine

Haxe extern definitions for the pocketmine core.

About

A bunch of extern definitions for pocketmines core API. Nothing is fully tested and it is subject to break without warning. Feel free to contribute your changes to make the library more stable & complete.

Installation

Make sure you're running a build php that has all the php extensions for running pocketmine, then:

Install the library for your dev env:

$ haxelib install haxe-pocketmine

Add library to your build files:

--library haxe-pocketmine

Issues

Found a problem with this project? Make sure to open an issue on the issue tracker and we'll get it sorted!

The content of this repo is licensed under the Unlicense. A full copy of the license is available here.

haxe-pocketmine's People

Contributors

jacknoordhuis avatar

Watchers

 avatar  avatar

haxe-pocketmine's Issues

Generated PHP files always have native type hints stripped

Currently, haxe always strips the PHP native type hints and generates phpdoc. This is undesirable due to the pocketmine API requiring native type hints for some classes and methods.

We will need a macro of some sort for telling the haxe transpiler which extern methods should retain their native php type hints. Without this, it is impossible to write direct externs for the pocketmine source and a weakly typed wrapper would be needed.

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.