Forth Programming Language - Shropshire LUG - Oct 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 42

  • @BobBeatski71
    @BobBeatski71 3 ปีที่แล้ว +2

    I'm hooked ! Thanks for recording this video and making it available. 👍

  • @nigelgunn_W8IFF
    @nigelgunn_W8IFF 2 ปีที่แล้ว +1

    Interesting talk, Thanks. Reminded me of several thing long forgotten.

  • @tariqgorsi7505
    @tariqgorsi7505 3 ปีที่แล้ว +2

    Very good information about using and programming in FORTH. Many Thanks for the nice presentation.

  • @TheJacov
    @TheJacov 3 ปีที่แล้ว +7

    OK I figured it out. you were using hex mode and 120d is 0x78h so in fact the answer was correct, just in an unexpected format.

  • @robheusd
    @robheusd ปีที่แล้ว +1

    @15:40 i was surprised that literal numbers could be used as ordinary defined words, i expected Forth would interpret numbers as numbers and put them on the stack and not search it in the dictionary, but appearantly that is incorrect. I would however not be recomendable to use numbers as words, because the code would become less readable.

  • @abpccpba
    @abpccpba 3 ปีที่แล้ว +3

    Thanks Very much quite enlightening. : - ))

  • @dappinstitute
    @dappinstitute 2 ปีที่แล้ว

    Amazing! Thank you.

  • @nickbernstein
    @nickbernstein 8 หลายเดือนก่อน

    This was really interesting, thanks. Did you export the presentation from org-mode?

  • @sohangchopra6478
    @sohangchopra6478 2 ปีที่แล้ว

    The Forth terminal link in first slide is not working

    • @0LoneTech
      @0LoneTech 2 ปีที่แล้ว

      That would likely be because that workshop has ended. It's not hard to find a Forth to play with yourself; e.g. someone linked one that runs in a browser in another comment here.

  • @TheJacov
    @TheJacov 3 ปีที่แล้ว +1

    I don't quite know what's going on here, but 5! is 120 not 78. I tried your code using Win32Forth and it returned the correct answer so I don't see how you got 78? I tried values from 1 to 15 and they all seem to be correct so you must have suffered some kind of glitch.

    • @niclash
      @niclash ปีที่แล้ว +1

      I also reacted and checked in GForth and the code given works on my system as expected. No idea what happened.

    • @TheJacov
      @TheJacov ปีที่แล้ว

      @@niclash: Yea, I frequently use gforth myself and it works just fine.😁

    • @TheJacov
      @TheJacov ปีที่แล้ว +2

      @@niclash Also see my second post frm back when, the answer was given in hex!😁

  • @SantoshKumar-by2gd
    @SantoshKumar-by2gd 4 ปีที่แล้ว +7

    it should be FILO not FIFO. FIFO is actually queue.

    • @niclash
      @niclash ปีที่แล้ว +2

      🙂FYI; We normally call it LIFO and not FILO.

    • @etooamill9528
      @etooamill9528 5 หลายเดือนก่อน

      ​@@niclash i usually call it sugondeez

  • @nakternal
    @nakternal ปีที่แล้ว +1

    cube root

  • @gavinschuette9826
    @gavinschuette9826 ปีที่แล้ว +1

    where can I download forth so I can reaplce freebsd icewm firefox and usb3 disk with forth in 1% the code?

  • @MichaelKingsfordGray
    @MichaelKingsfordGray 2 ปีที่แล้ว +1

    Is the compiler written with any C code?
    If so, it is bound to fail.

    • @0LoneTech
      @0LoneTech 2 ปีที่แล้ว +2

      Some are, many are not. There are many different Forths; e.g. gforth and yforth have portions implemented in C, while durexForth is implemented in 6502 assembly. Often most of the vocabulary is in Forth itself, and it's far easier to write a new implementation than for C. There are also some processors designed specifically to run Forth.
      Your assertion that anything implemented once in C would fail strikes me as rather strange, though. Does it have any basis? E.g. have you decided that Python, Java and C++ all failed?

    • @MichaelKingsfordGray
      @MichaelKingsfordGray 2 ปีที่แล้ว +1

      @@0LoneTech Yes: For safety-critical applications, certainly they are failures.
      I now now know why you cower behind a fake infantile name.

    • @0LoneTech
      @0LoneTech 2 ปีที่แล้ว +5

      @@MichaelKingsfordGray Ah, you're just stirring up trouble. Infantile indeed.

    • @MichaelKingsfordGray
      @MichaelKingsfordGray 2 ปีที่แล้ว

      @@0LoneTech Says the infantile anonymous coward, stirring up trouble!
      Alanis Morrissette, THAT is irony!

    • @encapsulatio
      @encapsulatio 2 ปีที่แล้ว +1

      @@0LoneTech So what programming languages are the safest? And please mention other ones than Rust or Ada.

  • @jurgenpitaske3820
    @jurgenpitaske3820 4 ปีที่แล้ว +2

    And Easyforth there is a Forth written in Javascript - try it online - no download or installation required.

    • @jurgenpitaske3820
      @jurgenpitaske3820 3 ปีที่แล้ว

      @Rob Scovell I am not a Javascript specialist - but it is all in github
      - as alternative there is now Ting's jeForth, see it tonight in the Zoom meeting

  • @gavinschuette9826
    @gavinschuette9826 ปีที่แล้ว +1

    note to computer forth people gods we want web browser! rest is blah balh

    • @fzelders
      @fzelders ปีที่แล้ว +1

      ????