Giter Site home page Giter Site logo

praetroian's Introduction

Praetorian Logo

Praetorian - Java to Machine Code Compiler

Praetorian is a project in development aiming to create a Java to machine code compiler. Currently in its nascent stage, it is not yet suitable for practical use. The primary objective is to devise a compiler capable of translating Java code directly into machine code, thereby eliminating the dependency on the Java Virtual Machine (JVM).

Similar to the 'javac' command which compiles Java code into bytecode, Praetorian will generate machine code instead of bytecode.

The main goal is to make Java compile into a bin file instead of just a class file.

Goals:

  • Develop a lexer
  • Implement a parser
  • Construct an Abstract Syntax Tree (AST)
  • Make a custom terminal
  • Make it attached to default OS terminal
  • Establish an intermediate representation
  • Produce comprehensive documentation
  • Ensure compatibility with multiple Java versions (JDK11-Current)
  • Enable compilation via command line and integration with external programs

If you want to look at the in depth goals. Look here

Getting Started

To initiate involvement with this project, the repository needs to be cloned followed by building the project. Written in C++, the project supports compilation using various methods. You can utilize Clang or GCC for compiling.

Contributors

Logan Abernathy Shabman

License

This project is licensed under the GNU General Public License v3.0. Refer to the LICENSE file for further details.

Copyright (c) 2024, Logan Abernathy. All rights reserved

praetroian's People

Contributors

m4ximumpizza avatar shabman avatar

Stargazers

arin avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shabman

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.