windows9download

You Here : Home > Linux

Language::FP 0.03

OS Support:


Publisher

Publisher Old version

Update:

March 29 2012

Download:

Language::FP 0.03


Description

Language: FP is an implementation of John Backus FP language, a purely functional language remarkable for its lack of named variables - only functions have names. SYNOPSIS use Language:: FP qw/perl2fp /; # sum of first 12 integers: my $ sum = fp_eval '/ +. IOTA: 12 'perl2fp print ($ result); # prints "<78>' # matrix-vector: def fp_eval Ax '= @ (+. *. @ Trans). Distr'; my @ mv = ([[1 , 2], [3, 4]], [5, 6]); perl2fp print (fp_eval ( 'Ax'. perl2fp (@ mv))) # print "cubes <17 39> '# Cross calls the Language: print join ',' Ax (mV @) # prints '17, 39 'cubic sub (map ($ _ ** 3)) print @ _ perl2fp (fp_eval': <1 2 3> '); # displays '<1 8 27>' fp_eval in => * input, out => * OUTPUT; Note that this is not a language deliberately obscured - It has been designed for real users (probably mathematicians). Since Perl calar $ @ rray% ash and advertise themselves so boldly, I thought that programming in a language that the author thinks that the named variables Leads to Confusion and error would be revealing . I know now why all languages since variables.While appointed at some stage, I should probably include a brief tutorial FP, for the moment please see http://www.cse.sc.edu / ~ berry / FPlink for more information on the history of the language and basic functions. There are a number of subtle syntactic variants of FP described and implemented on the web. This unfortunate state of affairs is due partly at least to use the original language of non-ASCII characters. This package uses a hybrid chosen to be a bit: (1) legible, (2) true to the original, and (3) predictable for those familiar Perl.Requirements: · Perl Requirements: Perl ·


Related Downloads


Software Tags

Language::fp | Language::fp 0.03 | Language::fp Free Download | Language::fp Reviews | Download Language::fp

Size :

Next/Pre