This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
A simple demonstration of a deterministic and context-free "DOL-system" | |
"...used to simulate the development of a fragment of a multicellular | |
filament such as that found in the blue-green bacteria Anabaena catenula..." | |
- "The Algorithmic Beauty of Plants" http://algorithmicbotany.org/papers/#abop | |
Implemented by simple parsers in the Omega parser language (a variant of | |
Warth's OMeta language.) https://gitorious.org/python-omega | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%.hex: %.asm | |
avra -fI $< | |
rm *.eep.hex *.obj *.cof | |
all: $(patsubst %.asm,%.hex,$(wildcard *.asm)) | |
upload: ${program}.hex | |
avrdude -c arduino -p m328p -P /dev/arduino-uno -b 115200 -U flash:w:$< | |
monitor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use extras) | |
;;;; Joy in Scheme, version 0.5.2 | |
;;; System-dependent but essential code (currently for Chicken) | |
(display "sysdep...") | |
;; SYSTEM-DEPENDENT: look up Joy symbol, return () if not known | |
(define (joy-get s) |