Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Science and Engineering > Mathematics

    RPL/2 4.1.8

    Download button

    No screenshots available
    Downloads: 3,195  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.6/5)
    28 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Joel BERTRAND | More programs
    GPL / FREE
    May 22nd, 2012, 12:16 GMT [view history]
    ROOT / Science and Engineering / Mathematics

     Read user reviews (0)  Refer to a friend  Subscribe

    RPL/2 description

    A programming language for computations.

    RPL/2 is a special language, and could be the strange child of forbidden love between Lisp and Forth. The reversed polish notation and the definitional working come from Forth, only keeping an anonymous stack; the control structures come from Lisp. What a brilliant genealogy !

    This language has very weak typing, if any typing at all. The variables are declared on-the-fly at their first use, and the type of the data to store at that time is used. So the same variable X might contain a complex matrix and a few moments later, a string.In fact, using variables is not very common, because everything can be done directly with objects present in the stack.

    The five hundred and twenty-five thousand lines of code (!) can be cleanly compiled. The language is fully usable (I do so every day); RPL/2 scripts can be run, and external compiled routines might be called. The interface with the outer world is a C interface.

    The usable and working data types are as follows:

    - Binary integers (64 bits);
    - Signed integers (64 bits);
    - Real numbers (64 bits);
    - Complex numbers (2*64 bits);
    - Strings (any length);
    - Lists;
    - Complex,real or integer vectors;
    - Complex,real or integer matrices;
    - Names;
    - Algebraic expressions;
    - Expressions stated in reverse polish notation.

    At the time of this writing, built-in definitions are:

    - The whole set of stack management operations;
    - The functions related to local and global variables,as well as sub-definitions jumping;
    - Defined and undefined loops,with or without a counter;
    - Comparison functions;
    - Testing instructions;
    - Functions dealing with trigonometry;
    - Logarithmical functions;
    - Advanced calculations on matrices (LU decomposition,generalized eigenvalues)
    - Evaluation functions EVAL and ->NUM;
    - and many others...


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · Some minor bugs are fixed.
    · Double quotes are escaped in INPUT and PROMPT intrinsic functions.
    · An error is returned (instead of a warning) when an unavailable intrinsic function is called.
    · RPL/2 can now be cross compiled until Debian archive generation.
    · All table, vector, and matrix dimensions are now treated as unsigned long.
    · The recherche_type() function is modified to use cached memory.

      


    TAGS:

    programming language | Lisp language | Forth language | RPL/2 | programming | language



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM