nc-gcode-interpreter 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/.github/workflows/build-and-release.yml +40 -41
  2. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/Cargo.lock +1 -1
  3. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/Cargo.toml +1 -1
  4. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/PKG-INFO +1 -1
  5. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/pyproject.toml +1 -1
  6. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/.gitignore +0 -0
  7. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/CONTRIBUTING.md +0 -0
  8. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/Development.md +0 -0
  9. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/Example.MPF +0 -0
  10. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/LICENSE +0 -0
  11. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/README.md +0 -0
  12. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/TODO.md +0 -0
  13. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/arrays.csv +0 -0
  14. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/arrays.mpf +0 -0
  15. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/basic_math.csv +0 -0
  16. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/basic_math.mpf +0 -0
  17. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/custom_vars.csv +0 -0
  18. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/custom_vars.mpf +0 -0
  19. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/defaults.csv +0 -0
  20. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/defaults.mpf +0 -0
  21. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/for_loop.csv +0 -0
  22. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/for_loop.mpf +0 -0
  23. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/if_statement.csv +0 -0
  24. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/if_statement.mpf +0 -0
  25. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/increment.csv +0 -0
  26. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/increment.mpf +0 -0
  27. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/loop.csv +0 -0
  28. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/loop.mpf +0 -0
  29. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/multiple_m_codes.csv +0 -0
  30. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/multiple_m_codes.mpf +0 -0
  31. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/simple.csv +0 -0
  32. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/simple.mpf +0 -0
  33. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/trans.csv +0 -0
  34. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/trans.mpf +0 -0
  35. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/variables.csv +0 -0
  36. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/examples/variables.mpf +0 -0
  37. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/ggroups/generate_modal_ggroups.py +0 -0
  38. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/ggroups/generate_pest.py +0 -0
  39. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/ggroups/ggroups.json +0 -0
  40. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/ggroups/ggroups.pest +0 -0
  41. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/ggroups/modal_groups.rs +0 -0
  42. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/python/example/minimal.py +0 -0
  43. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/python/nc_gcode_interpreter/__init__.py +0 -0
  44. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/python/tests/test_expected_output.py +0 -0
  45. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/rustfmt.toml +0 -0
  46. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/errors.rs +0 -0
  47. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/grammar.pest +0 -0
  48. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/interpret_rules.rs +0 -0
  49. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/interpreter.rs +0 -0
  50. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/lib.rs +0 -0
  51. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/main.rs +0 -0
  52. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/modal_groups.rs +0 -0
  53. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/state.rs +0 -0
  54. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/src/types.rs +0 -0
  55. {nc_gcode_interpreter-0.1.2 → nc_gcode_interpreter-0.1.3}/uv.lock +0 -0
@@ -143,45 +143,45 @@ jobs:
143
143
  name: wheels-macos-${{ matrix.platform.target }}
144
144
  path: dist
145
145
 
146
- emscripten:
147
- runs-on: ${{ matrix.platform.runner }}
148
- strategy:
149
- matrix:
150
- platform:
151
- - runner: ubuntu-latest
152
- target: wasm32-unknown-emscripten
153
- steps:
154
- - uses: actions/checkout@v4
155
- - uses: actions/setup-python@v5
156
- with:
157
- python-version: 3.12
158
- - run: pip install pyodide-build
159
- - name: Get Emscripten and Python version info
160
- shell: bash
161
- run: |
162
- echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
163
- echo PYTHON_VERSION=$(pyodide config get python_version | cut -d '.' -f 1-2) >> $GITHUB_ENV
164
- pip uninstall -y pyodide-build
165
- - uses: mymindstorm/setup-emsdk@v12
166
- with:
167
- version: ${{ env.EMSCRIPTEN_VERSION }}
168
- actions-cache-folder: emsdk-cache
169
- - uses: actions/setup-python@v5
170
- with:
171
- python-version: ${{ env.PYTHON_VERSION }}
172
- - run: pip install pyodide-build
173
- - name: Build wheels
174
- uses: PyO3/maturin-action@v1
175
- with:
176
- target: ${{ matrix.platform.target }}
177
- args: --release --out dist -i ${{ env.PYTHON_VERSION }} -b bin
178
- sccache: 'true'
179
- rust-toolchain: nightly
180
- - name: Upload wheels
181
- uses: actions/upload-artifact@v4
182
- with:
183
- name: wheels-wasm
184
- path: dist
146
+ # emscripten:
147
+ # runs-on: ${{ matrix.platform.runner }}
148
+ # strategy:
149
+ # matrix:
150
+ # platform:
151
+ # - runner: ubuntu-latest
152
+ # target: wasm32-unknown-emscripten
153
+ # steps:
154
+ # - uses: actions/checkout@v4
155
+ # - uses: actions/setup-python@v5
156
+ # with:
157
+ # python-version: 3.12
158
+ # - run: pip install pyodide-build
159
+ # - name: Get Emscripten and Python version info
160
+ # shell: bash
161
+ # run: |
162
+ # echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
163
+ # echo PYTHON_VERSION=$(pyodide config get python_version | cut -d '.' -f 1-2) >> $GITHUB_ENV
164
+ # pip uninstall -y pyodide-build
165
+ # - uses: mymindstorm/setup-emsdk@v12
166
+ # with:
167
+ # version: ${{ env.EMSCRIPTEN_VERSION }}
168
+ # actions-cache-folder: emsdk-cache
169
+ # - uses: actions/setup-python@v5
170
+ # with:
171
+ # python-version: ${{ env.PYTHON_VERSION }}
172
+ # - run: pip install pyodide-build
173
+ # - name: Build wheels
174
+ # uses: PyO3/maturin-action@v1
175
+ # with:
176
+ # target: ${{ matrix.platform.target }}
177
+ # args: --release --out dist -i ${{ env.PYTHON_VERSION }} -b bin
178
+ # sccache: 'true'
179
+ # rust-toolchain: nightly
180
+ # - name: Upload wheels
181
+ # uses: actions/upload-artifact@v4
182
+ # with:
183
+ # name: wheels-wasm
184
+ # path: dist
185
185
 
186
186
  sdist:
187
187
  runs-on: ubuntu-latest
@@ -204,7 +204,7 @@ jobs:
204
204
  environment: release
205
205
  if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
206
206
  # needs: [linux, musllinux, windows, macos, emscripten, sdist]
207
- needs: [linux, windows, macos, emscripten, sdist]
207
+ needs: [linux, windows, macos, sdist]
208
208
  permissions:
209
209
  # Use to sign the release artifacts
210
210
  id-token: write
@@ -252,7 +252,6 @@ jobs:
252
252
  uses: softprops/action-gh-release@v2
253
253
  with:
254
254
  files: |
255
- wheels-wasm/*.whl
256
255
  wheels-sdist/*.tar.gz
257
256
  wheels-windows-*/*.whl
258
257
  wheels-windows-*/*.data/scripts/${{ env.PROJECT_NAME }}_*_windows_*.exe
@@ -724,7 +724,7 @@ dependencies = [
724
724
 
725
725
  [[package]]
726
726
  name = "nc-gcode-interpreter"
727
- version = "0.1.2"
727
+ version = "0.1.3"
728
728
  dependencies = [
729
729
  "clap",
730
730
  "csv",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "nc-gcode-interpreter"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nc-gcode-interpreter
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "nc-gcode-interpreter"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "A interpreter for NC (Numerical Control) code"
9
9
  authors = [{ name = "Your Name", email = "your.email@example.com" }]
10
10
  requires-python = ">=3.12"