summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-04-06 17:28:48 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-04-06 17:28:48 +0200
commit685fbe269923cfc0202975505fffbdca0479a065 (patch)
tree02675be42d33720a495480e73a899d8a07749bbd /doc
parent205fd10c52e933557bedf0e8af1454ba88928313 (diff)
say something about precedences
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.pandoc14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/guide.pandoc b/doc/guide.pandoc
index 2493375e..64774eba 100644
--- a/doc/guide.pandoc
+++ b/doc/guide.pandoc
@@ -253,12 +253,14 @@ Parsing & desugaring
253Parser tasks 253Parser tasks
254 254
255- recognise syntactic structures 255- recognise syntactic structures
256- apply precedences
256- compute ranges of syntactic structures 257- compute ranges of syntactic structures
257- handle namespaces: expression + type namespace 258- handle namespaces: expression + type namespace
258 259
259Parser design decisions 260Parser design decisions
260 261
261 262- precedence application is done during parsing
263 This is possible with tying-the-knot technique: precedence information is part of parse result and it is used during parsing at the same time.
262 264
263Scope checker tasks 265Scope checker tasks
264 266
@@ -508,12 +510,18 @@ In fact, the rich context is very close to the zipper of expressions.
508The type inference algorithm becomes tails recursive if its arguments are the rich context and the subexpression. 510The type inference algorithm becomes tails recursive if its arguments are the rich context and the subexpression.
509 511
510 512
513Insertion of metavariables
514--------------------------
515
516
517
518
519
511Solving metavariables 520Solving metavariables
512--------------------- 521---------------------
513 522
514 523
515Insertions of metavariables 524
516---------------------------
517 525
518 526
519 527