-
-
Notifications
You must be signed in to change notification settings - Fork 10
Provides a deeper coverage of Basics #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
I meant to make this a DRAFT PR, but I don't seem to have the ability to get to that UI now :-/ . Should not be merged without additional work (e.g. see |
While one might release a complete system as a sysout, that's not the way that most people would share reusable smaller pieces of code (e.g., look at the things in "lispusers"). You expect your running Medley image to be long-lived - you can logout and restart from where you left off - continue your development, debug your functions, and so on - but at some point you're highly likely to want to save your sources in an organized way, throw away system state that is no longer useful, and start over from a clean system image (e.g., back to a full.sysout). You save your sources using the file package, where you create (a list of) file commands that direct the file package what things to save on the (source) file, initial values of variables, and so on. There are, of course, tools (functions) that help you do this. See section 17 of the IRM. This is how the source files for Interlisp are managed, and the library packages, and the lispusers packages. You don't ever edit the (not quite plain) text file using a text editor - you edit the structure of your code in the running system and then have the file package save anything that changed, you might compile that file, you might also have the system run the compiled code rather than the interpreted code in your running image - and so on around the exploratory development loop as you've described. |
i sent @sgharms an invite to the Interlisp organization and the website group. |
@sgharms Thanks for sharing your perspective on approaching Medley. |
@nbriggs Fabulous. I don't know how I missed the IRM in earlier clonings of repos, but I'm definitely integrating it into my thought process now. Thanks for the anthropological context you provided. |
@abhikhasnain1 Let me know if I can be helpful to other initiatives you have underway. |
Re: "Use a metaphor of branches, and then a "merge" to the base SYSOUT a la git-based workflow" |
Duly noted. I’ve done some light work with the file package and think I see what you mean.
… Message ID: ***@***.***>
|
I was unable to "Get Started" quite as quickly as I might have hoped once I had Medley running. I'd like to cover a mental model for thinking about what Medley is and cover the core use cases one is likely to encounter in basic introductory Lisp use (developer ergonomics like copy and paste; handling interrupts). I'm basing these basic skills on Tourtzky's Gentle Introduction... and Anderson et al's Essential Lisp).
I do not have all the answers.
It might be the case that my style is incompatible with the voice of this page.
Nevertheless, I believe this will accelerate any progress on initiatives to flesh this page out.
Addenda: