newrpl/newrpl
2018-07-24 18:13:32 -04:00
..
contrib/mpdecimal-2.4.0
docs Added more short descriptions to commands 2018-03-20 11:52:58 -04:00
rpl-objects Improved FACTORS 2018-04-27 18:35:22 -04:00
arithmetic.c Made algorithm give up faster. 2018-04-28 10:44:30 -04:00
arithmetic.h Finished FACTORS command 2018-04-27 12:56:22 -04:00
atan_1_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atan_1_comp.c
atan_2_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atan_2_comp.c
atan_5_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atan_5_comp.c
atan_ltables.c Added light transcendentals. 2017-06-27 22:59:23 -04:00
atanh_1_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atanh_1_comp.c
atanh_2_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atanh_2_comp.c
atanh_5_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
atanh_5_comp.c
autocomplete.c Finished autocomplete for user commands 2018-03-06 10:49:07 -05:00
backup.c Improved backup resiliency. Added persistence to simulator. 2018-01-12 19:03:33 -05:00
cmdcodes.h
common-macros.h
compiler.c Added support for list in symbolics - work in progress 2018-07-20 19:08:41 -04:00
cordic_K_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
cordic_K_comp.c
cordic_Kh_8_comp.c Added basic changes for 39gs/40gs support 2017-05-04 18:00:15 -04:00
cordic_Kh_comp.c
datastack.c
decimal.c Fixed approx flag in division. 2018-03-06 17:06:58 -05:00
decimal.h Device connector detects presence of calculator 2017-12-04 17:56:54 -05:00
dectranscen.c Bugfixes, improved speed, updated project files and removed old transcendental functions. 2017-07-03 11:08:06 -04:00
directory.c Fixed bugs in automatic evaluation. 2018-05-01 18:24:27 -04:00
errors.c Implemented EXIT 2017-11-01 19:02:27 -04:00
fastmath.c
fastmath.h More renderer work in progress 2018-01-05 18:13:16 -05:00
gc.c
hal.c
hal.h
include-all.h
io_substring.c
lam.c FInished implementing auto-evaluation 2018-04-05 13:14:23 -04:00
lib-20-comments.c Started coding of Forms. 2018-03-23 17:25:54 -04:00
lib-24-string.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-28-dirs.c Fixed bugs in automatic evaluation. 2018-05-01 18:24:27 -04:00
lib-30-complex.c Created command information extractor for the Wiki. Added test descriptions to one library. 2018-03-15 19:05:36 -04:00
lib-32-lam.c Improved EVAL1 behavior 2018-07-19 18:34:50 -04:00
lib-48-angles.c Started coding of Forms. 2018-03-23 17:25:54 -04:00
lib-52-matrix.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-54-units.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-56-symbolic.c Finished implementing lists on symbolic mode 2018-07-24 18:13:32 -04:00
lib-62-lists.c Added support for list in symbolics - work in progress 2018-07-20 19:08:41 -04:00
lib-64-arithmetic.c Improved EVAL1 behavior 2018-07-19 18:34:50 -04:00
lib-65-system.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-66-transcendentals.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-68-flags.c Started coding of Forms. 2018-03-23 17:25:54 -04:00
lib-70-binary.c Added list processing support to all Bxxx commands. Fixed bugs in BRL/BRR. 2018-05-25 17:45:07 -04:00
lib-72-stack.c More work on auto-evaluation 2018-03-27 13:03:34 -04:00
lib-74-sdcard.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-76-ui.c Started coding of Forms. 2018-03-23 17:25:54 -04:00
lib-77-libdata.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-78-fonts.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-80-bitmaps.c Added library title to all libraries. 2018-03-16 13:01:26 -04:00
lib-88-plot.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-96-composites.c Started coding of Forms. 2018-03-23 17:25:54 -04:00
lib-98-statistics.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-100-usb.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-102-libptr.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-4079-rpl2c.c Fixed compiler errors 2018-01-16 18:30:24 -05:00
lib-4080-localenv.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-4090-overloaded.c Added library title to all libraries. 2018-03-16 13:01:26 -04:00
lib-common.c Finished autocomplete for user commands 2018-03-06 10:49:07 -05:00
lib-eight-docol.c More progress on automatic command extractor for the wiki 2018-03-21 12:06:59 -04:00
lib-header.h
lib-nine-docol2.c Fixed compiler bug on optimization of locals. 2018-07-14 10:59:26 -04:00
lib-ten-reals.c Fixes on operator SAME and cross-object comparisons 2018-01-23 19:05:27 -05:00
lib-twelve-bint.c Fixes on operator SAME and cross-object comparisons 2018-01-23 19:05:27 -05:00
lib-two-ident.c Improved EVAL1 behavior 2018-07-19 18:34:50 -04:00
lib-zero-messages.c
libraries.h Improved EVAL1 behavior 2018-07-19 18:34:50 -04:00
LICENSE.txt
lighttranscend.c Improved sqrt algorithm. 2018-04-21 08:43:52 -04:00
lists.c Fixed POS with lists. Started implementing atomic RPL command execution. Fixed compiler bug that put double parenthesis on symbolic functions. 2018-01-29 18:13:52 -05:00
ln_ltables.c Added light transcendentals. 2017-06-27 22:59:23 -04:00
main.cpp
Makefile
matrix.c Fixes on operator SAME and cross-object comparisons 2018-01-23 19:05:27 -05:00
mul_real_arm.c Added word skip during normalization. 2017-07-21 16:20:55 -04:00
newRPL-base.pro
newrpl.h FInished implementing auto-evaluation 2018-04-05 13:14:23 -04:00
README.txt
render.c Fixed bug: On-A-C/Exit cannot stop WAIT or any command that uses the outer loop. 2018-01-22 18:51:14 -05:00
render.h
returnstack.c
rng.c Added RDZ and RAND - updated all project files. 2017-10-24 13:14:51 -04:00
romlibs.c
romlibs.h Started work on RPL libraries. Work in progress. 2018-01-31 18:50:31 -05:00
runstream.c FInished implementing auto-evaluation 2018-04-05 13:14:23 -04:00
sanity.c Improved backup resiliency. Added persistence to simulator. 2018-01-12 19:03:33 -05:00
solvers.c Improved EVAL1 behavior 2018-07-19 18:34:50 -04:00
symbolic.c Finished implementing lists on symbolic mode 2018-07-24 18:13:32 -04:00
sysvars.c
sysvars.h Started implementing autocomplete of user commands (work in progress). 2018-03-02 18:27:48 -05:00
tempob.c
transcendentals.c
units.c Fixed string comparison bug looking past the end of string. 2018-01-16 12:48:19 -05:00
utf8data.c Added ->NFC command. Updated Unicode data to 10.0. 2017-07-28 17:52:16 -04:00
utf8lib.c Fixed string comparison bug looking past the end of string. 2018-01-16 12:48:19 -05:00
utf8lib.h Fixed string comparison bug looking past the end of string. 2018-01-16 12:48:19 -05:00

LEGAL:
------

This program in its entirety is released under the license present in the file LICENSE.txt.

This program is linked against a modified version of the mpdecimal library, which is copyrighted
by its original author and is redistributed here in compliance with the original license that follows:

/*
 * Copyright (c) 2008-2016 Stefan Krah. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */


WHAT THIS DEMO IS AND IS NOT:
----------------------------

This is a console application with a rudimentary user interface intended for testing purposes only.
This demo does not represent in any way the final user interface.

HOW TO USE IT:
-------------

The demo will show a familiar stack interface and a prompt. In the prompt, familiar RPL commands
can be typed. Special symbols can be typed simply expanded with normal characters per this list:

<< as two 'less than' symbols
>> as two 'greather than' symbols
-> as a 'minus' and a 'greater than'
(square root) as the command SQRT

To end a session, enter an empty line and will be asked confirmation to quit.

Operators have to be entered in the prompt and ENTER pressed, there's no single-keystroke
operation in this demo.

THINGS TO TRY IN THIS VERSION:
-----------------------------
* Basic numeric operations:
    This follows the familiar set of commands, with the exception of SQRT for the square root symbol.
* Basic stack operations
    Not all stack operations are implemented yet, but the most common ones are available.
* Global variables and directories
    The behavior follows the conventions: unquoted names will be RCL'd and EVAL'd automatically. Quoted
    names have to be explicitly RCL'd (and explicitly EVAL'd as needed).
    Variables RCL'd will be searched for in the current directory and all its parents.
    Variables STOred will be stored in the current directory only.
* Local variables
    The behavior follows the conventions: unquoted names will be RCL'd and EVAL'd automatically. Quoted
    names have to be explicitly RCL'd (and explicitly EVAL'd as needed).
    Variables vanish as they reach the end of their scope, as follows:
    - Variables created with the -> operator exist only within the defined << >> delimiters.
    - Variables created with LSTO within a secondary, only exist within that secondary and after the
      initial creation statement.
    - Variables created within loops will exist only within that loop
    - Variables created within a secondary will be available to all inner secondaries or external programs
      called by the creating program.
* Directories
    Normal behavior.
* Loops
    Normal behavior
* Flow control statements
    Nothing new here
* Secondaries
    There's two kinds of secondaries: normal programs use << >> delimiters, and will be pushed on the stack
    when reached within another secondary, then they must be EVAL'd explicitly for execution. The direct-execution
    secondaries use the :: ; delimiters, and when included within a secondary they will be executed directly
    and never pushed to the stack. They otherwise work as a normal secondary.
    Notice that normal secondaries will be EVAL'd automatically if they are stored in a variable, when that
    variable name is used unquoted.
* Lists
    List objects are created, but no list operations are implemented yet.
* Numbers
    Integers and real numbers are interchangeable. The compiler decides when a number is an integer and will
    automatically compile as an integer or real. From the user's perspective there's only numbers.
    Integers in bases other than 10 can be used:
        #10d is a decimal 10
        #10h is a hexadecimal number
        #10b is a binary number
        #10o is an octal number
    By default a number will be in decimal base. Real numbers can only be in decimal base. The base is a
    property of the number (rather than a system setting), and will be retained by operators when possible.
    This means a numbers in different bases can coexist in the stack. Operating on a number with a base will
    try to keep the base of the original number, even if the second operand is in a different base.
    Mixed based operations are performed correctly.
    A division might convert the number to a real number if the division result is not an integer. In that case
    the result will always be in base 10.
    Integers are signed 64-bit numbers, and an overflow will automatically convert to a real number, there is
    no wrap around. In that case the base will be changed to 10.