Skip to content

Commit

Permalink
Merge pull request #35 from mpsijm/patch-1
Browse files Browse the repository at this point in the history
Slightly clarify the doc for `jsglr-version`
  • Loading branch information
jasperdenkers committed Sep 19, 2020
2 parents 0b12c8b + 34c9986 commit c042525
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source/langdev/meta/lang/sdf3/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,16 @@ syntax highlighting. Error reporting, recovery and completions are currently not
sdf:
jsglr-version: v2
There are some extensions of JSGLR2 available. To use them, set the ``jsglr-version`` option to one of the following:
There are some extensions of JSGLR2 available. To use them, change the ``jsglr-version`` by replacing ``v2`` with
one of the following:

:``data-dependent``: Data-dependent JSGLR2 solves deep priority conflicts using data-dependent parsing, which does
not require duplicating the grammar productions.
:``incremental``: Incremental JSGLR2 reuses previous parse results to speed up parsing.
:``layout-sensitive``: Layout-sensitive JSGLR2 is documented in the
`reference manual of SDF3 <reference.html#layout-sensitive-parsing>`_.
:``recovery``: JSGLR2 with recovery tries to recover from parse errors. This extension is experimental and
only available in the development version of Spoofax.
:``recovery-incremental``: Incremental JSGLR2 with recovery. This extension is experimental and only available in the
development version of Spoofax.
:``recovery``: JSGLR2 with recovery tries to recover from parse errors. This extension is experimental.
:``recovery-incremental``: Incremental JSGLR2 with recovery. This extension is experimental.

JSGLR2 logging
==============
Expand Down

0 comments on commit c042525

Please sign in to comment.