FACTOID # 106: Americans are 15% more innovative than the Japanese. But in percentage terms, the Japanese grant 3.5 times more patents.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Ch interpreter
Jump to: navigation, search

Ch, pronounced as C H, is an embedded C/C++ interpreter. It extends C and C++ for scripting capability, numerical computing and cross platform 2D/3D plottings. The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a standardized imperative computer programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the... C++ (pronounced see plus plus, IPA: /siː pləs pləs/) is a general-purpose computer programming language. ...

Contents


Features

C/C++ compatible interpreter

Ch supports 1999 ISO C Standard (C99) and C++ classes. It is superset of C with C++ class. C99 major features such as complex numbers, variable length arrays (VLAs), IEEE-754 floating-point arithmetic, generic mathematical functions in C99 are suppported. Wide characters in Addendum 1 for C90 is also supported.


Embeddable scripting

As a C/C++ interpreter, it is a nice fit as an embedded scripting engine for C/C++ applications.


Shell programming and cross-platform scripting

Ch is a C-compatible shell similar as C-shell (csh). It can be used as login shell as well. Ch has a built-in string type for auto memory allocation and de-allocation. It makes scripting easier.


2D/3D plotting and numerical computing

Ch has built-in 2D/3D graphical plotting features and computational arrays for numerical computing. Linear system equation b = A*x can be written verbatim in Ch.


Examples

"Hello, world!" in Ch

There are two ways to run Ch code. One is:

 #!/bin/ch printf("Hello world!n"); 

Another is:

 #!/bin/ch #include <stdio.h> int main() { printf("Hello world!n"); } 

Numerical computing in Ch

2D/3D plotting in Ch

References

External links


  Results from FactBites:
 
CH - Wikipedia, the free encyclopedia (145 words)
Ch (digraph), considered a single letter in several Latin-alphabet languages
Ch interpreter, an interpreted superset of the C programming language
This page expands and disambiguates a two-letter combination which might be an abbreviation, an English word, a word in another language, any or all of these.
Interpreted language - Wikipedia, the free encyclopedia (433 words)
In computer programming, an interpreted language is a programming language whose programs may be executed from source form, by an interpreter.
Initially, interpreted languages were compiled line-by-line; that is, each line was compiled as it was about to be executed, and if a loop or subroutine caused certain lines to be executed multiple times, they would be recompiled every time.
In this case, a compiler may output some form of bytecode, which is then executed by a bytecode interpreter.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m