Skip to content

0.1.0-pre-release

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Sep 23:25

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

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

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

New Contributors

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