The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
UserRPL. Detect lines with syntax error
04-03-2017, 08:38 AM
Post: #1
UserRPL. Detect lines with syntax error
Reading old discussions I stumbled on one that reports that the Jazz compiler/builder for sysRPL can tell the user if there is a syntax error and on which line.

Instead when I use userRPL and I pass a program to the calculator in text mode, getting back a "syntax error", the information given back are much more cryptic and often not helpful. (especially for files that in origin are 21 Kbytes and at the end -after trimming the comments - are 3 Kbytes)

So I normally end up toggling large part of a program as "comments" until I identify the part with the unwanted error.

Is there a way to get more information about the syntax error message? That would speed up a part of debugging.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
UserRPL. Detect lines with syntax error - pier4r - 04-03-2017 08:38 AM



User(s) browsing this thread: 1 Guest(s)