Giter VIP home page Giter VIP logo

lukyt's Introduction

Lukyt

Lukyt is a toy project, a small JVM made in Lua supporting Java 6. The most important reason i made it (other than being a toy project) was to run it on the OpenComputers mod. I am currently porting AWT to it to use Java software on OpenComputers.

This also supports a OpenComputers Java API shared with OCJ (link to come, will be released by @TYKUHN2), this way programs are compatible for both way of running Java on OC, its javadoc is available on my website, Lukyt also have a Lua interop, which also haves a javadoc.

Note that unlike Luje, this is aimed towards features: OC and Lua interoptability.

Roadmap

How to use?

The JVM itself can be used by any program and is independent from the command-line program.

The command line program allows to execute classes.

To launch the HelloWorld test, just do:

lua lukyt.lua --classpath=test HelloWorld

Examples

Here is an example of the OC integration:

import cil.li.oc.Components;
import cil.li.oc.proxies.GPUProxy;

public class ComponentTest {

	public static void main(String[] args) {
		GPUProxy gpu = Components.getPrimary("gpu");
		gpu.setBackground(0x2D2D2D);
		gpu.fill(1, 1, 160, 50, ' ');
		System.out.println("Filled screen with color 0x2D2D2D");
	}

}

lukyt's People

Contributors

atomicscience avatar zenith391 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lukyt's Issues

OpenPrograms?

Is this getting added to open programs package?
(OPPM)? It would be easier to install, Awesome "software" by the way!

better usefull

is possible creating a embeded lua directly in C program?

for example my java program convert to lua jvm and embeded to C program and run without any library

Question

Do I do a nornal Java compile? Or do u have son special compiler? And how do I add it to my computet?

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.