Skip to content

Conversation

@imalsogreg
Copy link
Contributor

@imalsogreg imalsogreg commented Nov 4, 2025

  • Adds parse_expr for expressions, including a pratt parser for operators.
  • Adds parse_stmt for statements.
  • Could use more tests.
  • Fixes some clippy lint errors and a lossless encoding issue for newlines at the end of files.

@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 06:42 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 06:42 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 06:42 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
promptfiddle Ready Ready Preview Comment Nov 12, 2025 11:56pm

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 4, 2025

CodSpeed Performance Report

Merging #2695 will degrade performances by 16.79%

Comparing greg/parse-expr-and-statement (c1592b2) with hellovai/parser (e9111c5)

Summary

❌ 9 regressions
✅ 6 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Mode Benchmark BASE HEAD Change
WallTime bench_incremental_add_attribute 2.9 ms 3.4 ms -12.91%
WallTime bench_incremental_add_string_char 2.9 ms 3.4 ms -12.74%
WallTime bench_incremental_add_user_field 2.9 ms 3.4 ms -12.72%
WallTime bench_incremental_close_string 2.9 ms 3.4 ms -13.16%
WallTime bench_incremental_rename_type 2.9 ms 3.4 ms -13.05%
WallTime bench_scale_100_functions 2.9 ms 3.4 ms -13.57%
WallTime bench_scale_deep_nesting 2.9 ms 3.5 ms -16.79%
WallTime bench_empty_project 2.9 ms 3.3 ms -13.07%
WallTime bench_single_simple_file 2.9 ms 3.4 ms -13.43%

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 18:06 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 18:06 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 4, 2025 18:06 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

slow


salsa view

rearch

salsa line-by-line

debug flashing colors

fake files

no cheating

no cheating

diff mode

diff mode

better diffs
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

@imalsogreg imalsogreg force-pushed the greg/parse-expr-and-statement branch from bc9f912 to 9901b50 Compare November 5, 2025 22:32
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 5, 2025 22:32 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 5, 2025 22:32 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 5, 2025 22:32 — with GitHub Actions Inactive
@github-actions
Copy link

@github-actions
Copy link

@imalsogreg imalsogreg force-pushed the greg/parse-expr-and-statement branch from d1acd15 to 38688f1 Compare November 12, 2025 23:37
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:37 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:37 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:37 — with GitHub Actions Inactive
@github-actions
Copy link

@github-actions
Copy link

@imalsogreg imalsogreg force-pushed the greg/parse-expr-and-statement branch from 6fee3d6 to c1592b2 Compare November 12, 2025 23:40
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:40 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:40 — with GitHub Actions Inactive
@imalsogreg imalsogreg temporarily deployed to boundary-tools-dev November 12, 2025 23:40 — with GitHub Actions Inactive
@imalsogreg imalsogreg merged commit c8f0a41 into hellovai/parser Nov 12, 2025
5 of 7 checks passed
@imalsogreg imalsogreg deleted the greg/parse-expr-and-statement branch November 12, 2025 23:40
@github-actions
Copy link

@github-actions
Copy link

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.

3 participants