Concern
Use Vim to control FoxDot or pym2149 with the aid of GNU Screen.
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
qto 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
Metadata
Release files for Concern 12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Concern-12.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Concern-12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.2 kB
Release files / Concern-12.tar.gz
| Download URL | Concern-12.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f2583dab9fa65e21e4173c00b607b45955fb697e5e0b0abb325a7f3e1659afa
|
|
BLAKE2b-256 checksum How to use checksums |
d94481b0f31c68ab44e83470b08adedc4d2e1dc3bae50a0edd05b7abc5f119ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / Concern-12-py3-none-any.whl
| Download URL | Concern-12-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f842f830a475fb969ccc9c1f5bb4a996ef9d58c96deff6675b4457b5d156087
|
|
BLAKE2b-256 checksum How to use checksums |
586b8f367764aebf18b34d39ab92944ea92876519b3a159dc0835b7331f7f1da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|