Skip to content

Instantly share code, notes, and snippets.

View kickroot's full-sized avatar

Jason Nichols kickroot

View GitHub Profile
@kickroot
kickroot / pom.xml
Created April 7, 2014 18:32
Adding headlines to your project
<dependency>
<groupId>com.sourceclear.headlines</groupId>
<artifactId>complete</artifactId>
<version>0.1.6</version>
</dependency>
@kickroot
kickroot / gist:5f7751b433684727ce00
Last active August 29, 2015 14:12
Zhi's Coding Challenge
Build a Interpreter and Compiler for Arithmetic Expressions using ANTLR3
Include operators +,-,* and / with usual mathematical precedence, brackets - “(“ and “)”
and constants that are all integers
- Build an ANTLR3 grammar for the expressions
- Generate AST
- Build an interpreter to evaluate expressions
- Add a rule to check for "division by zero"
- Build a compiler to Java bytecode (Bonus)