Category:C0H: Difference between revisions

From Rosetta Code
Content added Content deleted
(Initial version)
 
(Initial language description)
Line 1: Line 1:
{{stub}}{{language}}
{{language
|exec=machine
|gc=no
|safety=unsafe
|parampass=value
|checking=static
|compat=nominative
|express=explicit
|strength=weak
|tags=c
|LCT=yes
|bnf=http://c.comsci.us/syntax/index.html}}{{language programming paradigm|Imperative}}{{Codepad}}[[derived from::B| ]]
'''C0H''' is a general-purpose, [[procedural programming|procedural]], [[imperative programming|imperative]] computer programming language, partially developed in 2011 by André van Delft. It is a small extension to the well known 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!

==Versions==
* version 0.99 existed for about 1 hour. 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!"

==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".

{{language programming paradigm|Imperative}}

Revision as of 23:27, 1 September 2011

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
Lang tag(s): c
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using C0H.
Try this language on Codepad.

C0H is a general-purpose, procedural, imperative computer programming language, partially developed in 2011 by André van Delft. It is a small extension to the well known 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!

Versions

  • version 0.99 existed for about 1 hour. 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!"

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.