Skip to content

Instant (simple expressions and assignments language) to jvm/llvm compiler.

Notifications You must be signed in to change notification settings

dawid-w/Instant-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instant Compiler

Instant to jvm/llvm compiler.

Usage:

make                            # build
./insc_jvm program.ins          # Creates program.j and program.class files
./insc_llvm program.ins         # Creates program.ll and program.bc files

Project structure:

  • lib
  • src
    • InstantParser - Parser module, generated with BNFC
    • JVMCompiler.hs - JVM Compiler module
    • LLVMCompiler.hs - LLVM Compiler module
    • jvm.hs - JVM Compiler main file
    • llvm.hs - LLVM Compiler main file
    • Makefile
  • Makefile

Dependencies

Compiler uses BNFC to generate Instant parser and Jasmin for converting assembler-like java class to binary Java class files

About

Instant (simple expressions and assignments language) to jvm/llvm compiler.

Topics

Resources

Stars

Watchers

Forks