Differences From Artifact [d2cf6de49dcafd42]:
- File
index.dd
- 2010-11-27 11:46:26 - part of checkin [203e4cb208] on branch trunk - fixed automatic memoization bug (whole part of the contexts are now used as the memo key) (user: kinaba) [annotate]
To Artifact [a3c506d4caf580c9]:
- File
index.dd
- 2010-11-27 12:49:03 - part of checkin [a795c97dc3] on branch trunk - changed Let.init to Let.vdef. IT IS VERY DANGEROUS TO USE .init MEMBER NAME in D!!!!!!!! (user: kinaba) [annotate]
283 283 ))
284 284
285 285
286 286
287 287
288 288
289 289 $(SECTION Layers, $(SECBODY
290 +<p>
291 +この言語の唯一の特徴的な部分は、「レイヤ」機能です。
292 +</p>
293 +$(DDOC_MEMBERS
294 +$(SECTION Layers, $(SECBODY
290 295 <pre>
291 296 [Layers :: Overview]
292 297
293 298 Polemy's runtime environment has many "layer"s.
294 299 Usual execution run in the @value layer.
295 300
296 301 >> 1 + 2
................................................................................
433 438 /fst@value:3
434 439 /}
435 440
436 441 its corresponding arguments are evaluated in the layer and passed to it.
437 442 If you specify multiple layers, the argument expression is run multiple times.
438 443 If you do not specify any layer for a parameter, it works in the neutral layer.
439 444 </pre>
445 +))
446 +)
440 447 ))
441 448
442 449
443 450 $(SECTION Macro Layers, $(SECBODY
444 451 <p>
445 452 Polemy 言語組み込みのレイヤは <code>@value</code> と <code>@macro</code> の二つです。
446 453 (内部的にはもういくつかありますが、ユーザから直接は使えません。)