Skip to content

run code generation for sample projects#30

Merged
ehwan merged 2 commits into
mainfrom
test_diff
Sep 12, 2025
Merged

run code generation for sample projects#30
ehwan merged 2 commits into
mainfrom
test_diff

Conversation

@ehwan

@ehwan ehwan commented Sep 12, 2025

Copy link
Copy Markdown
Owner

to briefly see the difference in the results of generated code,
script/booststrap_test will run rustylr to calculator and json sample project.

@ehwan
ehwan requested a review from Copilot September 12, 2025 15:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces code generation testing for sample projects by updating the bootstrap test script to automatically run the rustylr parser generator on calculator and json sample projects, allowing developers to see the difference in generated code results.

  • Updates bootstrap test script to generate parsers for sample projects
  • Adds generated calculator parser output file for comparison
  • Updates version numbers in the existing parser_expanded.rs file

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
scripts/diff/calculator.rs New generated parser code for calculator sample project
scripts/bootstrap_test.sh Enhanced test script to generate parsers for calculator and json projects
rusty_lr_parser/src/parser/parser_expanded.rs Version number updates in generated parser code

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread scripts/bootstrap_test.sh Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ehwan
ehwan merged commit 8426434 into main Sep 12, 2025
1 check passed
@ehwan
ehwan deleted the test_diff branch September 12, 2025 15:11
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