Giter Club home page Giter Club logo

jawa's Introduction

A meme made by an unknown author. A hello world (witaj świecie) example program written in Jawa programming language.

(Unknown author)

Jawa

Jawa jest obiektowy język programowania. The Jawa programming language compiler was inspired by the meme above (author unknown).

Status

The compiler is incomplete and it contains a few ad-hoc solutions. However, WitajŚwiecie (HelloWorld) program can be compiled as well as the necessary standard library.

Code Example

publiczna klasa WitajŚwiecie {
    
    publiczny statyczny void głowny(Łańcuch[] args) {
        System.wyjście.wydrukovać("Witaj świecie");
    }
    
}

Compiling the Sources

$ mkdir build
$ cd build
$ cmake -DBISON_ROOT=<bison_install_dir> -DFLEX_ROOT=<flex_install_dir> ..

Jawa compiler:

$ make jawac

Jawa standard library:

$ make jawa_stdbib

Project Structure

jasm is a low-level library for JVM byte code manipulation.

jawa is a Jawa compiler implemented using jasm.

stdbib contains sources of the Jawa standard library (standardowa biblioteka).

editor contains plugins for supported code editors.

Compiling Jawa Programs

$ build/jawa/jawac --ścieżkaklasy .:stdbib test/WitajŚwiecie.jawa

Make sure you have compiled the standard library.

Running the Compiled Programs

You need to specify the standard library path and classpath:

$ java -Djava.library.path=build/stdbib -classpath stdbib:. WitajŚwiecie

References

jawa's People

Stargazers

 avatar  avatar  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.