www.delorie.com/gnu/docs/calc/calc_188.html   search  
 
Buy the book!


GNU Emacs Calc 2.02 Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.8.8 Syntax Tables

Syntax tables do for input what compositions do for output: They allow you to teach custom notations to Calc's formula parser. Calc keeps a separate syntax table for each language mode.

(Note that the Calc "syntax tables" discussed here are completely unrelated to the syntax tables described in the Emacs manual.)

The Z S (calc-edit-user-syntax) command edits the syntax table for the current language mode. If you want your syntax to work in any language, define it in the normal language mode. Type M-# M-# to finish editing the syntax table, or M-# x to cancel the edit. The m m command saves all the syntax tables along with the other mode settings; see section 7.1 General Mode Commands.

7.8.8.1 Syntax Table Basics  
7.8.8.2 Precedence  
7.8.8.3 Advanced Syntax Patterns  
7.8.8.4 Conditional Syntax Rules  


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003