All Projects → Ryooooooga → nocc

Ryooooooga / nocc

Licence: MIT license
A LLVM based self-hosting C compiler

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to nocc

Checkedc
Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, a…
Stars: ✭ 2,692 (+12136.36%)
Mutual labels:  llvm
EffectiveSan
Runtime type and bounds-error checking for C/C++
Stars: ✭ 95 (+331.82%)
Mutual labels:  llvm
FastLua
Lua trace JIT compiler using LLVM-C
Stars: ✭ 22 (+0%)
Mutual labels:  llvm
Chigraph
A visual systems language for beginners compiled using LLVM
Stars: ✭ 247 (+1022.73%)
Mutual labels:  llvm
vicis
Manipulate LLVM-IR in Pure Rust
Stars: ✭ 194 (+781.82%)
Mutual labels:  llvm
Lesma
The Lesma Programming Language
Stars: ✭ 14 (-36.36%)
Mutual labels:  llvm
Rellic
Rellic produces goto-free C output from LLVM bitcode
Stars: ✭ 234 (+963.64%)
Mutual labels:  llvm
linux
Linux kernel source tree
Stars: ✭ 234 (+963.64%)
Mutual labels:  llvm
Kernel-Compile-Script
This is a collection of scripts aimed at streamlining the process of kernel compilation for improved efficiency and effectiveness.
Stars: ✭ 20 (-9.09%)
Mutual labels:  llvm
suicide
LLVM pass that detects one undefined behavior, and emits code to delete your hard drive
Stars: ✭ 33 (+50%)
Mutual labels:  llvm
Dr checker
DR.CHECKER : A Soundy Vulnerability Detection Tool for Linux Kernel Drivers
Stars: ✭ 251 (+1040.91%)
Mutual labels:  llvm
sbt-instrumentation
Configurable instrumentation of LLVM bitcode
Stars: ✭ 31 (+40.91%)
Mutual labels:  llvm
expressi
Expression-oriented toy programming language written in Rust
Stars: ✭ 17 (-22.73%)
Mutual labels:  llvm
Dg
[LLVM Static Slicer] Various program analyses, construction of dependence graphs and program slicing of LLVM bitcode.
Stars: ✭ 242 (+1000%)
Mutual labels:  llvm
TON-Compiler
Clang compiler for Free TON Virtual Machine
Stars: ✭ 56 (+154.55%)
Mutual labels:  llvm
Weld
High-performance runtime for data analytics applications
Stars: ✭ 2,709 (+12213.64%)
Mutual labels:  llvm
SCAF
A Speculation-Aware Collaborative Dependence Analysis Framework
Stars: ✭ 25 (+13.64%)
Mutual labels:  llvm
clangbuilder
Building Clang ♡ Utility and Environment
Stars: ✭ 101 (+359.09%)
Mutual labels:  llvm
neo-c
Yet another modern compiler. It is also C compiler. Using LLVM wih boehmGC
Stars: ✭ 72 (+227.27%)
Mutual labels:  llvm
NatsuLang
No description or website provided.
Stars: ✭ 96 (+336.36%)
Mutual labels:  llvm

nocc

A LLVM based self-hosting C compiler.

Environment

OS: macOS Mojave 10.14.4, Windows 10 (Msys2 Mingw64)

Compiler: clang 7.0.0, clang++ 7.0.0

LLVM: 7.0.0

Usage

$ ./nocc <filename>

Hot to build

$ make

Reference

nocc is inspired from @rui314's 8cc and 9cc.

Rui Ueyama, "低レイヤを知りたい人のための C コンパイラ作成入門": https://www.sigbus.info/compilerbook/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].