Skip to content

Add a package declaration to the grammar. #9

Merged
peterhuene merged 1 commit intomainfrom
package-directive
Nov 7, 2023
Merged

Add a package declaration to the grammar. #9
peterhuene merged 1 commit intomainfrom
package-directive

Conversation

@peterhuene
Copy link
Copy Markdown
Member

This PR adds a package directive to the grammar to match what is present
in WIT.

As a result, the --package command line argument to the parse command was
removed.

Additionally, lexing of semver is relaxed so that invalid semantic versions can
be detected when building the AST.

This commit adds a `package` directive to the grammar to match what is present
in WIT.

As a result, the `--package` command line argument to the `parse` command was
removed.

Additionally, lexing of semver is relaxed so that invalid semantic versions can
be detected when building the AST.
@peterhuene peterhuene merged commit d949eeb into main Nov 7, 2023
@peterhuene peterhuene deleted the package-directive branch November 7, 2023 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants