Skip to content

Pseudo code and bugfix multiline strings#116

Merged
xiwenc merged 7 commits intomainfrom
pseudo-code
Mar 10, 2026
Merged

Pseudo code and bugfix multiline strings#116
xiwenc merged 7 commits intomainfrom
pseudo-code

Conversation

@xiwenc
Copy link
Member

@xiwenc xiwenc commented Mar 10, 2026

fixes #110 and introduces experimental pseudo code generation of microflow

@github-actions
Copy link

Merging this branch changes the coverage (1 decrease, 2 increase)

Impacted Packages Coverage Δ 🤖
github.com/mxlint/mxlint-cli 0.00% (ø)
github.com/mxlint/mxlint-cli/lint 72.02% (-0.75%) 👎
github.com/mxlint/mxlint-cli/mpr 77.13% (+0.17%) 👍
github.com/mxlint/mxlint-cli/serve 21.90% (+0.21%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/mxlint/mxlint-cli/lint/config.go 86.47% (-0.16%) 170 (-2) 147 (-2) 23 👎
github.com/mxlint/mxlint-cli/lint/lint_javascript.go 84.62% (-2.23%) 156 (+4) 132 24 (+4) 👎
github.com/mxlint/mxlint-cli/main.go 0.00% (ø) 142 0 142
github.com/mxlint/mxlint-cli/mpr/microflow.go 80.27% (-3.94%) 147 (+33) 118 (+22) 29 (+11) 👎
github.com/mxlint/mxlint-cli/mpr/microflow_pseudocode.go 75.98% (+75.98%) 458 (+458) 348 (+348) 110 (+110) 🌟
github.com/mxlint/mxlint-cli/mpr/mpr.go 80.29% (-0.34%) 416 (+65) 334 (+51) 82 (+14) 👎
github.com/mxlint/mxlint-cli/serve/serve.go 9.77% (+0.11%) 174 (-2) 17 157 (-2) 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/mxlint/mxlint-cli/lint/config_test.go
  • github.com/mxlint/mxlint-cli/lint/lint_test.go
  • github.com/mxlint/mxlint-cli/mpr/microflow_pseudocode_test.go
  • github.com/mxlint/mxlint-cli/mpr/microflow_test.go
  • github.com/mxlint/mxlint-cli/mpr/mpr_test.go
  • github.com/mxlint/mxlint-cli/mpr/mpr_v1_test.go
  • github.com/mxlint/mxlint-cli/mpr/mpr_v2_test.go

@xiwenc xiwenc merged commit a7bdd55 into main Mar 10, 2026
18 checks passed
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.

Getting YAML parsing errors on Windows

1 participant