29.11.2012 Views

MetaFun - Pragma ADE

MetaFun - Pragma ADE

MetaFun - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

326<br />

〈on/off clause〉<br />

→ on 〈numeric tertiary〉<br />

| off 〈numeric tertiary〉<br />

〈boolean expression〉 → 〈expression〉<br />

〈cmykcolor expression〉 → 〈expression〉<br />

〈color expression〉 → 〈expression〉<br />

〈numeric atom〉 → 〈atom〉<br />

〈numeric expression〉 → 〈expression〉<br />

〈numeric primary〉 → 〈primary〉<br />

〈numeric tertiary〉 → 〈tertiary〉<br />

〈numeric variable〉 → 〈variable〉 | 〈internal variable〉<br />

〈pair expression〉 → 〈expression〉<br />

〈pair primary〉 → 〈primary〉<br />

〈path expression〉 → 〈expression〉<br />

〈path subexpression〉 → 〈subexpression〉<br />

〈pen expression〉 → 〈expression〉<br />

〈picture expression〉 → 〈expression〉<br />

〈picture variable〉 → 〈variable〉<br />

〈rgbcolor expression〉 → 〈expression〉<br />

〈string expression〉 → 〈expression〉<br />

〈suffix parameter〉 → 〈parameter〉<br />

〈transform primary〉 → 〈primary〉<br />

〈program〉<br />

→ 〈statement list〉 end<br />

〈statement list〉<br />

→ 〈empty〉<br />

| 〈statement list〉 ; 〈statement〉<br />

〈statement〉<br />

→ 〈empty〉<br />

| 〈equation〉<br />

| 〈assignment〉<br />

| 〈declaration〉<br />

| 〈macro definition〉<br />

| 〈compound〉<br />

| 〈pseudo procedure〉<br />

| 〈command〉<br />

〈compound〉<br />

→ begingroup 〈statement list〉 endgroup<br />

| beginfig ( 〈numeric expression〉 ) ; 〈statement list〉 〈;〉 endfig<br />

〈equation〉<br />

→ 〈expression〉 = 〈right-hand side〉<br />

METAPOST syntax Syntax diagrams

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!