|
Any operator who slips you a twenty gets precedence.
|
|
|
|
|
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
\
"!"
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
honey the codewitch wrote: how to enforce operator precedence in parsing code.
You forgot what parentheses are for?
|
|
|
|
|
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
|
|
|
|
|
|
Are you expecting us to click an unknown trick kindof link?
|
|
|
|
|
Could be ... [^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Isn't linking to other interconnected pages sort of the basis for the internet?
How do you browse if you don't trust links?
Besides, southmountain is a long time and upstanding member with 23K, he's not posting spam.
Last, but not least, you can clearly see it's an article on msn by hovering over the link (at least on desktop).
|
|
|
|
|
I am on mobile, not able to see link.
|
|
|
|
|
One of my pet peeves of browsing on mobile.
|
|
|
|
|
Ooh, unpleasant.
I'd hoped it'd work when using a mouse, since you'd have a cursor. Nope.
|
|
|
|
|
When you keep pressing a link, a popup will open and you can see where it goes to at the top (at least on Android).
|
|
|
|
|
Well THANK YOU for that. You win the internetz for today.
Which leads me to my next mobile pet-peeve: Discoverability.
Press and hold?
Top-left corner? Bottom-right?
Slide from any of the four directions?
Is it a Tuesday? Is the full moon this week? Do I have to stand on one foot?
And don't get me started on gestures. The only gesture I feel I should know about is the one involving the middle finger.
I like to think I'm no luddite, but I'm still finding unfamiliar things so much easier to figure out on a PC than any phone I've ever used. And then Android keeps moving things from one version to the next...
|
|
|
|
|
Press and hold link until the context menu comes up, at the top you'll see the link.
Works at least in chrome for android.
|
|
|
|
|
That's one of the most important reasons I use a VM
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
no, it is good link from MSN news
diligent hands rule....
|
|
|
|
|
Smells like the fetid under droppings of the male member of the bovine species to me.
|
|
|
|
|
To be effective you have to shape it in the form of a hat and cover router.
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.4.0 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
That only helps to keep the government out (be aware that your WiFi enabled microwave won't work anymore though)
|
|
|
|
|
It may work under some conditions because the foil could act as a mirror to the radio waves.
On the other hand, because the wavelength of 2.4 GHz is about 12.5 cm, if the foil was close to the antenna, the reflections could cancel out direct radiation from the antenna in places. This would lead to hit and miss reception depending on the exact placement of the WiFi device.
|
|
|
|
|
Rabbit Ears would probably work just as well as tin foil, right?
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.4.0 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
As long as they were parabolic.
|
|
|
|