Login Register


Tutorial CYFPL - Part 2 - Inception filter_list
Author
Message
RE: CYFPL - Part 2 - Inception #7
(01-02-2017, 09:56 PM)phyrrus9 Wrote:
(01-02-2017, 08:58 PM)God Wrote: Just wondering where subtraction and division come into play? Since expressions could be more than adding or multiplying.

Also, I know Java better than C, but I should be fine understanding the C code anyway. I don't mind having to figure things out.

Good question with sub and div, I didn't really draw this out as clearly as I should have. I defined mult-op as multiply, divide, and modulo and add-op as add and subtract, doing it this way just makes it cleaner, not having 5 symbols (or even worse, 5 cases) in the grammar.

Oh okay. That makes a lot more sense now.
"If you look for the light, you can often find it. But if you look for the dark, that is all you will ever see.”


Reply





Messages In This Thread
CYFPL - Part 2 - Inception - by phyrrus9 - 01-02-2017, 06:29 PM
RE: CYFPL - Part 2 - Inception - by pvnk - 01-02-2017, 08:13 PM
RE: CYFPL - Part 2 - Inception - by phyrrus9 - 01-02-2017, 08:15 PM
RE: CYFPL - Part 2 - Inception - by pvnk - 01-03-2017, 02:39 AM
RE: CYFPL - Part 2 - Inception - by Nil - 01-02-2017, 08:58 PM
RE: CYFPL - Part 2 - Inception - by Blink - 01-02-2017, 09:42 PM
RE: CYFPL - Part 2 - Inception - by phyrrus9 - 01-02-2017, 09:56 PM
RE: CYFPL - Part 2 - Inception - by Nil - 01-02-2017, 10:37 PM
RE: CYFPL - Part 2 - Inception - by Inori - 01-03-2017, 04:06 AM
RE: CYFPL - Part 2 - Inception - by phyrrus9 - 01-03-2017, 07:24 AM
RE: CYFPL - Part 2 - Inception - by pvnk - 01-03-2017, 07:12 PM
RE: CYFPL - Part 2 - Inception - by Skryptec - 03-13-2017, 10:54 PM



Users browsing this thread: 1 Guest(s)