Ferite
{{Expansion depth limit exceeded| left =
| #default = }}
{{Expansion depth limit exceeded| {{{Expansion depth limit exceeded}}}
| [[File:{{Expansion depth limit exceeded| speedy = Ambox speedy deletion.png
| delete = Ambox deletion.png
| content = Ambox content.png
| style = Edit-clear.svg
| move = Ambox move.png
| protection = Ambox protection.png
| notice
| #default = Ambox notice.png
}} | {{Expansion depth limit exceeded| left = 20x20px
| #default = 40x40px
}} |link=|alt=]]
}}{{Expansion depth limit exceeded| left =
| #default = |
{{{Expansion depth limit exceeded}}} |
[[Category:{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}}|{{{Expansion depth limit exceeded}}}}}]]
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.[1]
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.[2]
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.[3]
References
External links
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...