<<< Mutable substring example     Table Of Contents     Grammar debugging and tracing >>>

Common Text Transformation Library http://cttl.sourceforge.net/

CTTL grammar tutorial


  1. Arithmetic expression lexer
  2. Arithmetic expression parser
  3. Arithmetic parser organization
  4. arithmetics.cpp
  5. Arithmetic parser error handling


Arithmetic expression lexer



Arithmetic expression parser



Arithmetic parser organization


Keywords: arithmetics.cpp, grammar, term, factor, primary, CTTL_RULE, CTTL_MEMBER_RULE, string_array2string, policy_space, arithmetic parser, semantic action


Arithmetic parser error handling



Copyright © 1997-2009 Igor Kholodov mailto:cttl@users.sourceforge.net.

Permission to copy and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.


 

 

<<< Mutable substring example     Table Of Contents     Grammar debugging and tracing >>>