Example #1
0
        private void Expressions()
        {
            try
            {
                var result = new ExpressionParser().Parse("12*-23");

                var dumper = new TreeDumpVisitor();

                result.Accept(dumper);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
        }