Post Reply 
42s Code Editor - floats issue
05-03-2015, 03:52 PM (This post was last modified: 05-03-2015 11:56 PM by pito.)
Post: #7
RE: 42s Code Editor - floats issue
(05-03-2015 01:36 PM)Graan Wrote:  Might add a "normal" E as exponent as well. Some years ago I worked on this program , but have not been working on it since.
Yea, the E is tricky. I would recommend to use a normal "E" (or to accept both). Basically I am trying to run various programs which are posted by the contributors in the "listing format" with line numbers (line numbers with or without a dot), and with some issues with "-", "/" "*" etc. characters.
I was thinking to write a filter to cut off the line numbers, but I did it in programmer's notepad (check regex and replace ^\d with nothing).
I think it would be worth to enhance/refresh your editor as the free42 might become more popular with the availability of cheap and powerful smartphones (and with 2048kB free mem for code (~1mil lines) you may need a good editor, indeed Smile )
There are basically 3-4 styles people publish their sources - .42s format, listings from 42s printer, with line numbers (or linenumbers with dots), free format (ie without line numbers, with comments, etc.). Also characters they use sometimes needs to be replaced manually in the editor (ie. E,-, /, *, ",", > at label, print append sign, Rv,..).
A good example with above issues to see is the Gerald's listing - see
http://www.hpmuseum.org/forum/thread-1738.html
Great when that listing format could be processed by the editor properly Smile
P.
PS: and if it could generate a QR code as well, that would be nice! Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
42s Code Editor - floats issue - pito - 05-02-2015, 06:56 PM
RE: 42s Code Editor - floats issue - pito - 05-02-2015, 07:37 PM
RE: 42s Code Editor - floats issue - pito - 05-02-2015, 08:00 PM
RE: 42s Code Editor - floats issue - Graan - 05-03-2015, 01:36 PM
RE: 42s Code Editor - floats issue - pito - 05-03-2015 03:52 PM
RE: 42s Code Editor - floats issue - Graan - 05-04-2015, 05:27 AM
RE: 42s Code Editor - floats issue - pito - 05-05-2015, 04:09 PM
RE: 42s Code Editor - floats issue - Graan - 05-07-2015, 09:30 AM
RE: 42s Code Editor - floats issue - Graan - 05-07-2015, 02:54 PM
RE: 42s Code Editor - floats issue - pito - 05-07-2015, 07:26 PM
RE: 42s Code Editor - floats issue - Graan - 05-08-2015, 04:41 AM
RE: 42s Code Editor - floats issue - pito - 05-08-2015, 07:46 AM
RE: 42s Code Editor - floats issue - Graan - 05-08-2015, 11:12 AM
RE: 42s Code Editor - floats issue - pito - 05-08-2015, 05:34 PM



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