Miserability
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 3569 articles for 0.010 sec
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 10, 2008 20:48

...C: orig|dest -- orig|dest ) ( -- false ) With this, things like Baden's COND WHENS (used in Miser) can then readily be defined. I think, given these, Miser can also be portably defined: : CS-RESOLVE ( C: marker origs-- ) BEGIN cs-mark? WHILE POSTPONE THEN REPEAT ; : CS-...
Show full article (2.07Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 9, 2008 00:08

... With this, things like Baden's COND WHENS (used in Miser) can then readily be defined. I think, given these, Miser can also be portably defined: : CS-RESOLVE ( C: marker origs-- ) BEGIN ...'ll have a closer look off-line. I did post a "portable" version of Miser that relied on CS-PUSH/POP however yours manages to avoid it. (I ...
Show full article (1.68Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Jenny Brien
Date: Jul 8, 2008 12:39

...( C: orig|dest -- orig|dest ) ( -- false ) With this, things like Baden's COND WHENS (used in Miser) can then readily be defined. I think, given these, Miser can also be portably defined: : CS-RESOLVE ( C: marker origs-- ) BEGIN cs-mark? WHILE POSTPONE THEN REPEAT ; : CS-UNDER-RESOLVE...
Show full article (1.12Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 7, 2008 08:32

... [...] It's limited to conditionals which bump the count. Should one encounter Miser code like: CASE ( any test ) IF ( DROP) ... ELSE ENDCASE it ... example I used IF but any conditional or sequence that left an 'orig' may be used in Miser. All these would fail in solution 2 because they don't bump the count. ...
Show full article (1.48Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 6, 2008 22:51

... in experimentation is another matter. At this stage it would probably be of little benefit to eliminate the non-data CFS stack. At best it might make some work-arounds possible, allowing constructs like Miser to be built. It wouldn't fix all issues, and IMO a more comprehensive solution is needed. I should mention some don't agree there is any problem and hence no need for change. I...
Show full article (1.19Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Gerry
Date: Jul 6, 2008 04:11

....com> wrote: [...] It's limited to conditionals which bump the count. Should one encounter Miser code like: CASE ( any test ) IF ( DROP) ... ELSE ENDCASE it will fail.... example I used IF but any conditional or sequence that left an 'orig' may be used in Miser. All these would fail in solution 2 because they don't bump the count. I think...
Show full article (0.79Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 4, 2008 23:30

...Schemes involving a count are unlikely to work. Miser uses (and encourages) existing conditionals to effect the...conditionals which bump the count. Should one encounter Miser code like: CASE ( any test ) IF (... left an 'orig' may be used in Miser. All these would fail in solution 2 because...things like Baden's COND WHENS (used in Miser) can then readily be defined.
Show full article (1.58Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Gerry
Date: Jul 4, 2008 07:06

On 4 Jul, 03:39, "Ed" <nos...@invalid.com> wrote: [...] Schemes involving a count are unlikely to work. Miser uses (and encourages) existing conditionals to effect the case construct. That's its simplicity and flexibility. You can use *any* conditional as long as there's an orig left to resolve. Yes solution 1 is flawed with the redefinition of ELSE. But have you ...
Show full article (0.72Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Ed
Date: Jul 3, 2008 19:39

...'m not sure a truly portable Miser can be done given the current ... with IF THEN etc. Note that Miser allows IF for "user-defined" case... a count are unlikely to work. Miser uses (and encourages) existing conditionals to ...rendering the standard CASE ultimately inflexible. ... Miser probably doesn't need to be...the issue of tools extends beyond Miser because forth should let users do...
Show full article (4.67Kb) · Show article thread
Re: More fun with Miser's CASE     

Group: comp.lang.forth · Group Profile · Search for Miserability in comp.lang.forth
Author: Gerry
Date: Jul 2, 2008 14:07

...> data stack (if any). That would then make your Miser's case ANS Forth compliant and so portable ... control stack I'm not sure a truly portable Miser can be done given the current CS wordset. I ... ANS CASE. It might be fun sometime to add your Miser CASE words to it, but I found solution 1 hard enough for now. Miser probably doesn't need to be portable. As long as ...
Show full article (7.29Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next