DESCRIPTION # # Defines the assumptions about symbols for # the following contexts # Full => tries to include everything, but has some compromises # Numeric => includes lists, but no complexes, points, vector, intervals, etc. # Complex => has complexes, but no points, vectors, etc. # Point => numeric context with syntax for points # Vector => numeric context with points and vectors # Vector2D => vector context where i and j are vectors in 2D rather than 3D # Matrix => numeric context with points, vectors and matrices # Interval => numeric context with syntax for intervals and unions # Complex-Point => like Point but for complex numbers # Complex-Vector => like Vector but with complex numbers # Complex-Matrix => like Matrix but with complex numbers # # You can list the defined contexts using: # # \{join($BR, lex_sort keys %Parser::Context::Default::context )\}

Context hashes

# # Define the default operators, parens, constants, variables functions, etc. # # List types: e.g. Point, Vector, Matrix, -- define open and close brackets # # strings, flags