Every time i study about Parse tree (Compiler deisgn/Theory of compuatation), I get confused what expression, term and item actually means. So i am blogging for my reference and hope it will be useful to others too.
- An expression is a sum (with + or -) of terms.
- A term is a product (with * or /) of items.
- An item is either a number, or a variable name, or an expression enclosed in parentheses.
1 comment:
Hello, I just wanted to take some time today to make a comment and say I have really enjoyed reading your blog. Thanks for all your work!
pikdo
Post a Comment