8000 GitHub - aj-michael/minijavac at 0.0.4
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aj-michael/minijavac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minijavac

Build Status Code Coverage MIT licensed GitHub release

A Java compiler for a worse version of Java.

Installation/Release instructions

To install, download and unzip the most recent release. Add export PATH="$PATH:/path/to/minijavac-x.y.z/bin" to your bashrc or set the equivalent Windows environment variable.

To build a new release, use gradle distZip or gradle distTar.

Running instructions

Minijavac has three commands: lex, parse and typecheck. Each takes exactly one file and writes to standard out.

$ minijavac
usage: minijavac <command> [<args>]

The most commonly used minijavac commands are:
    lex         Lexical analysis of Minijava program
    parse       Parse Minijava program
    typecheck   Typecheck Minijava program

See 'minijavac help <command>' for more information on a specific command.

Development build instructions

Build with gradle build. Generate the lexer and parser with gradle generate. Run tests with gradle test. Build an executable jar with gradle build. Run the jar with java -jar build/libs/minijavac-x.y.z.jar sample_inputs/testfile1.java.

About

A shitty java compiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0