Skip to content

Tighten Lambdapi pattern#8018

Open
nickswalker wants to merge 2 commits into
github-linguist:mainfrom
nickswalker:tighten-lambdapi-pattern
Open

Tighten Lambdapi pattern#8018
nickswalker wants to merge 2 commits into
github-linguist:mainfrom
nickswalker:tighten-lambdapi-pattern

Conversation

@nickswalker

Copy link
Copy Markdown
Contributor

Would match "symbol" or "rule" anywhere in a file, which tripped for plenty of Linear Programs and Answer Set Programs. Now only matches if in a valid lambdapi statement (e.g. symbol ℕ : TYPE; or rule $x + zero ↪ $x;).

Added the sample file that is currently misclassified

Checklist:

  • I am fixing a misclassified language
    • I have included a new sample for the misclassified language:
    • I have included a change to the heuristics to distinguish my language from others using the same extension.

Would match "symbol" or "rule" anywhere in a file, which tripped
for plenty of Linear Programs and Answer Set Programs. Now only matches if in a valid lambdapi statement
Comment heavy, would've tripped previous "rule" element of the Lambdapi pattern
@nickswalker nickswalker requested a review from a team as a code owner June 13, 2026 18:37
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