mirror of
https://github.com/apple/pkl.git
synced 2026-01-14 15:43:41 +01:00
[PR #1066] [MERGED] Simplify precedence and associativity parsing #872
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1066
Author: @stackoverflow
Created: 5/9/2025
Status: ✅ Merged
Merged: 5/12/2025
Merged by: @stackoverflow
Base:
main← Head:better-precedence-parsing📝 Commits (3)
abb8d04Simplify precedence and associativity parsingb9deb42Reduce allocations7d818b2Special case for dot📊 Changes
7 files changed (+112 additions, -324 deletions)
View changed files
📝
pkl-parser/src/main/java/org/pkl/parser/Lexer.java(+50 -64)➖
pkl-parser/src/main/java/org/pkl/parser/OperatorResolver.java(+0 -140)📝
pkl-parser/src/main/java/org/pkl/parser/Parser.java(+25 -27)📝
pkl-parser/src/main/java/org/pkl/parser/syntax/Expr.java(+0 -61)📝
pkl-parser/src/main/java/org/pkl/parser/syntax/Operator.java(+37 -21)📝
pkl-parser/src/test/kotlin/org/pkl/parser/LexerTest.kt(+0 -5)📝
pkl-parser/src/test/kotlin/org/pkl/parser/SexpRenderer.kt(+0 -6)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.