wodka.ga.geno.lang.assembler
Class AssemblerInterpreter

java.lang.Object
  extended bywodka.ga.geno.lang.AbstractInterpreter
      extended bywodka.ga.geno.lang.assembler.AssemblerInterpreter
All Implemented Interfaces:
Interpreter

public class AssemblerInterpreter
extends AbstractInterpreter

An interpreter for programs that builds a sodahub model.


Constructor Summary
AssemblerInterpreter()
           
 
Method Summary
 Model eval(Program pgm)
          Converts a Program to a Model.
 Model evalNoRewise(Program pgm)
          Builds a Model from a Program without rewising invalid nodes and springs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblerInterpreter

public AssemblerInterpreter()
Method Detail

eval

public Model eval(Program pgm)
Converts a Program to a Model.


evalNoRewise

public Model evalNoRewise(Program pgm)
Description copied from interface: Interpreter
Builds a Model from a Program without rewising invalid nodes and springs.