Talk About Network

Google


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 > FSL auxiliary f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 25 Topic 3839 of 4173
Post > Topic >>

FSL auxiliary files: proposed reorganization of words

by Krishna Myneni <krishnamyneni@[EMAIL PROTECTED] > Mar 10, 2008 at 11:56 PM

I believe Charles Montgomery first suggested he would like to see this
change, 
in a previous email to me. I'd like to reintroduce this idea here in
c.l.f. for 
input from other users of the FSL. Are there any potential pitfalls?

Reorganize the FSL auxiliary files by moving the following words from
dynmem.x 
to fsl-util.x:

malloc-fail?
cell_size
}malloc
}free
}}malloc
}}free


Then, dynmem.x will only contain ANS compatible definitions of ALLOCATE
and 
FREE, and associated data structures to sup****t these definitions.

The auxiliary file fsl-util.x should correspondingly be modified to
perform a 
conditional include of dynmem.x, based on the value of the constant 
HAS-MEMORY-WORDS?. Thus, the fsl-util.x file will have the following

HAS-MEMORY-WORDS? [IF] include dynmem.x [THEN]

\ or

HAS-MEMORY-WORDS? [IF] s" dynmem.x" included [THEN]

with either one of the above lines to be placed below the definition of 
HAS-MEMORY-WORDS?.

The above reorganization appears to me a more logical grouping of words in
the 
auxiliary files, and will remove the need to include dynmem.x on those
Forth 
systems which sup****t ALLOCATE and FREE. Also, for those Forth systems
which 
don't have ALLOCATE and FREE, the dynmem.x module becomes more generic and
can 
be used in contexts outside of the FSL without the extra baggage.


Krishna
 




 25 Posts in Topic:
FSL auxiliary files: proposed reorganization of words
Krishna Myneni <krishn  2008-03-10 23:56:09 
Re: FSL auxiliary files: proposed reorganization of words
mhx@[EMAIL PROTECTED] (M  2008-03-11 07:00:11 
Re: FSL auxiliary files: proposed reorganization of words
Krishna Myneni <krishn  2008-03-11 07:52:51 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-11 21:12:14 
Re: FSL auxiliary files: proposed reorganization of words
Krishna Myneni <krishn  2008-03-11 22:44:24 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-12 09:30:39 
Re: FSL auxiliary files: proposed reorganization of words
mhx@[EMAIL PROTECTED] (M  2008-03-12 19:52:35 
Re: FSL auxiliary files: proposed reorganization of words
Krishna Myneni <krishn  2008-03-13 04:15:20 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-13 09:33:09 
Re: FSL auxiliary files: proposed reorganization of words
mhx@[EMAIL PROTECTED] (M  2008-03-13 21:42:54 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-13 17:42:16 
Re: FSL auxiliary files: proposed reorganization of words
George Hubert <georgea  2008-03-13 15:50:25 
Re: FSL auxiliary files: proposed reorganization of words
George Hubert <georgea  2008-03-13 15:55:13 
Re: FSL auxiliary files: proposed reorganization of words
mhx@[EMAIL PROTECTED] (M  2008-03-13 21:26:03 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-13 14:00:15 
Re: FSL auxiliary files: proposed reorganization of words
Krishna Myneni <krishn  2008-03-13 20:45:39 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-13 19:17:40 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-12 14:18:16 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-12 09:32:07 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-14 08:20:42 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-13 16:48:30 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-14 08:46:13 
Re: FSL auxiliary files: proposed reorganization of words
"C. G. Montgomery&qu  2008-03-14 13:46:42 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-14 09:43:26 
Re: FSL auxiliary files: proposed reorganization of words
Bruce McFarling <agila  2008-03-14 14:50:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Jul 25 16:58:33 CDT 2008.