Jump to content

Category:C0H

From Rosetta Code
(Redirected from C0H)
Language
C0H
This programming language may be used to instruct a computer to perform a task.
Execution method: Compiled (machine code)
Garbage collected: No
Parameter passing methods: By value
Type safety: Unsafe
Type strength: Weak
Type compatibility: Nominative
Type expression: Explicit
Type checking: Static


Listed below are all of the tasks on Rosetta Code which have been solved using C0H.

C0H is a general-purpose, procedural, imperative computer programming language, partially developed by André van Delft in 2011. It is a small extension to the well known compatible with::C programming language, allowing for the smallest "Hello World" program that one can think of.

The development of C0H has been inspired on the HQ9+ programming language, which accepts "H" in its source to print "Hello World!". However, HQ9+ is not a general purpose programming language; in fact it has very limited capabilities. C0H improves over HQ9+ by offering the full power of the C language; moreover, C0H offers a shorter path to writing a Hello World program: just create an empty file!

C0H has been followed up by C1R, a C extension aimed at short solutions for tasks that are implemented by C programs at RosettaCode.org.

Versions

  • version 0.99 existed for about 35 minutes. An empty input source file would result in a program printing "Hello World!".
  • version 1.00 quickly followed up version 0.99, after the creator of the language found out to his great surprise that the web site Rosetta Code required a "Hello World" program to print "Goodbye, World!"

Implementation

See C0H Implementation

Documentation

To get a reference document on C0H, it is advised to upgrade a reference document on the "C" programming language, and attach a Post-it note stating C0H is like C, except that an empty input file yields "Goodbye, World".

Subcategories

This category has the following 3 subcategories, out of 3 total.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.