Giter Site home page Giter Site logo

luapad's Introduction


Logo

LuaPad

An awesome online Lua sandbox

Report Bug Request Feature

Contributors Issues License

Table Of Contents

About The Project

Screen Shot

There are many online lua compiles online. But most of them use an outdated version of lua, are slow or are full of bugs.

So I created this online lua compiler: It runs on WASM, so you can run lua scripts instantly. No account required. Everything can be done without login. The source code is available, in case I abandon this project. It works on all mayor web browsers (expect for the clipboard in Firefox)

How to use it?

Go to https://coffeecupentertainment.com/static/luapad/luapad.html and just start coding. Press the play button to run your code.

The Lua state is preserved between runs. This allows you to use the console to interact with the state. You can download the code by pressing CTRL + S

Most common editor shortcuts work. If something you want is missing just open an issue on github.

Built With

This project could not have been made possible without the generosity of countless people who have provided me with the help I needed. Here are some of the most important projects that helped me:

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

Instructions for a web build:

  1. Clone the repo recursively
git clone --recurse-submodules https://github.com/xhighway999/luapad
cd luapad
  1. download and update emscripten
git clone https://github.com/emscripten-core/emsdk.git
source ./setupems.sh
  1. create a new build directory and run cmake
cd ../ && mkdir build *&& emcmake cmake ../
  1. Compile !
make -j 12

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.