Shop OBEX P1 Docs P2 Docs Learn Events
Which Forth to use? — Parallax Forums

Which Forth to use?

prof_brainoprof_braino Posts: 4,313
edited 2012-12-08 09:48 in Propeller 1
The ancient language Forth is receiving attention lately.

The attraction is that it is a specialize tool for a very specific job, that its another option for quickly getting application code to run on an embedded system with minimal resources. Even so, there are significant difference between the various flavors of forth, depending on the intended purpose o the target application. All versions are valid, the difference is each version's suitability for a give task, in each user's opinion.

Many first time users wish to experiment, but cannot determine which flavor is most suitable for their needs.

Please list which versions you have tried, and what benefit it delivers or lacks.

Which forth have you used or do you prefer?

pfth - Newest version of forth for the prop. Strives for full ANSI standard compliance
Tachyon - Most radical forth for the prop. Focused on speed and smallest possible memory footprint
Propforth - Oldest active version of forth for the prop. Kernel is completely stable.

Comments

  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2012-12-07 10:44
    Don't forget:
    PropellerForth The original, I think. No longer actively maintained. It worked well for me but I'm not qualified to judge.
    JDForth This has a windows development environment. I tried it but couldn't get it to work, most likely my fault.

    I currently use PropForth. Probably will stick with this as it does what I need it to do.

    Duane J
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-12-07 10:49
    I'd have to say I am trying to use all three, but in truth I have only loaded Tachyon and PropForth as pfth has been marching very quickly through revisions as it evolves and I am not as handy with compiling C.

    I still feel that PropForth tends to be the front door for most user, but pfth really appeals to me a providing the ANS Forth support that most newbies will find presented in literature.

    PropForth and Tachyon presume one knows at least something about what a Propeller is and what .spin files are. As far as my acquired ability to use Forth on the Propeller

    First - PropForth
    Second - Tachyon
    Third - pfth

    Of course, it has not been even 30 days since I started. So this could all change quite a bit. I did start with Brodie's 'Starting Forth' and GForth on a regular PC. Then I did a comparison of what was not available. So of the 'missing lexicon' seemed important, but I am beginning to believe that the developers here may be on to some radical new solutions.

    I suppose that good reasearch projects are when at least 50% of those you ask tell you that you just can't do that.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-12-07 11:21
    PropForth is what I started with and is very good for my multi-propeller experimentation. Not sure where I'm going to go with it. At times, it seems a bit stiff and formal and like there is a lot of capability buried in there waiting to be unleashed and fully developed - multi-cog, multi-propeller, MCS, etc. Just need the time and effort to sit down and help develop and unleash.

    Tachyon is just wicked fast and fun, rough in some places, totally ingenious in its implementation choices in other places. It was very quick and easy to use from initially loading it through developing my single digit clock project. I feel myself migrating over to the Tachyon camp.

    pfht, I tried the C version and then have just been watching from the sidelines as the spin/PASM version has developed. Need to load it up and jump back into it again when time permits. Having an ANS standard implementation is nothing but a good thing.
  • D.PD.P Posts: 790
    edited 2012-12-07 11:48
    Who cares, pick your hardware, pick your software and get your projects/work done.

    Show them to use and let us oggle a bit in wonderment.

    And have fun, or else my C is gonna beat you back and FORTH, couldn't help it.
  • caskazcaskaz Posts: 957
    edited 2012-12-07 15:59
    Hi.
    I'm using PropForth since PF2.7.
    I have connected various hardware(LCD[spi,i2c,parallel),steppingmotor,DCmotor,servo,DELTAROBOT,pressuresensor,1-wire-device,1024k-eeprom,sd-card,etc) to PropForth.
    Actually,I have never tried other Forth since I have no room in my brain.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-12-07 16:24
    Too many things on my plate :(
  • prof_brainoprof_braino Posts: 4,313
    edited 2012-12-07 17:12
    Don't forget:
    PropellerForth The original, I think. No longer actively maintained. It worked well for me but I'm not qualified J

    Propeller forth was quite promising, from Cliff Bliffle. Unfortunately, he got a job, and we haven.t heard from him since. I never did see the source code. He might have just hacked it together from assembler instructions. Anybody know?

    there was also a bunch of stuff from a guy DaSilva and his posse, But this was before me. daSilva's threads were an influence that got me started on the jupiterace project.
  • nglordinglordi Posts: 114
    edited 2012-12-07 17:27
    Both PropForth and Tachyon, depending on the application. PropForth for larger applications.
    Tachyon for access to spi devices. A 2-prop system, one running PropForth and the other Tachyon.

    NickL
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-12-08 08:12
    Propeller forth was quite promising, from Cliff Bliffle. Unfortunately, he got a job, and we haven.t heard from him since. I never did see the source code. He might have just hacked it together from assembler instructions. Anybody know?

    there was also a bunch of stuff from a guy DaSilva and his posse, But this was before me. daSilva's threads were an influence that got me started on the jupiterace project.

    You CAN still download and investigate it. But it seems all binaries and a rather limited lexicon compared to what we now have.

    http://code.google.com/p/propellerforth/wiki/PropellerForth


  • ctwardellctwardell Posts: 1,716
    edited 2012-12-08 09:11
    I have to say that some of the proselytizing and arguing over the purity of this forth vs. that forth has become a turn off to even exploring the possibilties of using it.

    C.W.
  • prof_brainoprof_braino Posts: 4,313
    edited 2012-12-08 09:48
    ctwardell wrote: »
    I have to say that some of the proselytizing and arguing over the purity of this forth vs. that forth has become a turn off to even exploring the possibilties of using it.

    This is valid response. I had the same feeling from the discussions of Catalina and GCC.

    There are several versions of BASIC for the prop, yet I did not notice the same discussion of pros and cons for each. I guess passions run higher for some developers.

    Even so, I have tried Catalina and GCC, and I haven't tried any BASIC. That might tell us something but I don't know what.

    Anyway, I think we've gotten past that now, This thread is to explore what each option is most suitable for a given purpose.
Sign In or Register to comment.