Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#51 Coder's Corner » installing linux mint 15 from dvd-problem. » 2014-01-14 19:07:47

yazz
Replies: 7

hi, i  have a dvd which has setups of mageia 3, linux mint and manjaro.but when i boot the dvd, it only boots the mageia 3.though i can find the iso's of other 2 i don't have any idea about installing those.should i burn them in separate dvd's..

#52 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 18:01:09

linux distrib?ok i wanna rise another question..
thank you

#53 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 17:38:01

you
may try Lex and Yacc and avoid worrying about
tokenizing, parsing etc.

yeah i've tried that before but it is more advanced or not meant for my goal.my goal is to learn c c++ c# and java as deep as possible...and if i were asked to build a parser with out those lex and yacc's in my future college studies i should not struggle there.and also it provides fum time on learning those things.and i am now self educative. and one more thing what are all other things i should know  to become a programmer.am i clear in my question.

#54 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 16:35:34

thank you but i already know that and also implemented it.and sorry that i havn't mentioned that i know it in my algorithm.but you are really great

#55 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 16:21:09

thank you.and another thing.i know to use nodes but don't know its practical implementation.shame on myself.i also can't fins any  goodonline tutorials on it.so can you help me

#56 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 16:12:05

and i will post my questions again when i am stuck.

#57 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 16:08:26

thank you..and a little correction.. 1 2 + will become  3 after evaluating .because 1 and 2 will be popped of from the stack.

#58 Re: Coder's Corner » how to make an expression parser in c# » 2014-01-14 15:41:00

i didn't know that.my reference book told to do.the expression parser provided in that book also parses functions.this may be the reason why they tokenize them..and also my web searchs say that converting

34.7+86

into rpn also requires tokenizing them yikes because each string literal is not always a token in these cases ..or do you have any other idea converting intimo rpn..i know what is rpn but implementing it is little bit hard for me..

#59 Coder's Corner » how to make an expression parser in c# » 2014-01-14 07:06:41

yazz
Replies: 44

hi,i am recently working on expression parsing.and now i have made a parser that can interpret expression of single digit.

1+5*4*(7-3)

but can you give me some suggestions so that i can parse expression of numbers more than a digit.i don't know where to start over.
how ever i figured out the overall algorithm

receive the expression
tokenize them //this is where my problem rose :(
evaluate them 
output the evaluated

this may not look like an algorithm.it is kind of outline. but i managed to do all others except that i can't figure out what is the logic behind tokenizing .any help would be highly appreciated.
am i missing some details...should i give more?should i give my source code?

#61 Re: Introductions » hi all » 2014-01-14 06:22:46

yeah..and can i post my homeworks questions.i mean it seems you and your team can teach me better than my teacher.bcoz my math teacher is not so great and lively and friendly as you are..she only wants us to score up and up and quality education is smile lacking ..

#62 Re: Introductions » hi all » 2014-01-14 05:55:27

yeah i will..and thank you... smile

#63 Re: Introductions » hi all » 2014-01-14 05:40:09

if you don't mind,can you share,what was your mindset when you were in my age..just to confirm that i am in right path.. smile

#64 Re: Introductions » hi all » 2014-01-14 05:21:58

wow...i know you are a math genie...are you in programming as well...

#65 Re: Introductions » hi all » 2014-01-14 04:59:52

and i am happy on receiving quick reply..bobbym

#66 Re: Introductions » hi all » 2014-01-14 04:57:50

yeah and you guys are interesting...

#67 Introductions » hi all » 2014-01-14 04:50:02

yazz
Replies: 17

hi i am yashwanth,in India. and i don't have big background . i am a student of 16 yrs.i love programming. (but not a pro tongue,i always wanna be one).and my recent google searches took me here.i am little attractive towards math and my school teacher is not innovative somuch.since programming requires lot of math knowledge,i hope you all can help me.you guys seems to be a big community.

Board footer

Powered by FluxBB