Skip to content

pahandav/basic-wrangler

Repository files navigation

BASIC Wrangler

A BASIC program listing line renumberer/cruncher (aka, a minifier).

This program is currently in beta testing. It will probably break your program. The documentation is minimal. Things will change frequently.

What if you could turn this:

Example 1

Into this:

Example 2

And then turn that into this:

Example 3

With BASIC Wrangler, you can!

Purpose

The purpose of BASIC Wrangler is to allow you to write BASIC programs using labels in a dialect-agnostic way. It also combines and crunches lines to take up the least amount of space on output, thus saving you memory. It is designed to be able to work with almost any dialect of line numbered BASIC.

Installation

To install with pip, type:

pip install basic-wrangler

There is also a standalone version available for Windows under the Release tab.

If you are not running Windows 10, you may need to download the x86 version of the Visual C++ Redistributable for Visual Studio 2015. The standalone version does not work on Windows XP.

Basic Usage

To load the GUI, type bw (a harmless console window might open up behind the main window -- ignore it). Type bw -h for CLI help. For more, check out the Manual in the docs directory.

Some of the Planned Features

  • Built-in conversion from numbered listings routine
  • A GUI
  • Output to clipboard when pasting
  • Preprocessor macros like includes and ifs
  • Renaming variables
  • Support for external tokenizers by accounting for how many bytes each token uses
  • Support for output to files that can be transferred directly into disk images

Changelog

See CHANGELOG.md

Getting Support

If you have any issues, you can either report them at the Issues tab or you can report them at the AtariAge Release thread. There might also be useful information at my blog.

Attribution

Program icon based on an icon made by Retinaicons from www.flaticon.com.

About

A BASIC program listing line renumberer/cruncher (aka, a minifier).

Resources

License

Stars

Watchers

Forks

Packages

No packages published