GithubHelp home page GithubHelp logo

tradaul's Introduction

[WIP] Tradaul

Tradaul is an implementation of Lua as library in Dart.

Features

  • Based on Lua 5.4
  • Define Lua Functions and Modules in Dart: Offers the flexibility to define custom Lua functions and modules directly in Dart
  • Customizable Standard Input/Output: Allows customization of standard input and output sources, providing flexibility for various use cases
  • Security Options: Implement security options to restrict the functionality of the processing system and prevent operations that could unintentionally affect the behavior of the application

Compatibility

This implementation is based on Lua 5.4 with the following compatibility details:

  • Integer Size: 64-bit
  • Floating-Point Numbers: 64-bit; rounding depends on Dart's handling
  • Maximum Depth for Long Comments and Strings: Limited to 10
  • Garbage Collection Operations: Not supported
    • collectgarbage has no effect
    • The __gc metamethod is not supported
  • C API: Not supported
  • Weak Reference Tables: Not supported
    • The __mode metamethod is not supported
  • Bytecode Compatibility: Not compatible with standard Lua

API Implementation Status

See API_STATUS.md

Installation

To install the Tradaul library, add the following dependency to your pubspec.yaml file:

dependencies:
  tradaul:
    git:
      url: https://github.com/szktty/tradaul

Running as a Standalone

For the purpose of testing and verification, the library can be run in a standalone mode. It's important to note that this mode is not intended for actual production use.

To build the standalone version, use the following command:

make cli

This will compile the library and output the binary to bin/tradaul. You can then execute this binary to run the library in a standalone mode for testing and development purposes.

Usage

See USAGE.md

Examples

See examples. playground requires Flutter.

License

Apache 2.0

Author

SUZUKI Tetsuya [email protected]

tradaul's People

Contributors

szktty avatar

Watchers

 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.