sdr 0.7

net.cscott.sdr.calls.lists
Class A2List

java.lang.Object
  extended by net.cscott.sdr.calls.lists.A2List

public abstract class A2List
extends Object

The A2List class contains complex call and concept definitions which are on the 'A2' program. Note that "simple" calls and concepts are defined in the resource file at net/cscott/sdr/calls/lists/a2.calls; this class contains only those definitions for which an executable component is required.

Author:
C. Scott Ananian

Field Summary
static Call _COUNTER_ROTATE
          "Primitive" counter rotate.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_COUNTER_ROTATE

public static final Call _COUNTER_ROTATE
"Primitive" counter rotate.

Tests:
js> importPackage(net.cscott.sdr.calls)
js> importPackage(net.cscott.sdr.calls.ast)
js> ds = new DanceState(new DanceProgram(Program.C4), Formation.SQUARED_SET); undefined;
js> a = Apply.makeApply('_counter rotate 1/4')
(Apply '_counter rotate 1/4)
js> a.evaluator(ds).evaluateAll(ds)
js> ds.currentFormation().toStringDiagram('|')
|     2Gv  4Bv
|
|1B>            1G<
|
|3G>            3B<
|
|     2B^  4G^

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian