Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.LANG.FORTH
  • Infix to postif notation for ESP32forth

    From Marc Petremann@21:1/5 to All on Thu Oct 20 06:20:23 2022
    See here: https://www.reddit.com/r/ESP32forth/comments/y8y30m/convert_infix_to_postfix_notation_for_esp32forth/
    BR

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From minforth@arcor.de@21:1/5 to mpetre...@gmail.com on Thu Oct 20 08:19:42 2022
    mpetre...@gmail.com schrieb am Donnerstag, 20. Oktober 2022 um 15:20:24 UTC+2:
    See here: https://www.reddit.com/r/ESP32forth/comments/y8y30m/convert_infix_to_postfix_notation_for_esp32forth/

    See also Julian Noble's formula translator: https://galileo.phys.virginia.edu/classes/551.jvn.fall01/ftran202.htm

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dxforth@21:1/5 to minf...@arcor.de on Fri Oct 21 11:54:03 2022
    On 21/10/2022 2:19 am, minf...@arcor.de wrote:
    mpetre...@gmail.com schrieb am Donnerstag, 20. Oktober 2022 um 15:20:24 UTC+2:
    See here:
    https://www.reddit.com/r/ESP32forth/comments/y8y30m/convert_infix_to_postfix_notation_for_esp32forth/

    See also Julian Noble's formula translator: https://galileo.phys.virginia.edu/classes/551.jvn.fall01/ftran202.htm

    There was also one for integers but not as well-known or developed:

    FD 15/3 INTRAN - An Integer Formula Translator - Noble J.

    Whether automated conversion is warranted is debatable. One can see how
    it might appeal to those unfamiliar with forth. JVN was preaching to
    fellow scientists after all.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Petremann@21:1/5 to All on Fri Oct 21 07:45:27 2022
    Le jeudi 20 octobre 2022 à 17:19:43 UTC+2, minf...@arcor.de a écrit :
    mpetre...@gmail.com schrieb am Donnerstag, 20. Oktober 2022 um 15:20:24 UTC+2:
    See here: https://www.reddit.com/r/ESP32forth/comments/y8y30m/convert_infix_to_postfix_notation_for_esp32forth/

    See also Julian Noble's formula translator: https://galileo.phys.virginia.edu/classes/551.jvn.fall01/ftran202.htm

    The JVN article is from 2004
    The code originally used by me is from 1986 for TURBO-Forth MS-DOS 3.x
    I have a gForth adapted version here: https://github.com/MPETREMANN11/gFORTH/blob/master/infix.txt
    My code has the advantage of being quite short and understandable.
    I just adapted it for ESP32Forth, because it can help developers to handle quite long arithmetic and logic formulas. Yes, you can mix arithmetic and logical operators. A very good example here:
    https://esp32.arduino-forth.com/article/tools_infixToPostfix#progLin
    Final result with no if..else..then: https://esp32.arduino-forth.com/articles/images/tools/infixToPostfix/infixGraph.png

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Gwylbert
      Mon May 12 05:32:08 2025
      from Sydney, Nsw via Telnet
    • Centurion
      Mon May 12 05:18:30 2025
      from Berea, Ohio via Telnet
    • Foriest Jan Smith
      Mon May 12 03:34:28 2025
      from Natchitoches, La via SSH
    • Plume
      Mon May 12 02:17:08 2025
      from Uk via SSH
    • Centurion
      Mon May 12 00:44:41 2025
      from Berea, Ohio via Telnet
    • Bob Smith
      Mon May 12 00:15:43 2025
      from Here via Raw
    • Brianm
      Sun May 11 22:42:59 2025
      from Glasgow via Raw
    • Foriest Jan Smith
      Sun May 11 01:11:46 2025
      from Natchitoches, La via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 475
    Nodes: 16 (2 / 14)
    Uptime: 18:12:10
    Calls: 9,487
    Calls today: 6
    Files: 13,617
    Messages: 6,121,091

© >>> Magnum BBS <<<, 2025