Changeset 728 for to-imperative/trunk/docs
- Timestamp:
- May 11, 2003, 11:25:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/docs/ASAIL-syntax-long.tex
r700 r728 28 28 | (EVAR t.QualifiedName) | (SVAR t.QualifiedName) 29 29 e.body ::= /*empty*/ | t.statement e.body 30 t.statement ::= t.call | t.tailcall | t.assign | t.decl 31 |t. if | t.for | t.continue | t.break30 t.statement ::= t.call | t.tailcall | t.assign | t.decl 31 |t.decl-int | t.if | t.for | t.continue | t.break 32 32 |t.lsplit | t.rsplit | t.catch | t.try 33 33 |t.drop | t.expr-obj | t.deref | t.subexpr 34 34 |t.constexpr | t.blok-label | t.decl-func 35 |t.error | t.decl-const 35 |t.error | t.decl-const | t.decl-obj 36 36 | RETURN 37 37 \textit{// нОЕПЮРНП СЯОЕЬМНЦН БШУНДЮ ХГ ТСМЙЖХХ.} … … 61 61 // int (ЖЕКШЕ ВХЯКЮ) Х Expr (пЕТЮК-БШПЮФЕМХЪ).} 62 62 s.type ::= "Expr" | "int" 63 t.decl-int ::= (INT t.var e.expr-int) 64 \textit{// нАЗЪБКЕМХЕ ОЕПЕЛЕММНИ t.var РХОЮ int 65 // Х ХМХЖХЮКХГЮЖХЪ ЕЕ ГМЮВЕМХЕЛ e.expr-int.} 63 66 t.if ::= (IF (e.cond) e.body) 64 67 \textit{// сЯКНБМШИ НОЕПЮРНП, ЦДЕ e.cond - СЯКНБХЕ, … … 93 96 |(NOT e.cond) 94 97 \textit{// кНЦХВЕЯЙНЕ НРПХЖЮМХЕ СЯКНБХЪ e.cond.} 95 |(INFIX s.op-bool e. expr-log)98 |(INFIX s.op-bool e.args-log) 96 99 |(INFIX s.op-eq e.args-int) 100 e.args-log ::= /*empty*/ | (e.cond) e.args-log 97 101 e.pos ::=e.expr-int 98 102 e.len ::= e.expr-int … … 101 105 |t.int-term e.expr-log 102 106 s.op-bool ::= "&&" | "||" 103 s.op-eq ::= "<" | ">" | "<=" | ">=" | "==" 107 s.op-eq ::= "<" | ">" | "<=" | ">=" | "==" | "!=" 104 108 t.for ::= (FOR (e.maybe-empty)(e.cond)(e.step)e.body) 105 109 \textit{// жХЙК FOR, ЦДЕ e.maybe-empty - empty ХКХ ЛЕРЙЮ ЖХЙКЮ … … 179 183 t.decl-const ::= (DECL-CONST t.QualifiedName) 180 184 \textit{// нАЗЪБКЕМХЕ ЙНМЯРЮМРМНЦН НАЗЕЙРЮ.} 185 t.decl-obj ::= (DECL-OBJ s.linkage s.tag t.QualifiedName) 186 \textit{// нАЗЪБКЕМХЕ ОПНХГБНКЭМШУ НАЗЕЙРНБ, s.tag - РХО НАЗЕЙРЮ.} 187 s.tag ::= "Box" | "Vector" | ... 181 188 t.blok-label ::= (LABEL (e.maybe-empty) e.body) 182 189 \textit{// аКНЙ, ЦДЕ e.body - РЕКН АКНЙЮ,
Note: See TracChangeset
for help on using the changeset viewer.