Ch (computer programming)

Programming language environment


title: "Ch (computer programming)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["c-programming-language-family", "educational-programming-languages", "interpreters-(computing)", "pedagogic-integrated-development-environments"] description: "Programming language environment" topic_path: "technology/programming-languages" source: "https://en.wikipedia.org/wiki/Ch_(computer_programming)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Programming language environment ::

::data[format=table title="Infobox software"]

FieldValue
nameCH C/C++ interpreter
authorHarry H. Cheng
developerSoftIntegration, Inc.
released
latest release version8.0.0
latest release date
programming languageC
operating systemWindows, OS X, Linux, AIX, HP-UX, Solaris (SPARC and x86), QNX, FreeBSD
platformx86, SPARC
languageEnglish
genreIntegrated development environment
licenseProprietary software
Standard edition: freeware
Student edition: freeware for students
Professional edition: trialware for 30 days
website
::

| name = CH C/C++ interpreter | logo = | screenshot = | caption = | author = Harry H. Cheng | developer = SoftIntegration, Inc. | released = | latest release version = 8.0.0 | latest release date = | status = | programming language = C | operating system = Windows, OS X, Linux, AIX, HP-UX, Solaris (SPARC and x86), QNX, FreeBSD | platform = x86, SPARC | size = | language = English | genre = Integrated development environment | license = Proprietary software Standard edition: freeware Student edition: freeware for students Professional edition: trialware for 30 days | website =

CH is a proprietary cross-platform C and C++ interpreter and scripting language environment. It was designed by Harry Cheng as a scripting language for beginners to learn mathematics, computing, numerical analysis (numeric methods), and programming in C/C++. Ch is now developed and marketed by SoftIntegration, Inc.. Free versions include the student edition, and the non-commercial Professional Edition for Raspberry Pi.

CH can be embedded in C and C++ application programs. It has numerical computing and graphical plotting features. CH is combined of both shell and IDE. CH shell combines the features of common shell and C language. ChIDE provides quick code navigation and symbolic debugging. It is based on embedded CH, Scite, and Scintilla.

CH is written in C and runs on Windows, Linux, macOS, FreeBSD, AIX, Solaris, QNX, and HP-UX. It supports C90 and major C99 features, but it does not support the full set of C++ features. C99 complex number, IEEE 754 floating-point arithmetic, and variable-length array features were supported in CH before they became part of the C99 standard. An article published by Computer Reseller News (CRN) named CH as notable among C-based virtual machines for its functionality and the availability of third-party libraries.

CH has many tool kits that extend its functions. For example, the CH Mechanism Toolkit is used for design and analysis of commonly used mechanisms such as four-bar linkage, five-bar linkage, six-bar linkage, crank-slider mechanism, and cam-follower system. CH Control System Toolkit is used for the design, analysis, and modelling of continuous-time or discrete-time linear time-invariant (LTI) control systems. Both tool kits include the source code.

CH has been integrated into free C-STEM Studio, a platform for learning computing, science, technology, engineering, and mathematics (C-STEM) with robotics. C-STEM Studio is developed by the UC Davis Center for Integrated Computing and STEM Education, offering a curriculum for K-12 students.

CH supports LEGO Mindstorms NXT and EV3, Arduino, Linkbot, Finch Robot, RoboTalk and Raspberry Pi, Pi Zero, and ARM for robot programming and learning. ch robot ch finch It can also be embedded into the LabVIEW system design platform and development environment.

Features

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

C++ features available in CH include:

CH supports classes in C++ with added abilities, including:

  • Classes inside member functions
  • Nested functions with classes
  • Passing member function to argument of pointer-to-function type of functions

CH can interact with existing C/C++ libraries and call C/C++ functions from CH script. As a C/C++ interpreter, CH can be used as a scripting engine and extension language for applications. Pointers to arrays or variables can be passed and shared in both C-compiled and CH scripting contexts. One example of an embedded CH scripting application is Mobile-C, which has been used for collaborative visualization of distributed mesh model.

CH has a built-in string type (string_t) for automatic memory allocation and de-allocation. It supports shell aliases, history, and piping.

CH has built-in 2D/3D graphical plotting features and computational arrays for numerical computing. A 2D linear equation of the form b = Ax* can be written verbatim in Ch.

References

References

  1. Veeraraghavan, Sriranga. (2013). "An introduction to Ch: Implementing a temperature converter in Ch". ComputerWorld.
  2. [http://www.softintegration.com/docs/ch/shell/ Ch Shell]
  3. [http://www.softintegration.com/docs/ch/chide/ Ch IDE]
  4. Wang, Gary. (2002). "Ch Solves Portability Headaches". IEEE Spectrum.
  5. Cheng, Harry. (1993). "Handling of Complex Numbers in the Ch Programming Language". Scientific Programming.
  6. Cheng, Harry. (1993). "Scientific Computing in the Ch Programming Language". Scientific Programming.
  7. Cheng, Harry. (1995). "Extending C and FORTRAN for Design Automation". ASME Trans., Journal of Mechanical Design.
  8. Cheng, Harry. (March 2019). "Extending C with arrays of variable length". Computer Standards & Interfaces.
  9. Morejon, Mario. (2006). "Ch Language Rivals Java Functionality". CRN.
  10. Cheng, Harry. (2006). "Object-Oriented Interactive Mechanism Design and Analysis". [[Engineering with Computers]].
  11. Zhu, Yong. (2003). "An Object-Based Software Package for Interactive Control System Design and Analysis". Journal of Computing and Information Science in Engineering.
  12. [http://www.softintegration.com/company/press/ch_arm_raspberry_pi_released.htm ch raspberry and arm]{{Dead link. (June 2019)
  13. "Embedding a C/C++ Interpreter Ch into LabVIEW for Scripting".
  14. Wilson, Matthew. (2004). "Open-RJ and Ch".
  15. Cheng, Harry. (2009). "Speeding-Up Software Development Using Embedded Scripting".
  16. (2009). "2009 IEEE 10th International Conference on Computer-Aided Industrial Design & Conceptual Design". Computer-Aided Industrial Design & Conceptual Design, 2009. CAID & CD 2009. IEEE 10th International Conference.
  17. (2009). "An agent based collaborative simplification of 3D mesh model". CDVE'09 Proceedings of the 6th international conference on cooperative design, visualization, and engineering.
  18. Campbell, Matt. (2003). "Ch, A C/C++ Interpreter – New possibilities for people who like C and Unix". MACTECH, the journal of Apple technology.
  19. Cheng, Harry. (2010). "The Ch Language Environment". SoftIntegration, Inc..
  20. Glassborow, Francis. (2001). "The Ch Language Environment Version 2.0". C Vu Magazine.

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

c-programming-language-familyeducational-programming-languagesinterpreters-(computing)pedagogic-integrated-development-environments