Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.36 KB

README.md

File metadata and controls

75 lines (50 loc) · 2.36 KB

welcometoclojurebridge

This repository has two apps.

  1. A sample app to test your install for ClojureBridge
  2. A template to try simple functions to walk a turtle

Usage 1 - test your installation

LightTable - open core.clj and press Ctrl + Shift + Enter or Cmd + Shift + Enter to evaluate the file.

Emacs - run cider, open core.clj and press C-c C-k to evaluate the file.

lein repl - run (require 'welcometoclojurebridge.core).

Usage 2 - try simple functions to walk a turtle

LightTable - open walk.clj and press Ctrl + Shift + Enter or Cmd + Shift + Enter to evaluate the file. To evaluate additional form, move a cursor to the end of line and Ctrl + Enter or Cmd + Enter.

Emacs - run cider, open walk.clj and press C-c C-k to evaluate the file. On repl, type (ns clojurebridge-turtle.walk).

lein repl - run (require 'clojurebridge-turtle.walk), (ns clojurebridge-turtle.walk).

How to move turtles

A turtle can move forward/backward and tilt its head right/left. Combinations of these will make interesting lines.

See outline/TURTLE.md for commands that turtles understand.

For sample, have look outline/TURTLE-SAMPLES.md.

Original Works

"Welcome to ClojureBridge" app is originally written by @orb for Austin, TX, USA workshop. The repository is https://github.com/orb/welcometoclojurebridge.

"Turtle" app is originally written by @echeran as Clojure port of Logo programming language. The repository is https://github.com/google/clojure-turtle.

Many thanks to @orb and @echeran.

License

Creative Commons License
ClojureBridge Curriculum by ClojureBridge is licensed under a Creative Commons Attribution 4.0 International License.