Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: runtime lazy eval scope infra #1114

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Peefy
Copy link
Contributor

@Peefy Peefy commented Mar 7, 2024

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

re #247

part of #1104

feat: runtime lazy eval scope infra

2. What is the scope of this PR (e.g. component or file name):

  • kclvm/compiler/src/codegen/llvm/context.rs
  • kclvm/compiler/src/codegen/llvm/emit.rs
  • kclvm/compiler/src/codegen/llvm/module.rs
  • kclvm/runtime/src/eval/**

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

All grammar tests

Signed-off-by: peefy <xpf6677@163.com>
@Peefy Peefy added runtime Issues or PRs related to kcl runtime including value and value opertions codegen labels Mar 7, 2024
@Peefy Peefy added this to the v0.9.0 Release milestone Mar 7, 2024
@Peefy Peefy requested review from zong-zhe and He1pa March 7, 2024 08:50
@coveralls
Copy link
Collaborator

coveralls commented Mar 7, 2024

Pull Request Test Coverage Report for Build 8185329931

Details

  • 79 of 212 (37.26%) changed or added relevant lines in 9 files are covered.
  • 10 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.1%) to 71.748%

Changes Missing Coverage Covered Lines Changed/Added Lines %
kclvm/runtime/src/_kclvm_addr.rs 0 5 0.0%
kclvm/runtime/src/context/mod.rs 0 10 0.0%
kclvm/runtime/src/context/api.rs 0 57 0.0%
kclvm/runtime/src/eval/mod.rs 0 61 0.0%
Files with Coverage Reduction New Missed Lines %
kclvm/runtime/src/context/mod.rs 1 9.57%
kclvm/compiler/src/codegen/llvm/context.rs 2 75.59%
kclvm/compiler/src/codegen/llvm/node.rs 7 89.34%
Totals Coverage Status
Change from base Build 8170068544: -0.1%
Covered Lines: 44570
Relevant Lines: 62120

💛 - Coveralls

@Peefy Peefy merged commit 8cb11e2 into kcl-lang:main Mar 7, 2024
8 checks passed
@Peefy Peefy deleted the lazy-eval-scope-infra branch March 7, 2024 11:03
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
codegen runtime Issues or PRs related to kcl runtime including value and value opertions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants