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

    • Csaba
      Wed Jul 2 16:56:31 2025
      from Budapest via SSH
    • Dindjarin
      Wed Jul 2 16:51:20 2025
      from Mandalore via SSH
    • Bob Worm
      Wed Jul 2 08:43:00 2025
      from Wales, Uk via Telnet
    • Dindjarin
      Wed Jul 2 06:31:28 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 06:16:35 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 05:31:07 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 05:23:25 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 02:18:23 2025
      from Mandalore via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 504
    Nodes: 16 (2 / 14)
    Uptime: 237:30:41
    Calls: 9,887
    Calls today: 9
    Files: 13,794
    Messages: 6,207,246
    Posted today: 3

© >>> Magnum BBS <<<, 2025