Skip to content
/ Nua Public

A production-ready implementation of the Lua-C Librairy

License

Notifications You must be signed in to change notification settings

MaxFork/Nua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUA-LANG

N U A - L A N G

A Production ready implementation of the Lua C Librairy

Netlify Status

Nua is a language with the following goals:

  • Virtual Machine

    • C VM transpiled to node.js for web-commitment
    • Small but compact byte-code interpreter (similar to LuaJIT - Joff)
    • Much more speed than the Lua-C
  • Syntax

    • Using couroutines
    • Lightweight fibers
    • nil value
  • Api

    • Js-api similar to the LuaC-api
    • Useful rest-api

    Sounds great? So get started. You even can try it out in your Browser.

    Medium: article

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The Nua language is built on top of node.js so simply do install the deps from npm:

npm install -g nua-node-cli
npm install nua-node-cli
npm install -g nua-test
npm install nua-test
npm init

Installing

To keep up with clean deps simply do:

npm install && npm init

Cli options

To fire up an Interactive Interpreter Mode do so:

$ nua

To run external .Nua scripts please type:

$ nua <script.nua>

Show the current version of Nua using this command:

nua -v

You want to learn the Nua lang? So fire up the official syntax guide on Nua.io

Running the tests

The test section for Nua is written itselfes in Nua!

Nua

Run these commands in your local shell.

npm run nua-test

Nua-C

npm run nuac-test

Built With

  • Dropwizard - The web framework used
  • Maven - Dependency Management
  • ROME - Used to generate RSS Feeds

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Timo Sarkar - Nua

  • Max Base - Nua

  • Daniel - Nua

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

work in progress

  • Book for Nua
  • Blog
  • better Modules
  • Rewrite Nua.io in Nua

About

A production-ready implementation of the Lua-C Librairy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published