farique1 / msx-basic-tokenizer Goto Github PK
View Code? Open in Web Editor NEW⛔️ DEPRECATED <Current version at https://github.com/farique1/basic-dignified>
License: MIT License
⛔️ DEPRECATED <Current version at https://github.com/farique1/basic-dignified>
License: MIT License
Running openMSXbatoken.py
on Linux, I get the following error (I've elided some of the path with …
):
FileNotFoundError: [Errno 2] No such file or directory: '…/MSX-Basic-Tokenizer/openMSX.app/contents/macos/openmsx'
Looking at the code, I see that your command is hardcoded:
cmd = [openmsx_filepath + '/contents/macos/openmsx', '-control', 'stdio']
Doing a quick hack to just run openmsx
and let it be found from the path:
cmd = ['openmsx', '-control', 'stdio']
I find that it now successfully runs openmsx
. (On my system, where the Debian openmsx
package is installed, this is in /usr/bin/openmsx
, but if I wanted to run a more recent version of openMSX I'd probably build it myself and put the binary or a symlink in ~/.local/bin/openmsx
, or perhaps ~/.local/bin/openmsx-0.14.0
or something like that if I were using several versions.)
I suggest that the code be changed so that the user specifies in the configuration a full path to the openmsx
command (including the filename itself, not just a directory) and, if that's not given, just openmsx
be used. This should make it work by default on many platforms, and remove the need for users to create what look like Mac-specific paths on non-Mac machines that then symlink (or do who-knows-what on Windows) to their actual openMSX binary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.