Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: Is PFE stil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 8 Topic 3985 of 4053
Post > Topic >>

Re: Is PFE still alive?

by Josh Grams <josh@[EMAIL PROTECTED] > Apr 6, 2008 at 03:49 PM

David N. Williams wrote:
> Josh Grams wrote:
>
> No, PFE isn't dead, and my understanding is that Guido is
> looking at the changes you requested.  Apparently other things
> have absorbed most of his energy for quite a while, but I just
> heard from him that now he has a bit more time, and is setting
> up a system that should be more responsive to requests for
> changes.

Excellent, thank you.

> That's good news for me.  PFE has been my primary Forth
> environment for several years.  One of the strong points of PFE
> is the utter ease with which one can implement new, dynamically
> loadable libraries of words in universal assembly language, AKA
> C.  And the ease with which one can write bindings that access
> foreign C or Fortran libraries.  I don't want to give that up.

Yeah, it looks like a solid system.

>> The fpnostack module doesn't know about the FLOATING-STACK
>> environment query (should answer 0).  This is easy to fix.
>
> Krisha Myneni may well be looking at that as we speak...
>
>> The line numbers for error messages (ABORT etc.) start at zero,
>> not at one as most applications do.  This is probably also easy to
>> fix, but I haven't bothered.

OK, I got the cvs version to build, so here's a patch which appears to
fix both.  For the line numbers, it might be better to fix block-sub.c
so that they start at one, rather than adding one every place you want
to use the line number, but I wasn't confident that I could find all the
references, so I didn't do that.

--Josh

Index: pfe/exception-sub.c
===================================================================
RCS file: /cvsroot/pfe/pfe-33/pfe/exception-sub.c,v
retrieving revision 1.2
diff -u -r1.2 exception-sub.c
--- pfe/exception-sub.c 11 Aug 2006 22:56:04 -0000  1.2
+++ pfe/exception-sub.c 6 Apr 2008 15:21:09 -0000
@[EMAIL PROTECTED]
 -82,7 +82,7 @[EMAIL PROTECTED]
          break;
      default:
          p4_outf ("\nFile %s line %lu: \"%.*s\"\n",
-           SOURCE_FILE->name, SOURCE_FILE->n, len, str);
+           SOURCE_FILE->name, SOURCE_FILE->n+1, len, str);
          p4_type (TIB, NUMBER_TIB);
     n = TO_IN;
     }
Index: pfe/fpnostack-ext.c
===================================================================
RCS file: /cvsroot/pfe/pfe-33/pfe/fpnostack-ext.c,v
retrieving revision 1.2
diff -u -r1.2 fpnostack-ext.c
--- pfe/fpnostack-ext.c 11 Aug 2006 22:56:04 -0000  1.2
+++ pfe/fpnostack-ext.c 6 Apr 2008 15:21:10 -0000
@[EMAIL PROTECTED]
 -1384,6 +1384,7 @[EMAIL PROTECTED]
     P4_INTO ("ENVIRONMENT", 0 ),
     P4_OCoN ("FLOATING",         1994 ),
+    P4_OCoN ("FLOATING-STACK",      0 ),
     P4_OCoN ("FPNOSTACK-EXT",   1994 ),
     P4_FXco ("MAX-FLOAT",   p__nofp_max_float ),
     P4_XXco ("FPNOSTACK-LOADED", fpnostack_init),




 8 Posts in Topic:
Is PFE still alive?
Josh Grams <josh@[EMAI  2008-04-02 20:58:51 
Re: Is PFE still alive?
"David N. Williams&q  2008-04-06 10:15:41 
Re: Is PFE still alive?
Krishna Myneni <krishn  2008-04-06 10:13:32 
Re: Is PFE still alive?
Josh Grams <josh@[EMAI  2008-04-06 15:49:08 
PFE update / Re: Is PFE still alive?
Guido Draheim <guiodod  2008-04-19 13:40:22 
Re: PFE update / Re: Is PFE still alive?
Krishna Myneni <krishn  2008-04-22 22:37:04 
Re: PFE update / Re: Is PFE still alive?
"David N. Williams&q  2008-04-23 10:54:58 
Re: PFE update / Re: Is PFE still alive?
Guido Draheim <guiodod  2008-04-23 20:55:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 0:33:26 CDT 2008.