Skip to content

ClojureBridge/welcometoclojurebridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A proposed sample app for the ClojureBridge installfest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%