Skip to content

Releases

ASP Studio 0.2.7

Choose a tag to compare

@yakupbulbul yakupbulbul released this 08 Nov 23:23

Graph drawing is easier to read. Edges bend only when needed: an edge that would run through another node becomes an arc that grows with its length, opposite edges bow apart, and repeated edges get their own arc. Self-loops point into free space instead of always up, so they are no longer cut off. Edge labels are larger and outlined.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.7.vsix.

ASP Studio 0.2.6

Choose a tag to compare

@yakupbulbul yakupbulbul released this 05 Nov 02:28

Documentation and website only. The commands table lists ASP: Open Settings, and the website background is calmer on small screens. No code changes since 0.2.4.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.6.vsix.

ASP Studio 0.2.5

Choose a tag to compare

@yakupbulbul yakupbulbul released this 05 Nov 01:58

Documentation only. The README, SECURITY.md and the FAQ are rewritten in plain prose. No code changes since 0.2.4.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.5.vsix.

ASP Studio 0.2.4

Choose a tag to compare

@yakupbulbul yakupbulbul released this 05 Nov 01:19

Security

  • asp.clingoPath is now read only from user or machine settings, so a workspace cannot make the extension run a program of its choosing. In untrusted workspaces, workspace-level asp.options are ignored.
  • ASP: Open viASP for Current File starts viASP directly instead of typing a command into a shell, so unusual file names cannot inject commands.
  • Earlier versions read asp.clingoPath from workspace settings, so please update. See SECURITY.md.

Command line and Python package (also on PyPI as 0.2.4)

  • -o --opt-mode=optN now works, plus --version, reading the program from standard input with -, and --out may be a directory. solve() accepts (name, text) pairs.

Website

  • New online playground: write ASP in the browser, run it with clingo (WebAssembly, nothing is uploaded) and use the same visualizer.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.4.vsix.

ASP Studio 0.2.3

Choose a tag to compare

@yakupbulbul yakupbulbul released this 05 Nov 00:35
  • New pixel-art logo for the extension icon.
  • The visualizer panel now uses black, white and shades of gray, matching the website. Text, background and borders still follow your VS Code theme. Predicates are told apart by shade instead of hue.
  • The editor highlight colors asp.activeRuleBackground and asp.activeRuleBorder are gray by default.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.3.vsix.

ASP Studio 0.2.2

Choose a tag to compare

@yakupbulbul yakupbulbul released this 04 Nov 23:53

VS Code extension and Python package for Answer Set Programming.

  • Solve with native clingo or a bundled WebAssembly build; answer sets, graph and a step-by-step fixpoint animator.
  • Rules that fire in the current animator round are highlighted in the editor.
  • ASP: Set Up Environment… installs native clingo, syntax highlighting and optionally viASP.
  • Python package asp-studio (folder python/): %%asp notebook magic and the asp-studio command.

Install: download the .vsix below, then run code --install-extension asp-studio-0.2.2.vsix, or use Extensions → … → Install from VSIX. See the README for details.