Forth WAS simple and easy

forth

    Sponsored Links

    Next

  • 1. Problems to boot native colorForth 2.0a
    Hi all, I have troubles to boot native version of colorForth 2.0a in my ThinkPad T30. Only one line of numbers is displayed... It bootes on my workstation correctly. T30 boots Howerd Oakford's CF version without troubles... Any idea? BTW is this a right forum to discuss it? Thanks in advance. Pavel
  • 2. Forth Evangalists
    With Intel's marketing machine hard at work on Larrabee I was wondering who, if anyone in particular, is driving Forth / Forth Hardware? The most visible I've seen so far are Chuck ( naturally ), Jeff, Elizabeth and a couple of years ago Eric LaForest with his paper on The Next Generation of Stack Computers. Incidentally, he's gone quiet after that... Without a sizeable marketing campaign or killer app it's going to be near impossible to spread the word and get mainstream exposure. From my own personal experience, it's not impossible to adopt new technology. Every couple of years there's a new console out and we're forced to re-learn new architectures and the quirks that come with it. With the PS3 / 360 more emphasis has been put on multi-core programming but in reality, the majority of games don't utilize them properly, although that's changing over time.. Depending on whether or not Larrabee will be selected for the next wave of consoles is up for debate. If it does though, it'll be interesting.. Anyway, my original point was that either Intellasys / GreenArrays will need a killer app ( like realtime raytracing ) or a giant Marketing campaign in order to get mass exposure. Hey, if we can get BMW to tell the world that 'the ultimate driving machine' is using 'the ultimate processor', we're halfway there :-) -Mux

Forth WAS simple and easy

Postby imagine » Fri, 07 Jan 2011 12:38:23 GMT

 Use the simplist , modern computer ,

  with the    best written BIOS  , start by

 creating  your symbolic icons  , next tell your Forth

 G.U.I what they do ,  I.E.   assign each  icon to

 a Forth primative ,

   PC is far too bloated and commercial ,

 use a Ninetendo DSL  with 4 SDHC slots on

  and a 300  GB HDD  on  slot 2  .

     Next step is to create the next higher

 level icons and symbolics  ,  first by simply

 stringing the lower level icons , together ,

 then by  eliminating the  noisy details ,

 of the lower levell icons ,

   Temptation is to use old methods and text editors

 and  C compilers ...     waste time ,

  The Ninetendo DSL  has the best BIOS   ever ,

 you can do anything , with it especially  images ,

in creating your icons  and symbolical references and

 photo's , that you MUST assign to the Forth code ,

   Dont use touch screen , make your own hardware

  I/O  that  talks to HDD and the SD cards and a

 32 key , keyboard  ,   Dont borrow anything ,

 dont copy anyone , I.E.   dont use libfats from

 the homebrew DSL  group , create everything

 yourself , using Forth and GUI , to write a flat

 file system for HDD ,   and SD card .

 there is NO memory allocation , everything must have an

absolute address ,  zero to 1 GB is assumed  O.S.

 Forth , 1 GB to  3 TB is database , subdivided into

 smaller chunks ,  according to classes ,

  every Forth word , on every DSL  , will have the same address ,

   Forth has no more IP  , above primatives is a  mid level

of lists of addresses , that are pointed to , when you run a

 high level word , thus ea  primative  jumps directly to next

primative , but by poping the return stack ,  ea list  puts

 itself  on the RP  stack ,    simple ..  fast .




Re: Forth WAS simple and easy

Postby Jason Damisch » Wed, 26 Jan 2011 01:10:41 GMT

Sounds GREAT!

I might even buy a Nintendo if this is done.

Jason

Similar Threads:

1.Forth WAS simple and easy

 Use the simplist , modern computer ,

  with the    best written BIOS  , start by

 creating  your symbolic icons  , next tell your Forth

 G.U.I what they do ,  I.E.   assign each  icon to

 a Forth primative ,

   PC is far too bloated and commercial ,

 use a Ninetendo DSL  with 4 SDHC slots on

  and a 300  GB HDD  on  slot 2  .

     Next step is to create the next higher

 level icons and symbolics  ,  first by simply

 stringing the lower level icons , together ,

 then by  eliminating the  noisy details ,

 of the lower levell icons ,

   Temptation is to use old methods and text editors

 and  C compilers ...     waste time ,

  The Ninetendo DSL  has the best BIOS   ever ,

 you can do anything , with it especially  images ,

in creating your icons  and symbolical references and

 photo's , that you MUST assign to the Forth code ,

   Dont use touch screen , make your own hardware

  I/O  that  talks to HDD and the SD cards and a

 32 key , keyboard  ,   Dont borrow anything ,

 dont copy anyone , I.E.   dont use libfats from

 the homebrew DSL  group , create everything

 yourself , using Forth and GUI , to write a flat

 file system for HDD ,   and SD card .

 there is NO memory allocation , everything must have an

absolute address ,  zero to 1 GB is assumed  O.S.

 Forth , 1 GB to  3 TB is database , subdivided into

 smaller chunks ,  according to classes ,

  every Forth word , on every DSL  , will have the same address ,

   Forth has no more IP  , above primatives is a  mid level

of lists of addresses , that are pointed to , when you run a

 high level word , thus ea  primative  jumps directly to next

primative , but by poping the return stack ,  ea list  puts

 itself  on the RP  stack ,    simple ..  fast .



2.glob (&/or similar) - Am I missing something simple

3.Newbie Program That Started Off Easy - Simple Math w/ Interactive Menu

Hello,

This program uses C. It is meant to convert whatever the current
exchange rate is to dollars. It compiles, builds, and executes
correctly except for a few bugs. When building I get an error that
states;

Linker Error (Severity 4)
Module "a" in file "c:\program files\miracle c\yendollarext.obj"
references unresolved external "_rewind"
at offset 0303H in segment "_text".

I am not sure how to resolve this error.

Also, I attempted to have the program create an error whenever someone
either "chooses" a number higher than 1 "else if(choice > '1')" or
attempts to use an alpha character

"if (isalpha(yen)) 

{ 

printf("\n Sorry, that was not a valid option.\n\n");" 

break; 

in which the program shuts down without displaying the error message.
Any ideas? Here is the code, all help is appreciated.

#include <stdio.h>
#define DRAINO rewind(stdin);fflush(stdout);
#define STOP rewind(stdin); getchar();



int main( void )
{
  double yen = 0.0;
  double dollars = 0.0;
  double yentoDollar = 0.0;

  int choice=0;
 

printf("\nYen to Dollar Currency Conversion\n\n");

printf("Enter 1 to begin Conversionn\n"); 

printf("Enter 0 to Quit the Program\n\n"); 


printf("Please select your option:\n\n"); 

scanf("%d", &choice); 


if (choice == 1) 

{ 

  printf("\nYou want to convert Yen into US dollars.\n\n");
  printf("Please enter the current exchange rate between Dollars and
Yen.\n\n");
  scanf( "%lf", ¥toDollar );
  
 
  if (isalpha(yentoDollar)) 

{ 

printf("Sorry, that was not a valid option."); 
getchar ();
break; 

} 

  printf("\nHow many Yen do you have?\n\n");
  scanf( "%lf", ¥ );
  if (isalpha(yen)) 

{ 

printf("\n Sorry, that was not a valid option.\n\n"); 

break; 

} 
  dollars = yen * yentoDollar;
  printf( "\nThe conversion to US dollars of %.2f yen is %.2f
dollars\n", yen, dollars );
  
  
rewind(stdin);

getchar();

 } 

else if (choice == 0)

{
printf("Program will terminate after you click Enter.\n");
printf("\nHave a nice day!");
getchar ();  
return 0;
  
}

else if(choice > '1') 

{

printf("\nProgram will terminate after you click Enter.\n");
printf("\nHave a nice day!");
getchar (); 
return 0; 

}
 
}

Thanks in advance!

Mike

4.Newbie Program That Started Off Easy - Simple Math w/ Interactive Menu

CBFalconer wrote

 You can't rewind stdin.

Thanks, that was easy to get rid of the error message, but how do I
get the program to rewind to the beginning?

5.i am doing a scyance progect compareing two ans forth implementaions

I am going to nead a way to time the exicuiton of a word to compare the
spead of both implementaions. the implementaions are gforth and pfe.

6. counted loops (was: Toward a Forth that's easier to learn)

7. Toward a Forth that's easier to learn

8. [newbie question] Easy recognition of Forth system



Return to forth

 

Who is online

Users browsing this forum: No registered users and 40 guest