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 > Re: Forth Testi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 25 Topic 3778 of 4325
Post > Topic >>

Re: Forth Testing Tools?

by Josh Grams <josh@[EMAIL PROTECTED] > Feb 26, 2008 at 06:46 PM

>Josh Grams  <j...@[EMAIL PROTECTED]
> wrote:
>And...I am going to write my own.  I know Dennis posted code, but
>I think my vision is different enough to justify experimenting a
>bit.

OK, I banged out a first draft...it basically works, and I've
tested the cases that I can think of.  But it is a first draft,
and I've been staring at this code for too long at a stretch, so
I'd be surprised if I've caught everything.

http://qualdan.com/forth/tester-2008-02-26.tar.bz2

Any suggestions for how to improve this are welcome (I think).
Though...I did just ask for (and received) code and then went and
reinvented the wheel anyway, so... :)


I do have one question.  It's easy to test without floats:

: environment? ( c-addr u -- false | i*x true )  2drop false ;

But how do I test the combined float/data stack case?  Anybody
have a Forth that does things that way? (x86 or PPC Linux,
preferably).

--Josh
 




 25 Posts in Topic:
Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-24 09:52:46 
Re: Forth Testing Tools?
anton@[EMAIL PROTECTED]   2008-02-24 21:10:47 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-24 23:43:04 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-25 02:39:41 
Re: Forth Testing Tools?
"Ed" <nospam  2008-02-25 23:52:59 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-26 18:20:56 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-27 12:54:24 
Re: Forth Testing Tools?
"Ed" <nospam  2008-02-28 12:18:53 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-28 08:13:40 
Re: Forth Testing Tools?
"Ed" <nospam  2008-03-01 13:21:06 
Re: Forth Testing Tools?
anton@[EMAIL PROTECTED]   2008-02-27 21:05:32 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-25 07:40:19 
Re: Forth Testing Tools?
Charles Turner <vze26m  2008-02-26 04:14:03 
Re: Forth Testing Tools?
Gerry <gerry@[EMAIL PR  2008-02-26 09:47:07 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-26 18:46:51 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-26 21:57:00 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-27 19:18:04 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-04-04 02:13:35 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 06:17:39 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-28 17:23:48 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-28 17:34:10 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 10:38:27 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 10:54:29 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-03-01 17:24:22 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-03-01 18:26:51 

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 Nov 21 16:34:31 CST 2008.