Skip to content

zells/five

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

zells (prototype five)

This is the fifth incarnation of a zells prototype, implemented with Squeak Smalltalk. Its programming model is described here.

You can find a demo of this prototype here.

Installation

Download Squeak Smalltalk and run the included image. After you've cloned the project with git, file-in the files in the file-outs folder by drag-and-dropping them into the running image.

Usage

Paste the code blocks into a workspace and execute (do-it) each line individually.

Reception

(Z5ListenerZellMorph new) openInHand.

(Z5StemZellMorph for: (Z5StemZell thatIsA: '"Hello World"')) openInHand.

Control

(Z5TurtleZellMorph new) openInHand.

(Z5StemZellMorph for: (Z5StemZell named: #go)) openInHand.
(Z5StemZellMorph for: (Z5StemZell named: #turn)) openInHand.

Transmission

(Z5DishMorph for: Z5Dish new) openInWindow openInHand.

(Z5EmitterZellMorph new) openInHand.
(Z5StemZellMorph for: (Z5StemZell named: 'understood signals̀')) openInHand.
(Z5ButtonZellMorph new) openInHand.

Reaction

(Z5StemZellMorph for: (Z5StemZell named: #hey)) openInHand.

(Z5ZellMorph for: (Z5DynamicZell doing: [ :s :z | (s name = #hey) ifTrue: [z emit: (Z5StemZell named: #ho)]])) openInHand.

Repetition

Z5ClockZellMorph new openInHand.

Arithmetic

(Z5StemZellMorph for:(Z5NumberZell named:#distance thatIsA: '3')) openInHand.

Spiral

(Z5StemZellMorph for: (Z5StemZell named: #go thatIsA: 'distance')) openInHand.

(Z5StemZellMorph for: (Z5StemZell new haveA: (Z5StemZell named: #target thatIsA: '"distance"'); haveA: (Z5StemZell named: #increaseBy thatIsA: '0.1'))) openInHand.

(Z5StemZellMorph for: (Z5StemZell named: #turn)) openInHand.

About

[inactive] Prototype #5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published