Click here to Skip to main content
15,886,137 members
Articles / Desktop Programming / ATL

Visual Calc v3.0 - A new dimension for the desktop calculator

Rate me:
Please Sign up or sign in to vote.
3.62/5 (113 votes)
28 Apr 2006CPOL22 min read 351.9K   6.8K   104  
How to start programming a parser.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>VisualCalc Parser: Class List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.5 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li id="current"><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>VisualCalc Parser Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
  <tr><td class="indexkey"><a class="el" href="struct_answer_item.html">AnswerItem</a></td><td class="indexvalue">Type for an entry in the answers history </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_answer_requested_not_found_exception.html">CAnswerRequestedNotFoundException</a></td><td class="indexvalue">Exception for when an answer requested cannot be found </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_closing_parenthesis_expected_exception.html">CClosingParenthesisExpectedException</a></td><td class="indexvalue">Exception for when a closing parenthesis is missing </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_constant_assignation_exception.html">CConstantAssignationException</a></td><td class="indexvalue">Exception for when the user tries to assign a constant </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_division_by_zero_exception.html">CDivisionByZeroException</a></td><td class="indexvalue">Exception for when the user makes a division by 0 </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_domain_exception.html">CDomainException</a></td><td class="indexvalue">Parent class for VisualCalc Domain Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_dom_parameter_must_be_an_integer_exception.html">CDomParameterMustBeAnIntegerException</a></td><td class="indexvalue">Exception for when a parameter must be an integer </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_dom_parameter_must_be_positive_exception.html">CDomParameterMustBePositiveException</a></td><td class="indexvalue">Exception for when a parameter must be positive </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_dom_parameters_must_be_integers_exception.html">CDomParametersMustBeIntegersException</a></td><td class="indexvalue">Exception for when several parameters of a function must be integers </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_dom_parameters_must_be_positive_exception.html">CDomParametersMustBePositiveException</a></td><td class="indexvalue">Exception for when several parameters of a function must be positive </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_factorial_def_for_positive_ints_exception.html">CFactorialDefForPositiveIntsException</a></td><td class="indexvalue">Exception for when the user asks for a negative factorial </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_function_exception.html">CFunctionException</a></td><td class="indexvalue">Parent class for VisualCalc Function Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_function_not_supported_exception.html">CFunctionNotSupportedException</a></td><td class="indexvalue">Exception for when a function called is not supported yet </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_illegal_use_of_fonction_name_exception.html">CIllegalUseOfFonctionNameException</a></td><td class="indexvalue">Exception for when a function name is used an illegal way </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_implicit_multiplication_exception.html">CImplicitMultiplicationException</a></td><td class="indexvalue">Exception for when a variable name is used as a function </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_literal_assignation_exception.html">CLiteralAssignationException</a></td><td class="indexvalue">Exception for when the user tries to assign a literal </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_mathematic_exception.html">CMathematicException</a></td><td class="indexvalue">Parent class for VisualCalc Mathematic Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_mathematic_expression_expected_exception.html">CMathematicExpressionExpectedException</a></td><td class="indexvalue">Exception for when a mathematic expression was expected </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_math_parameter_must_be_an_integer_exception.html">CMathParameterMustBeAnIntegerException</a></td><td class="indexvalue">Exception for when a parameter have to be an integer </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_math_parameter_must_be_positive_exception.html">CMathParameterMustBePositiveException</a></td><td class="indexvalue">Exception for when a parameter have to be positive </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_n_must_be_positive_exception.html">CNMustBePositiveException</a></td><td class="indexvalue">Exception for when 'n' is a negative parameter </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_parameter_exception.html">CParameterException</a></td><td class="indexvalue">Parent class for VisualCalc Parameter Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_parameter_out_of_range_exception.html">CParameterOutOfRangeException</a></td><td class="indexvalue">Exception for when a parameter is out of range </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_parser_exception.html">CParserException</a></td><td class="indexvalue">Parent class for VisualCalc general Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_period_unexpected_exception.html">CPeriodUnexpectedException</a></td><td class="indexvalue">Exception for when an unexpected period character is found </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_p_must_be_positive_exception.html">CPMustBePositiveException</a></td><td class="indexvalue">Exception for when 'p' is a negative parameter </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_p_must_be_smaller_than_n_exception.html">CPMustBeSmallerThanNException</a></td><td class="indexvalue">Exception for when 'p' is smaller than 'n' </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_syntax_exception.html">CSyntaxException</a></td><td class="indexvalue">Parent class for VisualCalc Syntax Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_too_few_parameters_exception.html">CTooFewParametersException</a></td><td class="indexvalue">Exception for when a function parameters list is missing some parameters </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_too_many_parameters_exception.html">CTooManyParametersException</a></td><td class="indexvalue">Exception for when a function parameters list has too much parameters </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_undefined_variable_exception.html">CUndefinedVariableException</a></td><td class="indexvalue">Exception for when the user uses an undefined variable </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_unexpected_character_exception.html">CUnexpectedCharacterException</a></td><td class="indexvalue">Exception for when an unexpected character is found </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_unknown_exception.html">CUnknownException</a></td><td class="indexvalue">Exception for for an unknown internal crash </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_unknown_function_called_exception.html">CUnknownFunctionCalledException</a></td><td class="indexvalue">Exception for when an unknown function is called </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_variable_exception.html">CVariableException</a></td><td class="indexvalue">Parent class for VisualCalc Variable Exceptions </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_v_calc_parser.html">CVCalcParser</a></td><td class="indexvalue">VisualCalc Parser </td></tr>
  <tr><td class="indexkey"><a class="el" href="class_c_v_calc_parser_exception.html">CVCalcParserException</a></td><td class="indexvalue">Base class for VisualCalc Parser Exceptions </td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 6 23:55:55 2006 for VisualCalc Parser by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Accenture Technology Solutions
France France

Toxcct is an electronics guy who felt in love with programming at the age of 10 when he discovered C to play with Texas-Instruments calculators.

Few years later, he discovered "The C++ Language" from Bjarne Stroustrup ; a true transformation in his life.

Now, toxcct is experiencing the Web by developing Siebel CRM Applications for a living. He also respects very much the Web Standards (YES, a HTML/CSS code MUST validate !), and plays around with HTML/CSS/Javascript/Ajax/PHP and such.

_____

After four years of services as a Codeproject MVP, toxcct is now taking some distance as he doesn't like how things are going on the forums. he particularly doesn't accept how some totally ignorant people got the MVP Reward by only being arrogant and insulting while replying on the technical forums.



Comments and Discussions