Skip to content

lance2088/smallc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallC

A compiler for a subset of C.

Contents:

  • dev.clj Snippets for development and testing.
  • logback.xml Logback configuration file.
  • pom.xml Maven build file.
  • repl REPL launcher with the project's dependencies.
  • src Source directories.
  • target Build target.

src/test/resources

  • logback-test.xml Logback configuration file.
  • simple.c Test file used in JUnit tests.
  • smoke.c C file for testing the compiler.
  • Smoking.java Java class for consuming smoke.class.
  • interop_nnn.c C source test cases.

src/test/java/smallc/test

  • BaseParser.java
  • Declarations.java
  • Expressions.java
  • Functions.java
  • Interop.java
  • Statements.java

License

Copyright © 2013 Armando Blancas.

Licensed under the Eclipse Public License.

About

A simple C compiler for the JVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 64.7%
  • Clojure 22.8%
  • C 6.9%
  • GAP 4.9%
  • Shell 0.7%