C

Jul 20, 2023

Tool to compile and run C programs like a shell script

Tool to compile and run C programs like a shell script.

First of all, this is not the same as tcc. TCC is a compiler. TCC will perform its own set of optimizations, just as GCC will perform its own and Clang will perform its own. The purpose of this script is to give a simple front-end to a compiler.

Whether it’s GCC, Clang, or something else entirely, one can get to choose their compiler. It’s simply satisfying to type c hello.c and see it run instantly.

C is fast. Being able to write a small, fast, and portable C “script” is great. One can pass around a C “script” just like s/he would a BASH script.



Checkout these related ports:
  • Zig - Language designed for robustness, optimality, and maintainability
  • Zephir - Zephir is a transpiled language used for creating C-extensions for PHP
  • Ypsilon - Scheme implementation for real-time applications
  • Yorick - Interpreted language for scientific simulations
  • Yap - High-performance Prolog compiler
  • Yap-devel - High-performance Prolog compiler
  • Yabasic - Yet another Basic for Unix and Windows
  • Voc - Vishap Oberon Compiler for Oberon-2
  • Vala - Programming language and compiler that converts Vala code into C code
  • V8 - Open source JavaScript engine by Google
  • V8-beta - Open source JavaScript engine by Google
  • V - V Programming Language
  • Urweb - Ultimate host for embedded domain-specific languages
  • Ucc - C Compiler Which Implements the ANSI C89 Standard
  • Twelf - Meta-logical framework for deductive systems