|
|
|
Download Ch Standard Edition
|
|
Ch Standard Edition is FREEWARE.
|
Ch Standard Edition offers a very high-level language (VHLL)
environment for general-purpose computing.
An increasing number of
C/C++ libraries and software packages are supported in Ch.
Virtually any C programs can readily run in the Ch language environment
across different platforms without lengthy compile/link/execute/debug cycles.
Ch can also easily call functions in binary C/C++ libraries.
Ch for Windows
not only supports all MS-DOS commands
such as
dir, copy, move,
but also
includes
frequently used Unix utilities and
commands such as vi, ls, awk, sed,
vim with syntax highlighting for Ch, etc.
Ch Standard Edition turns Windows into a mini Unix system while
retaining all features of MS-DOS.
Ch is a C-compatible shell, while
csh is a C-like shell.
To leverage your C/C++ skills for shell programming, please
check here.
|
Below are two sample Ch scripts.
If the code runs in a Ch shell, or the file name has extension
.ch in Windows, #!/bin/ch can be removed.
|
#!/bin/ch
printf("Hello world!\n");
|
#!/bin/ch
#include <stdio.h>
int main() {
printf("Hello world!\n");
}
|
For 2D/3D
graphical plotting, scientific numerical computing and Ch IDE, please check
Ch Professional Edition.
Ch Standard Edition has the following major features
with over 8,000 C functions:
- A complete C interpreter supporting all features in
the ISO C90 Standard.
- Easy interface with C/C++ binary libraries using Ch SDK
- Wide characters in Addendum 1 for C90.
-
Ch supports more
new features added in
the latest ISO C99 Standard
than most
existing C compilers. Ch is the first implementation of
complex numbers,
variable length arrays (VLAs),
IEEE-754 floating-point arithmetic,
generic mathematical functions
in C99.
-
Many salient C++ features
including classes, objects and encapsulation for object-based programming
(Brain-damaging features are excluded).
- Complex IEEE floating-point arithmetic with complex metanumbers ComplexInf and ComplexNaN.
- Assumed-shape arrays for passing multi-dimensional arrays of different sizes to
the same argument of a function.
- Nested functions and nested classes
for modular programming.
- Interactive execution of C statements, perfect solution for classroom demos using a laptop.
- Interactive portable shell across different platforms.
- A very-high level language (VHLL) environment
for shell programming
to automate tasks and system administration.
- Safe Ch with built-in secure sandbox
and Ch applet for world-wide distributed network computing.
As a very high-level language at the source level, a Ch applet can be very small, but with very powerful capabilities. It is especially suitable for bandwidth sensitive devices such as handheld computers and
cellular phones.
-
Built-in string type with automatic memory
management
and advanced text processing capabilities for
shell programming and script computing.
- Adjustable array bounds, i.e., int a[1:10].
- Auto array bound checking.
- TCP/IP socket/WinSock for network computing.
- POSIX for portable scripting.
- Cross platform Unix utilities and commands
such as vi, ls, awk, sed, mv,rm, cp, find, grep,
vim with syntax highlighting for Ch, etc.
- A large number of Integrated Development Environment (IDE) support Ch. For example,
ChSciTE allows you to edit, parse, and run C, Ch and C++ code within the IDE with the user interface in over 30 local languages such as German, Chinese, and Korea.
- OpenGL toolkit
- GTK+ toolkit
- Windows toolkit on Windows
- X/Motif toolkit on Unix/Linux
- Common Gateway Interface (CGI)
- Open Database Connectivity (ODBC)
- An increasing number of third party products and user contributed code
|
|