Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I forgot how to ride a bike

I forgot how to ride a bike

Scheduled Pinned Locked Moved The Lounge
designcomgraphicsiotjson
10 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • honey the codewitchH Offline
    honey the codewitchH Offline
    honey the codewitch
    wrote on last edited by
    #1

    I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    B D P 0 Richard Andrew x64R 7 Replies Last reply
    0
    • honey the codewitchH honey the codewitch

      I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      B Offline
      B Offline
      BernardIE5317
      wrote on last edited by
      #2

      how improve short term and long term memory - Search[^] Boost your memory by eating right - Harvard Health[^]

      1 Reply Last reply
      0
      • honey the codewitchH honey the codewitch

        I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

        D Offline
        D Offline
        Daniel Pfeffer
        wrote on last edited by
        #3

        honey the codewitch wrote:

        Next I will forget my birthday.

        Just don't forget your SO's birthday... :)

        Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

        1 Reply Last reply
        0
        • honey the codewitchH honey the codewitch

          I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Any operator who slips you a twenty gets precedence.

          1 Reply Last reply
          0
          • honey the codewitchH honey the codewitch

            I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

            Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

            0 Offline
            0 Offline
            0x01AA
            wrote on last edited by
            #5

            Pretty sure you already got it back. Anyway my 30 years old notes, based on a Modula2 publication from Niklaus Wirth ;)

            Expression
            \
            SimpleExpression {Relation SimpleExpression}
            \ \
            \ "=="¦"!="¦"<"¦"<="¦">"¦">="
            \
            ["+"¦"-"] Term {AddOperator Term}
            \ \
            \ "+"¦"-"¦"||"
            \
            Factor {MulOperator Factor}
            \ \
            \ "*" ¦ "/" ¦ "&&"
            \
            Number
            |
            Variable
            |\
            | Designator
            |
            |
            String
            |\
            | """ {Aplha¦Digit} """
            |
            |
            FunctionCall
            |\
            | Designator [ParameterList]
            |
            |
            "(" Expression ")"
            |
            Negation
            \
            "!"

            honey the codewitchH 1 Reply Last reply
            0
            • honey the codewitchH honey the codewitch

              I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

              Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

              Richard Andrew x64R Offline
              Richard Andrew x64R Offline
              Richard Andrew x64
              wrote on last edited by
              #6

              Not clear on what happened. Did you forget to put operator precedence enforcement into the program, or did you forget how to implement operator precedence enforcement?

              The difficult we do right away... ...the impossible takes slightly longer.

              1 Reply Last reply
              0
              • 0 0x01AA

                Pretty sure you already got it back. Anyway my 30 years old notes, based on a Modula2 publication from Niklaus Wirth ;)

                Expression
                \
                SimpleExpression {Relation SimpleExpression}
                \ \
                \ "=="¦"!="¦"<"¦"<="¦">"¦">="
                \
                ["+"¦"-"] Term {AddOperator Term}
                \ \
                \ "+"¦"-"¦"||"
                \
                Factor {MulOperator Factor}
                \ \
                \ "*" ¦ "/" ¦ "&&"
                \
                Number
                |
                Variable
                |\
                | Designator
                |
                |
                String
                |\
                | """ {Aplha¦Digit} """
                |
                |
                FunctionCall
                |\
                | Designator [ParameterList]
                |
                |
                "(" Expression ")"
                |
                Negation
                \
                "!"

                honey the codewitchH Offline
                honey the codewitchH Offline
                honey the codewitch
                wrote on last edited by
                #7

                Thanks, but I can write a grammar for it. I just forgot how to write the code. :P

                Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                1 Reply Last reply
                0
                • honey the codewitchH honey the codewitch

                  I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

                  Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                  S Offline
                  S Offline
                  snorkie
                  wrote on last edited by
                  #8

                  Sadly, I came to this thread to read about bicycles :( I recently acquired a Circus Bike and that will make you feel like you truly can't ride a bike! Now back to your regularly scheduled programming.

                  Hogan

                  1 Reply Last reply
                  0
                  • honey the codewitchH honey the codewitch

                    I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code. I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point. Next I will forget my birthday. :~

                    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #9

                    honey the codewitch wrote:

                    how to enforce operator precedence in parsing code.

                    You forgot what parentheses are for?

                    honey the codewitchH 1 Reply Last reply
                    0
                    • J jschell

                      honey the codewitch wrote:

                      how to enforce operator precedence in parsing code.

                      You forgot what parentheses are for?

                      honey the codewitchH Offline
                      honey the codewitchH Offline
                      honey the codewitch
                      wrote on last edited by
                      #10

                      No. This isn't about constructing an expression that overrides precedence, but rather properly evaluating an expression with proper precedence.

                      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups