bajger / pharolauncher-cli Goto Github PK
View Code? Open in Web Editor NEWExperimental project (so far) attempting to provide command line interface for Pharo Launcher, without UI.
License: MIT License
Experimental project (so far) attempting to provide command line interface for Pharo Launcher, without UI.
License: MIT License
I've often thought it was neat that VisualWorks has executable image files by virtue of the simple expedient of the first few bytes being a shell script:
00000000: 6578 6563 2076 6973 7561 6c20 2d3d 2430 exec visual -=$0
00000010: 2022 2440 220a 0a00 0000 0000 0000 0000 "$@"...........
which obviously just finds their vm visual
on the PATH
and supplies the image as the first argument, passing along any other arguments that were specified. On Windows, the filetype .im
is associated with visual.exe
but, whichever architecture it runs on, their vm just ignores the first N bytes of the image file which makes it possible to use them for a script in this manner.
What if we had a fully fledged launcher image which was like this:
|#!/bin/bash script -->|M|<-- headless launcher image -->|<----- main image ----------------------->|
and a VM that, if it was given an image starting with a shebang, always loaded the object image after the marker, |M|.
Then the bash script could do simple things like letting you know you don't have a VM on the path, and offer to download the correct one to run the headless launcher/maintenance image and once that's running we can use that to do all the good command line stuff you have listed in your proposal, including launching one or more instances of the main image and (as with the current graphical launcher) optionally quitting having done so.
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.