Machiek-Cayier / tiny-compiler

Tiny Compiler in plain Java. Covers examples for AST, JDT, ANTLR & JavaParser

Home Page:https://arjunsk.medium.com/build-a-tiny-compiler-in-java-662f67a1ce85

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codekrypt Compiler

This repo contains sub modules which helped me understand compilers better.

Project Modules

Compiler Examples

CK(Codekrypt) Compiler

This compiler was developed ground up as a part of learning. This is adapted from ANLR Examples module.

  1. CK Compiler src
  2. ASM Code Generation

SVG Compiler (needs review)

  1. Web App
  2. Medium Article

LISP Compiler (on hold)

Trying to port Tiny-Compiler to Java.

  1. Github

Parser Examples

ANTLR Examples

  1. Visitor
  2. Listener

Javaparser Example

  1. StackOverflow

JDT Example

Functions similar to what is provided by Eclipse IDE. (project, workspace, code)

  1. ProgramCreek

Trouble Shooting

  1. If the project is failing in the ANTLR Examples submodules, please build the project first using.
mvn clean install

About

Tiny Compiler in plain Java. Covers examples for AST, JDT, ANTLR & JavaParser

https://arjunsk.medium.com/build-a-tiny-compiler-in-java-662f67a1ce85

License:MIT License


Languages

Language:Java 98.9%Language:ANTLR 0.9%Language:ChucK 0.1%Language:Common Lisp 0.0%