370c4feba0
Approved by: portmgr (blanket)
16 lines
651 B
Plaintext
16 lines
651 B
Plaintext
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 preform
|
|
its own set of optimizations, just as GCC will preform its own and Clang will
|
|
preform 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.
|
|
|
|
WWW: https://github.com/ryanmjacobs/c
|