Ferite

Ferite

infobox programming language
designer = Chris Ross
latest_release_version = 1.1.0pr
latest_release_date = 7 January 2006
operating_system = Cross-platform
paradigm = object-oriented
year = 2000
typing = Dynamic, weak (duck typing)
license = BSD License
website = http://ferite.org/
influenced_by = C, C++, Java, PHP, Python, Ruby, Scheme

Ferite is a small robust scripting language providing a straightforward application integration, the ability for the API to be extended very easily. The design goals of Ferite are to make a clean, cross-platform language which is easy to embed and easy to extend and provides support for existing and upcoming standards. [ [http://ferite.org/about.html The Ferite Programming Language ] ]

The main influences for Ferite are: Java for objects, C and PHP for functions, Scheme for closures, Ruby for block calling, and C++ for namespaces. Ferite also features a sane loose typing mechanism and a small set of Application programming interfaces (APIs). Overall Ferite should be considered a curly-brace language. [ [http://ferite.org The Ferite Programming Language ] ]

Examples

Basic "Hello World" program:

uses "console";Console.println( "Hello World" );

Using closures/lambda functions:

// Define some numbers:number x = 10, y = 15, z = 30;

// A closure to add those numbers:object o = closure { return x + y + z;};

// Use the closure:Console.println(o.invoke());

// Change the numbers:x = 5; y = 10; z = 5;

// Use the closure again:Console.println(o.invoke());

Iterating through an array:

Array.each( [ 1, 2, 3 ] ) using ( value ) { Console.println( value * 5 );};

These are just some of the beginners examples available. [http://pixelcarnage.com/Projects/Ferite/003/HTML/Documents/BeginnersExamples.html]

References

External links

* [http://ferite.org/ Ferite home page]
* [http://ferite.org/team.html The team behind ferite]
* [http://pixelcarnage.com/articles/ferite/love-after-php/ An introduction to Ferite]
* [http://pixelcarnage.com/articles/ferite/ferite-singletons/ Creating singleton classes in Ferite]
* [http://99-bottles-of-beer.net/language-ferite-1282.html Ferite at 99 Bottles of Beer]
* [http://blueronin.net/category/ferite/ Various Ferite articles]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Ferite — Apparu en 2000 Auteur Chris Ross Développeurs Chris Ross Dernière version stable …   Wikipédia en Français

  • ferito — fe·rì·to p.pass., agg., s.m. 1. p.pass. → ferire, ferirsi 2. agg., s.m. CO TS med. che, chi ha riportato una o più ferite: essere leggermente, gravemente ferito; i feriti gravi sono stati ricoverati, nell incidente ci sono stati morti e feriti |… …   Dizionario italiano

  • capsulă — CAPSÚLĂ, capsule, s.f. 1. Tip de fruct uscat, uneori divizat în mai multe loji şi având numeroase seminţe, care, la maturitate, se deschide de la sine, punând seminţele în libertate; măciucă (3), măciulie (2). 2. înveliş al unor organe şi… …   Dicționar Român

  • ferită — FERÍTĂ, ferite, s.f. Compus al unor metale bivalente cu oxizi de fier, având proprietăţi magnetice superioare şi conductibilitate electrică redusă. – Din fr. ferrite. Trimis de claudia, 13.09.2007. Sursa: DEX 98  ferítă s. f., pl. feríte Trimis… …   Dicționar Român

  • List of programming languages — Programming language lists Alphabetical Categorical Chronological Generational The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in… …   Wikipedia

  • Viareggio Prize — The Viareggio Literary Prize is a prestigious Italian literary award, started in 1930, and is named after the Tuscan city of Viareggio. It was conceived by three friends, Alberto Colantuoni, Carlo Salsa, and Leonida Repaci, to rival the Bagutta… …   Wikipedia

  • Mobile digital computer — Arizona in early 1960. This version had 6 Ferite Core Memory Stacks with each stack having 4,096 memory locations. The above mentions that the MoBiDic comprised two tractor trailers. One tractor trailer only housed the IBM 533 Card Reader and… …   Wikipedia

  • Translations of Gott erhalte Franz den Kaiser — Gott erhalte Franz den Kaiser ( God Save Emperor Franz ) is an anthem to the Austrian Emperor Francis II, set to music by Joseph Haydn, the anthem served as the national anthem of Austria Hungary. For full information on this anthem, see the main …   Wikipedia

  • Navajo Joe — Directed by Sergio Corbucci Produced by Luigi Carpentieri Ermanno Donati …   Wikipedia

  • No. 515 Squadron RAF — Official squadron crest of No. 515 Squadron RAF Active 1 Oct 1942 10 Jun 1945 Country …   Wikipedia

Share the article and excerpts

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