Recent Releases of https://github.com/chappertron/lammps-analyser

https://github.com/chappertron/lammps-analyser - 0.1.0-pre-release-3

Install lammps-analyser 0.1.0-pre-release-3

Install prebuilt binaries via shell script

sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release-3/lammps-analyser-installer.sh | sh

Install prebuilt binaries via powershell script

sh powershell -ExecutionPolicy ByPass -c "irm https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release-3/lammps-analyser-installer.ps1 | iex"

Download lammps-analyser 0.1.0-pre-release-3

| File | Platform | Checksum | |--------|----------|----------| | lammps-analyser-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum | | lammps-analyser-x86_64-apple-darwin.tar.xz | Intel macOS | checksum | | lammps-analyser-x86_64-pc-windows-msvc.zip | x64 Windows | checksum | | lammps-analyser-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |

- Rust
Published by github-actions[bot] over 1 year ago

https://github.com/chappertron/lammps-analyser - 0.1.0-pre-release-2

Install lammps-analyser 0.1.0-pre-release-2

Install prebuilt binaries via shell script

sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release-2/lammps-analyser-installer.sh | sh

Install prebuilt binaries via powershell script

sh powershell -ExecutionPolicy ByPass -c "irm https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release-2/lammps-analyser-installer.ps1 | iex"

Download lammps-analyser 0.1.0-pre-release-2

| File | Platform | Checksum | |--------|----------|----------| | lammps-analyser-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum | | lammps-analyser-x86_64-apple-darwin.tar.xz | Intel macOS | checksum | | lammps-analyser-x86_64-pc-windows-msvc.zip | x64 Windows | checksum | | lammps-analyser-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |

- Rust
Published by github-actions[bot] over 1 year ago

https://github.com/chappertron/lammps-analyser - 0.1.0-pre-release

Initial Release 0.1.0

Features

  • A cli lammps-analyser that checks input scripts
  • A language server lmp-lsp that performs these checks within the text editor.
  • Supported checks:
    • Warnings about unused variables
    • Errors if variables/fixes/computes are used but not defined.
    • Commands have valid names
    • That fix/compute/pair styles are valid.
    • The number of arguments for fix and compute commands.
    • Fully checks arguments for the npt/nph/npt fixes.
    • Warns if computes fixes or variables have been defined multiple times before a run command.
  • The LSP provides:
    • Go-to definition and references for variables, computes and fixes.
    • Hover documentation for commands, fixes and computes.
    • Checks your script as you type and reports errors and warnings
  • Based of LAMMPS 27June2024 Feature Release

Internal Features

  • Scripts to convert LAMMPS documentation files to Markdown and extract fix,pair and compute styles
  • A parser that converts a tree-sitter tree of the script into an abstract syntax tree.

Install lammps-analyser 0.1.0-pre-release

Install prebuilt binaries via shell script

sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release/lammps-analyser-installer.sh | sh

Install prebuilt binaries via powershell script

sh powershell -ExecutionPolicy ByPass -c "irm https://github.com/chappertron/lammps-analyser/releases/download/0.1.0-pre-release/lammps-analyser-installer.ps1 | iex"

Download lammps-analyser 0.1.0-pre-release

| File | Platform | Checksum | |--------|----------|----------| | lammps-analyser-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum | | lammps-analyser-x86_64-apple-darwin.tar.xz | Intel macOS | checksum | | lammps-analyser-x86_64-pc-windows-msvc.zip | x64 Windows | checksum | | lammps-analyser-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |

What's Changed

  • Use simplified treesitter grammar and simplify error handling by @chappertron in https://github.com/chappertron/lammps-analyser/pull/12
  • feat: refactor so nodes are always valid utf-8 by @chappertron in https://github.com/chappertron/lammps-analyser/pull/16
  • Refactor modules and internals by @chappertron in https://github.com/chappertron/lammps-analyser/pull/17

New Contributors

  • @chappertron made their first contribution in https://github.com/chappertron/lammps-analyser/pull/12

Full Changelog: https://github.com/chappertron/lammps-analyser/commits/0.1.0-pre-release

- Rust
Published by github-actions[bot] almost 2 years ago