Category:Programming Languages: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
'''Note:''' Because this category is used for automated administration, it should contain only categories that represent individual languages, not groups of languages. |
'''Note:''' Because this category is used for automated administration, it should contain only categories that represent individual languages, not groups of languages. |
||
Here is a sample sorting program. |
|||
<lang CafeOB> |
|||
mod! SORTING-NAT { |
|||
pr(NAT) |
|||
[Nat < Strg ] |
|||
-- Simple list structure |
|||
op nil : -> Strg |
|||
op _._ : Strg Strg -> Strg { assoc id: nil } |
|||
vars N N' : Nat |
|||
-- A very short sorting program using transitions in POA logic, which is a type of rewrite logic |
|||
ctrans [swap] : (N . N') => (N' . N) if N' <= N . |
|||
} |
|||
**> Sorting natural numbers using exec command |
|||
open SORTING-NAT |
|||
exec (3 . 2 . 1) . |
|||
**> Sorting natural numbers using search command |
|||
**> we can use (show path N) with this command, where N is the nuber of possible states. |
|||
red (3 . 2 . 1) =(1,1)=>* (1 . 2 . 3) . |
|||
red (3 . 2 . 1) =(1,2)=>* (1 . 2 . 3) . |
|||
red (3 . 2 . 1) =(1,3)=>* (1 . 2 . 3) . |
|||
**> search for any number of solutions at any depth |
|||
red (3 . 2 . 1) =(*,*)=>* (1 . 2 . 3) . |
|||
**> print the transitions from initial to goal state |
|||
show path 5 |
|||
eof |
|||
</lang> |
Revision as of 11:11, 13 October 2013
A programming language is a symbolic representation of a specification for computer behavior.
A side-by-side comparison of many of the languages on Rosetta Code can be seen here.
These are the programming languages that are mentioned throughout Rosetta Code. If you know a language not listed here then suggest or add it.
Note: Because this category is used for automated administration, it should contain only categories that represent individual languages, not groups of languages.
Subcategories
This category has the following 200 subcategories, out of 939 total.
(previous page) (next page).
0
- 0815 (16 P)
3
4
6
8
- 8051 Assembly (9 P)
- 8th (91 P)
A
- AArch64 Assembly (209 P)
- ABC (47 P)
- Acurity Architect (3 P)
- AHDL (empty)
- ALGOL-M (53 P)
- Amazing Hopper (124 P)
- AmigaBASIC (13 P)
- AngelScript (2 P)
- ANTLR (6 P)
- Anyways (1 P)
- App Inventor (10 P)
- Apricot (1 P)
- Aquarius BASIC (1 P)
- Arc (15 P)
- Arendelle (11 P)
- ArnoldC (12 P)
- AsciiDots (10 P)
- ASIC (23 P)
- AssemblyScript (empty)
- Astro (23 P)
- Atari BASIC (6 P)
- Autohotkey V2 (empty)
- AutoHotKey V2 (1 P)
- AutoLISP (1 P)
- Avail (27 P)
- Axiom (14 P)
- Ayrch (empty)
B
- B4J (1 P)
- B4X (4 P)
- Babel (37 P)
- BabyCobol (6 P)
- Bait (9 P)
- Ballerina (2 P)
- Bas (1 P)
- Batari Basic (1 P)
- Battlestar (3 P)
- Beads (17 P)
- Beef (12 P)
- Binary Lambda Calculus (50 P)
- Bird (2 P)
- Blade (5 P)
- BLISS (empty)
- BlooP (4 P)
- Blz (10 P)
- BML (3 P)
- BootBASIC (11 P)
- Bori (4 P)
- Bruijn (38 P)
C
- C2 (1 P)
- C3 (16 P)
- CafeOBJ (3 P)
- Cduce (2 P)
- Ceylon (94 P)
- CFEngine (7 P)
- Chapel (44 P)
- Cherrycake (3 P)
- Chipmunk Basic (188 P)
- ChucK (19 P)
- Cind (4 P)
- Clarion (1 P)
- Clio (8 P)
- Coco (11 P)
- Coconut (1 P)
- Comal (36 P)
- Comefrom0x10 (6 P)
- Computer/zero Assembly (17 P)
- ContextFree (3 P)
- Corescript (4 P)
- Cowgol (168 P)
- Craft Basic (72 P)
- Creative Basic (11 P)
- Crystal (248 P)
- Cubescript (4 P)
- Curto (3 P)