Skip to main content

Control pym2149 (via Lurlene) or FoxDot using Vim

Project description

Concern

Use Vim to control FoxDot or pym2149 with the aid of GNU Screen.

Build Status

Install latest release

# Tested on Linux and Mac:
pip3 install --user Concern

You will also need one of the following backends.

FoxDot backend

# Simply install, and Concern will use it:
pip3 install --user FoxDot

pym2149 backend

# Install as usual:
pip3 install --user pym2149

# Tell Concern to use it instead of foxdot:
echo Concern consumerName = pym2149 | tee -a ~/.settings.arid

Usage

FoxDot

# Any arguments are passed to vim, here we discover the FoxDot demo directory:
Concern "$(python3 -c 'from pkg_resources import resource_filename; print(resource_filename("FoxDot", "demo"))' | tail -1)"
  • FoxDot is running in the right hand third of the screen
  • Send code to FoxDot by typing backslash followed by ]
    • This will send the smallest top-level suite under the cursor
    • The backslash is actually your Vim leader key
  • Use visual mode to send multiple top-level suites at once
  • Use backslash enter instead of backslash ] to send from cursor to the end of the file
  • Use backslash q to quit all of Vim, FoxDot and GNU Screen

pym2149

# GitHub trick to download some files to play with:
svn export https://github.com/combatopera/pym2149/trunk/contrib

# Load a non-trivial tune written in pym2149's (currently nameless) live coding language:
Concern 'contrib/Lemmings 2 Tune 6.py'
  • Once pym2149 has initialised, type backslash enter at the top of the file to send the whole program

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Concern-22.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

Concern-22-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file Concern-22.tar.gz.

File metadata

  • Download URL: Concern-22.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for Concern-22.tar.gz
Algorithm Hash digest
SHA256 344afe6edac8a4df149296534e4f098e9f07c7d6558fb2f1043a1de2b3b12b2b
MD5 ff9f8e4742b2c9946f5df16f47aa72e2
BLAKE2b-256 d227c4873da854ceadf1168f2768857c533ce358cfe346eb4b01d8692fe09474

See more details on using hashes here.

File details

Details for the file Concern-22-py3-none-any.whl.

File metadata

  • Download URL: Concern-22-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for Concern-22-py3-none-any.whl
Algorithm Hash digest
SHA256 79fc0d3263d0dd05f160e211aaf0244032b5f90e0fe7316f1cfcde1ea30e3cd4
MD5 f9ca326fdcef2e3879815f23800c880f
BLAKE2b-256 45b83c75fcd13528ee654b8b88910049777b1c28e01e807e6bcde94f00fbb4e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page