Toy language

Toy language

----"For the toy language named TOY, see TOY (computer simulation)."----

A toy language is a term for a computer programming language that it not considered to fulfill the robustness or completeness requirement of a computer programming language. As such it is not considered a suitable language for creating solid and reliable programs for use in production environments.

Usually such a language is limited in one or several ways. By this, it is meant that one of its major limitations is its number of programming constructs or concepts supported. The language can still be complete in the eyes of the creator or its community of users. The grade of completeness in this context is related to real life use, as opposed to its mathematical completeness. Another typical limitation of toy languages is that they do not necessarily have a set of support libraries/functions/utilities that are considered a requirement for creating production quality programs.

A toy language has many uses. One such use is in computer languages research. Some uses are as frameworks for researching new programming constructs or as a prototype for new language concepts or paradigms. Another notable use is as a learning or demonstration tool, e.g. in universities, for programming constructs and techniques not available in main stream languages. As such there is a considerable amount of personal feelings for the language by both its opponents and proponents.

As an example, many would argue that the Scheme programming language is a toy language, as it is mostly used in academia. A view that many share is that even though it is complete in its own right, it has limited capability in real life projects. As such, other languages with similar properties but extended capabilities are preferred, such as Lisp. Another, somewhat similar example, is the Lava programming language, which is purely experimental.

Distinguishing Features of Toy Languages

While it is not always readily obvious whether a programming language is a toy language, there is at least one criterion that is generally applied: if a compiler or interpreter for the language can be written in the language, it's no longer a toy. This is not always the final word however: it is trivial to write a compiler for Scheme in Scheme (considered by some a toy language), while Perl (considered by many a non-toy language) is (so far) still written in C.

Another test for a language to be considered not a toy is for the language to be powerful enough to implement an operating system. Whether this means that all purely interpreted or virtual machine languages are toys is left as an exercise for the reader.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Toy Story — Données clés Titre québécois Histoire de jouets …   Wikipédia en Français

  • Toy Group — is the name of a breed Group of dogs, used by kennel clubs to classify a defined collection of dog breeds. Toy Group does not necessarily refer to one particular type of dog. Most major English language kennel clubs include a Toy Group although… …   Wikipedia

  • Toy programs — are simplistic programs, typically written by novice programmers, that allow the programmer to gain a feel for the language they re working with. Toy programs are generally of little practical use, although the concepts implemented may be useful… …   Wikipedia

  • Toy Story 3 — This article is about the film. For the game based on the film, see Toy Story 3: The Video Game. Toy Story 3 Theatrical release poster …   Wikipedia

  • Toy Story — Infobox Film name = Toy Story caption = Promotional poster for Toy Story director = John Lasseter producer = Bonnie Arnold Ralph Guggenheim Ed Catmull Steve Jobs writer = Story: John Lasseter Pete Docter Andrew Stanton Joe Ranft Screenplay: Joss… …   Wikipedia

  • Toy — This article is about playthings. For other uses of the term, see Toy (disambiguation). A toy is an object used in play. Toys are usually associated with children and pets, but it is not unusual for adult humans and some non domesticated animals… …   Wikipedia

  • Toy Story 2 — Infobox Film name = Toy Story 2 caption = Toy Story 2 movie poster director = John Lasseter Ash Brannon Lee Unkrich producer = Karen Robert Jackson John Lasseter Helene Plotkin writer = Story: John Lasseter Pete Docter Ash Brannon Andrew Stanton… …   Wikipedia

  • Language poets — The Language poets (or L=A=N=G=U=A=G=E poets, after the magazine that bears that name) are an avant garde group or tendency in United States poetry that emerged in the late 1960s and early 1970s. In developing their poetics, members of the… …   Wikipedia

  • Toy (disambiguation) — A toy is an object used in play.Toy may also refer to:*Dog toy, a toy for dogs to play with *Toy dog, one of many very small breeds of dog *Toy (chewing gum), a popular Swedish chewing gum *Sex toy, a sexually used item *Small metal goods… …   Wikipedia

  • Toy Porno — Infobox Film name = Toy Porno image size = caption = director = producer = writer = narrator = starring = Dennis Flemion Jimmy Flemion music = The Frogs cinematography = editing = distributor = Self released released = circa 1993 runtime = 122:00 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”