All Projects → dbohdan → Compilers Targeting C

dbohdan / Compilers Targeting C

A list of compilers that can generate C code

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Compilers Targeting C

cs-resources
Curated Computer Science and Programming Resource Guide
Stars: ✭ 42 (-89.09%)
Mutual labels:  list, compilers
Jxpagelistview
高仿闲鱼、转转、京东、中央天气预报等主流APP列表底部分页滚动视图
Stars: ✭ 377 (-2.08%)
Mutual labels:  list
Awesome Newsletters
The best (weekly) newsletters
Stars: ✭ 335 (-12.99%)
Mutual labels:  list
Awesome Cmake
A curated list of awesome CMake resources, scripts, modules and examples.
Stars: ✭ 3,970 (+931.17%)
Mutual labels:  list
Como Lang Ng
como-lang-ng is now ana-lang, located at https://github.com/analang/ana
Stars: ✭ 342 (-11.17%)
Mutual labels:  compilers
Elm Companies
🌲 A list of companies using Elm in production.
Stars: ✭ 365 (-5.19%)
Mutual labels:  list
Awesome Command Line Apps
🐚 Use your terminal shell to do awesome things.
Stars: ✭ 3,572 (+827.79%)
Mutual labels:  list
Awesome Polymer
A collection of awesome Polymer resources.
Stars: ✭ 384 (-0.26%)
Mutual labels:  list
It Cfp List
List of Call For Papers for IT conferences
Stars: ✭ 375 (-2.6%)
Mutual labels:  list
Awesome Crypto Trading Bots
Awesome crypto trading bots
Stars: ✭ 337 (-12.47%)
Mutual labels:  list
Awesome Ipsum
A curated list of awesome lorem ipsum generators.
Stars: ✭ 345 (-10.39%)
Mutual labels:  list
Awesome Steam
😎 A curated list of packages and resources regarding Steam development
Stars: ✭ 342 (-11.17%)
Mutual labels:  list
Scrapers
A list of scrapers from around the web.
Stars: ✭ 366 (-4.94%)
Mutual labels:  list
Recycler View Divider
A library which configures a divider for a RecyclerView.
Stars: ✭ 338 (-12.21%)
Mutual labels:  list
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+5006.23%)
Mutual labels:  list
Promise Fun
Promise packages, patterns, chat, and tutorials
Stars: ✭ 3,779 (+881.56%)
Mutual labels:  list
Awesome Prolog
Curated list of Prolog packages and resources
Stars: ✭ 342 (-11.17%)
Mutual labels:  list
Text mining resources
Resources for learning about Text Mining and Natural Language Processing
Stars: ✭ 358 (-7.01%)
Mutual labels:  list
Awesome Npm
Awesome npm resources and tips
Stars: ✭ 3,894 (+911.43%)
Mutual labels:  list
Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+5320.78%)
Mutual labels:  list

Compilers targeting C

The following is a list of open source compilers that can generate C (or in some cases, C++) code.

Project name/link Language(s) supported Notes
ATS ATS
BaCon (Basic Converter) Basic
bc9Basic Basic Can generate C or C++ code. Runs only on Windows but can generate code for *nix. A fork of BCX that outputs valid ISO/ANSI C. Website archive.
Bigloo Scheme (R5RS)
Blech Blech A synchronous programming language for embedded reactive real-time-critical software.
bmx-ng BlitzMax A Monkey-derived BlitzMax to C transpiler.
Carp Carp A statically typed lisp, without a GC, for real-time applications.
Chapel Chapel
CHICKEN Scheme Scheme (R5RS)
Ciao Prolog
cito Ć A language for making portable libraries with a syntax like C#. Also targets Java, C#, JavaScript, ActionScript, Perl 5 and D.
CLiCC Common Lisp Compiles a large strict subset of Common Lisp + CLOS to C.
Critical Mass Modula-3 Modula-3
Cyclone Scheme (R7RS) Cheney on the M.T.A. with native threads.
Cython Python
Céu Céu
eC eC An object-oriented superset of C with modules and generics.
EiffelStudio Eiffel
Embeddable Common-Lisp ANSI Common Lisp
Emfrp Emfrp A pure functional reactive programming language for small-scale embedded systems.
Emgo Go Compiles a subset of Go for 32-bit microcontrollers through C.
Epic Epic
Esotope Brainfuck Compiler Brainfuck
Euphoria to C Translator Euphoria
f2c Fortran 77
Felix Felix Targets C++, not C.
FreeBASIC Basic
Futhark Futhark Purely functional data-parallel language generating OpenCL C
Gambit Scheme (R5RS)
GCL Common Lisp
Genie Genie
GHC Haskell C backend documentation page.
GnuCOBOL COBOL 2014 with extensions
Harbour xBase compatible with CA-Clipper
Haxe Haxe Has separate C++ and C targets
Idris Idris A pure functional programming language with dependent types.
Ivory Ivory A Haskell eDSL for safe systems programming.
jhc Haskell 98 The resulting code doesn't use a garbage collector.
Kit Kit A statically typed procedural language with manual MM, traits, pattern matching, and metaprogramming designed with game development in mind.
Language84 Language84
mbeddr mbeddr A set of languages for embedded software engineering.
matiec (unoffficial mirror) ST, IL, SFC (IEC 61131) A set of textual languages for PLC programming.
Mercury Mercury
MLton Standard ML
Monkey 2 Monkey 2 Targets C++, not C.
Mrustc Rust
NectarJS JavaScript The primary target is WebAssembly. How to compile to C.
Nim Nim Can generate C, C++ or Objective C code.
Nit Nit
NN-512 NN-512 graph language Generate C99 code for neural net inference.
Nuitka Python
OBNC Oberon
ocamlcc OCaml Compiles OCaml bytecode to C.
oi C with traits Compiles to code that can be directly used from plain C.
ooc ooc
OpenDylan Dylan
p2c Several Pascal dialects, including UCSD and Turbo Pascal; Modula-2. Can generate C or C++ code.
ParparVM Java bytecode Use for the Java to iOS portability part of the Codename One project.
perlcc Perl 5
purescript-native PureScript Targets C++, not C.
Py14 Python Targets C++, not C.
Pythran Python Targets C++, not C.
QuickJS JavaScript (ES2020) Compiles JavaScript to bytecode and embeds the bytecode in C.
Ragel Ragel Can generate C or C++ code. Compiles executable finite state machines from regular languages.
RPerl RPerl, a restricted subset of Perl. Targets C++, not C. Unrelated to RPython.
RPython RPython, a restricted subset of Python. Unrelated to RPerl.
Sather Sather
Scheme-to-C Scheme Example nanopass compiler
Seed7 Seed7
Shedskin Python Targets C++, not C.
SLua Lua
SystemTap SystemTap scripting language SystemTap compiles kernel modules for monitoring Linux systems.
ThinScript ThinScript A lower-level programming language inspired by TypeScript. ThinScript also compiles to JavaScript and WebAssembly.
ts2c JavaScript, TypeScript Compiles a subset of JavaScript/TypeScript (ES3) to readable C89.
TSP A typed subset of Tcl. An experimental JIT. Compiles procedures written in a statically typed subset of Tcl to C or Java to accelerate Tcl programs.
UbxBasic Basic Can generate C or C++ code. A fork of BCX that adds Linux support in addition to Windows. Uses Glib.
Ur/Web Ur/Web
V V A no-GC systems language with modern features like sum types and immutability by default.
Vala Vala
wasm2c WebAssembly Converts WASM files to C source and header.
wasmdec WebAssembly Converts WebAssembly binaries to C.
Zephir Zephir A language for writing PHP extensions.
ZZ ZZ (Drunk Octopus) A safe dialect of C for embedded systems inspired by Rust.

C macro languages

  • C-Mera, a simple source-to-source compiler that transforms s-expression notation to code in a C-family language.
  • LISP/c, a Common Lisp-based macrolanguage for C.

See also

  • Cello, a library for high-level programming in C.
  • Clue, an ANSI C compiler targeting high level languages (Lua, JavaScript, Perl 5, C, Java, Common Lisp).
  • LLVM C backend resurrected.
  • luastatic, a tool that builds standalone executables from Lua programs by embedding Lua code in C.

Contributing

Your contributions are welcome! Please submit a pull request or create an issue to add a new compiler to the list.

License

CC0

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].