Skip to content

Commit

Permalink
Merge pull request #38 from ArendJan/patch-1
Browse files Browse the repository at this point in the history
Statix remove optional requirement, add constructor requirement
  • Loading branch information
hendrikvanantwerpen committed Nov 22, 2020
2 parents b00fc74 + 0427f81 commit a0de695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/langdev/meta/lang/statix/signature-generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For the generator to work correctly, your SDF3 must be well formed. In particula
* not declare sorts that are not used in any rules
* not use any implicitly declared sorts
* not use complex injections, such as :sdf3:`Pair = Expr Expr`
* not use optional terms, such as :sdf3:`Decl.VarDecl = ID Type?`
* constructors must start with an upper-case letter
* not use ``sdf2table: c``

The generator generates strategies and signatures for each explicit declaration
Expand Down Expand Up @@ -265,4 +265,4 @@ Clean fails with an error such as this:
- declSortLex("MySort")
You are using the old ``sdf2table: c``. Change this in ``metaborg.yaml`` into
``sdf2table: java``.
``sdf2table: java``.

0 comments on commit a0de695

Please sign in to comment.