npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nextbasic

v1.11.2

Published

NextBASIC

Downloads

5

Readme

NextBASIC VSCode Syntax

ZX Spectrum NextBASIC syntax highlighting for Visual Studio Code.

vscode-nextbasic demo

Video: how to setup your NextBASIC dev workflow

This video installation walk through is shown on a Mac but is the same process for Windows and Linux: Watch on YouTube

Features

  • Supports 2.08+ NextBASIC syntax
  • Import and export binary NextBASIC files
  • Full NextBASIC syntax, including new ; comment support
  • Jump to definition for GO TO and PROC statements
  • Symbol lookup (for DEFPROC and DEF FN)
  • Renumbering for whole doc, selected lines or line swap
  • Simple syntax validator
  • Indentation support
  • ctrl/cmd+enter will insert a new line with line number pre-populated
  • Format on edit and format full document
  • Collapse DEFPROC
  • Help on hover
  • Export to .bas as +3DOS format or .tap
  • Support directives: #autostart n, #autoline n,m, #program str and custom #define key=value (and replaces #key instances in BASIC)
  • Support for #bank and #bankfile to auto split your code in both "run with cspect" and "export"

Cspect support

Prerequisites:

Important Windows users ensure you use the hdfmonkey build from uto.speccy.org (link above) - it's built without cygwin as a dependency.

Update nextbasic configuration in VS Code, which requires the location of cspect.exe (yes, even on a Mac) and the Next img file.

Video explanation coming soon.

Note that using NextBASIC: run with cspect will overwrite your autoexec.bas file on the cspect image.

Hat tips

Credit to Rob Uttley for solving the autoexec and #autostart.

Credit to @kounch for their superb original work on vscode_zx (cspect, ZEsarUX and zxbasic - BASIC to asm support)

Original syntax based specifically on the work by jsanjose - and modified to specifically support NextBASIC.