~alexreg/mathtexdotnet/0.1

« back to all changes in this revision

Viewing changes to TexDotNet.CommandLine/Program.cs

  • Committer: Alex Regueiro
  • Date: 2009-09-17 00:51:15 UTC
  • Revision ID: alexreg@gmail.com-20090917005115-wru7sxue0rko028j
Updated grammar specification. Added support for catching unexpected end of token stream. Parser now handles fractions, binomials, and square roots (with optional index argument). Added IsArgument property to ExpressionNode; handled by TreeTextRenderer class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
            Console.WindowHeight = 40;
14
14
#endif
15
15
 
16
 
            const string testExpr = @"1+2^{-6}*8-3/27+4-13*([4-2]*5)";
 
16
            const string testExpr = @"\frac{1}{3}+2^{-6+\alpha}*8-\sqrt[4]{3}/27+4-13*([4-2]*5)";
17
17
 
18
18
            var treeRenderer = new TreeTextRenderer(Console.Out);
19
19