C program to solve expressions with functions in it [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I tried to write a program some thing like a expression solver to support only the following functions
length();
substr();
concat();
Hence if the user inputs
concat('Int Part : ', substr(5.00+4.00, 0, 1))
the output should be
Int Part : 9
Is there any library to do this or is there any place I can learn how to do this kind of thing.

I guess you should take a look at this: http://en.wikipedia.org/wiki/Recursive_descent_parser
Also, I suggest bison and yacc which are powerful tools for what you need. But they are a bit complex.

Related

Qbasic interpreter for cpp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I like to embed QBasic or some subset of VBscript alike script in cpp app .
is there any such thing ?
You can use the ScriptControl (1, 2) or implement an ActiveScriptHost (1, 2)
Update: If you need cross-platform scripting, consider to use Perl, Python, Lua, QTScript, ... instead of Basic.

IDE that can display LaTeX in comments [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there any C++ IDE that can display LaTeX formulas in C++ comments as formulas? I envision this as a very handy instrument to document code that implements some math, but in order for it to be useful LaTeX code should be compiled and shown as set of glyphs.

Where can I find a simple and easy to read x86 backend? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Currently I'm working in a simple code generator to output an assembly-like language.
Background:
I've already working part of a register allocator but now I need to deal with instructions like mul/div which has fixed registers as input: eax/ebx which I don't know how to deal with it, so I'm looking for see how other implemenations does it. I've tried tcc. While the code is very small I find a bit hard to understand.
NOTE: I'm targeting C/C++ because it's the languages I'm more familiar with, but implementation in any language is very welcome.

Is there a flex substitute [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I just heard that flex is "abandonware". I am using it now with some difficulty, is there a replacement Regular Expression generator compatible with bison?
Flex isn't deprecated, I think you confused Adobe Flex (framework) and Flex (lexical analyser generator).

any decent graph libraries for C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wish to generate a graph with a date on the X axis and price on the Y, are there any decent libraries out there which will help me accomplish this with very little overhead?
thanks in advance
I really like qwt, but this is not low overhead. maybe gplot, but give more info about your contaxt perharps.
http://qwt.sourceforge.net/
http://gplot.sourceforge.net/