Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://www.google.com/search?q=c%20interpreter" rel="nofollow noreferrer">There are many</a> - if you narrow down the scope of your question we might be able to suggest some specific to your needs.</p> <p>A notable interpreter is "<a href="http://www.ddj.com/cpp/184402054" rel="nofollow noreferrer">Ch: A C/C++ Interpreter for Script Computing</a>" detailed in Dr. Dobbs: </p> <blockquote> <p>Ch is a complete C interpreter that supports all language features and standard libraries of the ISO C90 Standard, but extends C with many high-level features such as string type and computational arrays as first-class objects.</p> </blockquote> <p><a href="http://www.softintegration.com/products/chstandard/" rel="nofollow noreferrer">Ch standard is freeware</a> but not open source. Only Ch professional has the plotting capabilities and other features one might want.</p> <p>I've never looked at this before, but having a c interpreter on hand sounds very useful, and something I will likely add to my toolset. Thanks for the question!</p> <hr> <p>Edit:</p> <p>Just found out that one of my favorite compilers, <a href="http://bellard.org/tcc/" rel="nofollow noreferrer">TCC</a>, will execute C scripts:</p> <blockquote> <p>It also handles C script files (just add the shebang line "#!/usr/local/bin/tcc -run" to the first line of your C source code file on Linux to have it executed directly.</p> <p>TCC can read C source code from standard input when '-' is used in place of 'infile'. Example:</p> <pre><code>echo 'main(){puts("hello");}' | tcc -run - </code></pre> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload