Skip to content

Use depends on package syntax - #13

Draft
isomorphisms wants to merge 2 commits into
Idriçfrom
depends-on-syntax
Draft

Use depends on package syntax#13
isomorphisms wants to merge 2 commits into
Idriçfrom
depends-on-syntax

Conversation

@isomorphisms

Copy link
Copy Markdown
Owner

Change the API package manifest from depends = network to depends on network and teach the package parser to accept on in the separator position.

The manifest itself is the integration probe: a compiler that cannot parse the new form cannot build/install idris2api.ipkg.

One grammar caveat remains before this should merge: the minimal parser change is currently in the shared equals rule, so it also accepts on for other package fields. If we want on to be legal only after depends, the final form should split out a dedicated dependency separator in Idris.Package rather than broaden the shared separator.

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.

1 participant