Giter Site home page Giter Site logo

luir's Introduction

πŸŒ™ Luir

πŸ“š About

Luir is a Lua programming language interpreter written in Rust. It leverages Rust's performance and safety features to provide a robust and efficient interpreter for Lua scripts.

✨ Features

  • πŸ¦€ Rust-Powered: Utilizes Rust for high performance and safety.
  • πŸ“œ Lua Compatibility: Fully compatible with Lua syntax and semantics.
  • πŸ”— Simple Integration: Easy to integrate into existing Rust/C projects.

πŸ› οΈ Getting Started

  1. Clone the repository:
git clone https://github.com/luki446/luir
  1. Build the project:
cargo build --release
  1. Run the interpreter on example Lua scripts:
cargo run --release -- ./example.lua
  1. Install the interpreter locally as drop-in replacement for lua:
cargo install --path .

πŸ“… Roadmap to v1.0.0

Release v1.0.0 will mark the first stable complete-ish release of Luir. The following features are planned to be implemented before the release:

  • Basic Lua expression parsing and lexing.
  • Basic Lua statement parsing and lexing.
  • Calling native (Rust implemented) functions from Lua.
  • If statement.
  • Local variable scoping.
  • While loop
  • For loop.
  • Repeat-until loop.
  • Tables and pseudo-OOP.
  • Function definitions.
  • Closures support.
  • More standard Lua library functions.
  • REPL mode.
  • Error handling and reporting.

πŸ“ License

This project is licensed under the BSD 3-Clause License

luir's People

Contributors

luki446 avatar

Stargazers

JΓΆrg Singer avatar Andrew Prentice avatar  avatar  avatar Andrew Johnson 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.