The following warnings occurred:
Warning [2] Undefined array key 135167 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 135167 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Effective Computer-aided Calculator Programming - Part 1 - Voyager



#2

Abstract


Keystroke programming for small quick&dirty programs it is very efficient, but what about for long or very long programs? Debugging a 100+ instruction program can be a challenge, especially when only one instruction is visible. Many of us can write RPN code in text editors, and then run the program in our heads before keying the sequence. While this may work for some, there are more effective ways.

The purpose for this series of articles is to describe the options available to aid in the rapid development and testing of RPN code by leveraging the use of text editors, compilers, and accelerated simulators and emulators.

Part 1 of this series supports the follow models: 11C, 12C, 15C, and the 16C.



Link: http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=866


This article highlights the new Voyager Nonpareil compiler. This compiler has the following features:

  1. Syntax checking with support for user definable statements.
  2. Numeric expansion. Multiple digit constant numbers can use a single line of code.
  3. Duplicate label checking. Although legal, warnings are issued when duplicate labels are encountered.
  4. GTO checking. No point in going nowhere.
  5. Macro expansion. Macros can be defined on a per calculator basis.
  6. Virtual 12C labels. LBL can be use with 12C programs. All LBL and GTO statements will be properly converted to line numbers when compiled.
  7. Pretty print listings than can contain line numbers, statements, and/or keystroke sequences. Listings can be displayed using multiple columns to minimize space usage when publishing your code.
  8. An internal dictionary of statements and keystrokes that can be listed and used as a reference guide.
  9. Windows, Linux, OS/X supported.


Lastly there are some hacks to get Nonpareil to run about 200 times faster.


I did not have time to get parts 2 (42S) and 3 (41) done before the April 1st SSMC games. IANS for the 42S you need txt2raw.pl, and for the 41 HP41UC. The 41 article will have various solutions for getting code off your desktop and into your calc.

Edited: 2 Apr 2008, 1:35 a.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Use 82240B as computer printer R. Pienne 3 2,270 12-09-2013, 12:19 PM
Last Post: Marcus von Cube, Germany
  The HP Prime saga - Part II Michael de Estrada 21 5,749 11-30-2013, 01:04 PM
Last Post: Michael de Estrada
  9014B Sony Part Number Compatibility aj04062 0 941 11-08-2013, 05:59 AM
Last Post: aj04062
  HP Prime - part selection bluesun08 7 2,319 10-29-2013, 09:31 PM
Last Post: CompSystems
  Dedicated HP calculator programming-hardware-bug website? Geoff Quickfall 12 2,704 10-12-2013, 11:34 PM
Last Post: Les Koller
  OT: Jeppesen E6B Wind-Easy Computer (Slide Rule) Eddie W. Shore 18 6,500 10-12-2013, 03:26 PM
Last Post: George Litauszky
  Voyager keyboard issue John Richards 2 1,442 09-27-2013, 07:43 PM
Last Post: John Richards
  Concern about Voyager keyboard test Matt Agajanian 2 1,405 08-30-2013, 07:56 PM
Last Post: Matt Agajanian
  HP 32s LCD part Trisnadi Sutrisno 2 1,376 08-27-2013, 02:12 PM
Last Post: Han
  Computer-scientist functions on HP Prime? Michael O. Tjebben 12 3,474 08-22-2013, 06:59 PM
Last Post: plivesey

Forum Jump: