Repository navigation
Move names, definitions and exports to a page of the language - #246
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #66.
Moves §5 and §5a of
SPECIFICATION.md, names and program structure and the definitions, into a page of the language,BELOCH-NAMES.md, and deletes them there. The page states the sigils and namespaces, the binding forms, the rule of one binding per name with temps as the exception, anddef,applyandexportwith their errors as the kernel reports them, each with a program the build evaluates. The grammar page gains the rules for bindings, definitions, applications and exports, which were declared external until now.The tree-sitter grammar parsed
def name(.p .q)andapply name(.a .c)with an error node, since the parser took a(after the name for the start of an item. It now has a rule for the head of a definition and for an application, so the corpus test passes on the new page.