Giter Site home page Giter Site logo

Comments (6)

nbriggs avatar nbriggs commented on August 21, 2024

It's about the same. You can look at, for example the LIFE package. You just loop, drawing what you want to draw, it's polite to put a (BLOCK) in the loop, or not much else will run, and you continue until, say, (KEYDOWNP 'X) or, another example, until (SHIFTDOWNP 'SHIFT)

from medley.

nbriggs avatar nbriggs commented on August 21, 2024

(OPENWP window) will tell you if the window has not been closed. You can put a SHRINKFN and EXPANDFN property on the window (with WINDOWPROP) in order to get control, to, say, suspend/resume (vs. quit) when the user shrinks or expands the window you're running in. If you want to just run from an exec you don't need to worry about adding a process to handle it -- it will run until either it quits on its own (e.g., because you set it up to notice the window closed, or some key was touched) or it gets interrupted by control-E (or forced into a break to debug it, or ...). If you want, you can have the function that starts everything get a window from the user (CREATEW) and then (ADD.PROCESS '(form to be executed)) and just return.

from medley.

RyanBurnside avatar RyanBurnside commented on August 21, 2024

Thank you for your response, it will give me a starting point.

from medley.

masinter avatar masinter commented on August 21, 2024

@RyanBurnside I wonder if the Medley Primer https://interlisp.org/documentation/Medley-Primer.pdf was close as a better starting point?

from medley.

RyanBurnside avatar RyanBurnside commented on August 21, 2024

@nbriggs
I've had some downtime to tackle this and learn a bit more.
I'm not quite sure how to gain more information on this PILOTBBT (record?).
I'm not sure if it needs to be imported or what. Happy to help out though and maybe write a small tutorial when finished.
Screenshot_2023-12-19_19-39-05

from medley.

masinter avatar masinter commented on August 21, 2024

We've reorganized the web site and cataloged some of the available documentation; have you looked in

https://interlisp.org/software/using-medley/

A lot of things need updating to 2024. In your screenshot try (FILESLOAD LIFE) (it's an Interilsp NLAMBDA function(from CL point of view, a macro). The (create PILOTBBT) is an indication (a) you're running Life interpreted, which is a lot slower than running compiled, and (b) you need to
(FILESLOAD (SOUCE) SYSEDIT) which will load in low-level system declarations.

from medley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.