Any Webmaster Forums  

Go Back   Any Webmaster Forums > Web Hosting Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-23-2017, 08:00 AM
chinmay.sahoo chinmay.sahoo is offline
Junior Member
 
Join Date: Feb 2017
Posts: 3
Arrow What is Expression Trees?

Expression Trees was first introduced in C# 3.0 (Visual Studio 2008), where they were mainly used by LINQ providers. Expression trees represent code in a tree-like format, where each node is an expression (for example, a method call or a binary operation such as x < y).

You can also convert expression trees into compiled code and run it. This transformation enables dynamic modification of executable code as well as the execution of LINQ queries in various databases and the creation of dynamic queries.
__________________
Asthijivak | Fat Cutter | Hot Shaper
Reply With Quote
  #2  
Old 01-29-2018, 07:08 AM
VJIADIS VJIADIS is offline
Junior Member
 
Join Date: Jan 2018
Posts: 2
Default

I think the easiest that to do this to write a recursive descent parser. But old guys like me that learned Forth at one point or another might want to use an infix to postfix order converter using a stack and then evaluate the stack using postfix evaluation. I'm sure a search on either will probably produce ready to go code, but you'll lean more for your homework by checking Wikipedia for infix and postfix and learning the algorithm and coding it from scratch using your web hosting such as siteground (http://www.sitegroundwebhostingreviews.com/). If you have functions and operator precedence make sure you check the shunting-yard algorithm.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 01:45 PM.


Powered by: vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
| Webmaster Forum | | VPS Forum | Domain Name Forum