Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 17, 2009
  1. Refactor and simplify.

    authored
    * Split dynamic variable get(:scope), which served for both LocalScope
      and IteratorScope into two dynamic variables get(:local_scope) and
      get(:control_scope). This simplifies the Scope classes a lot.
    
    * Introduce LoopControlScope and IteratorControlScope to distinguish
      loops from iterators.
    
    * Reduce usage of dynamic variables. Remove :encoder and :method_scope
      dynamic variables and replace them by attributes of class Compiler.
  2. Refactor model code and improve documentation

    authored
    * Rename EntityModel#of to EntityModel#entity
    * Rename EntityModel.of to EntitiyModel.for
    * Move MethodModel into method_model.rb
    * MethodModel#imethods and #cmethods return Arrays.
Commits on Dec 2, 2008
  1. Use correct value of "this" inside of iterators

    authored
    Within iterators we can't use "this", instead we
    have to introduce a temporary variable and use that
    instead.
  2. Refactor encoding

    authored
  3. Refactor variables

    authored
    Introduce Instance/GlobalVariable classes and use them in
    the code.
  4. Refactor iterators.

    authored
    The Iter AST node previously contained the MethodCall AST node.
    As this in less practical in the case of generating Javascript,
    move the Iter node into the ArgumentList of the MethodCall, similar
    to BlockPass.
Commits on Dec 1, 2008
  1. Improve error message

    authored
  2. Refactor MethodCall, ArgList and BlockPass

    authored
    * Rename ArgList to ArgumentList
    * Move ArgumentList into MethodCall class so that it becomes clear
      that it represents passed parameters to a method and not the
      declaration of a parameter list when defining a method.
    * For the same reason move BlockPass into class MethodCall.
  3. Refactor LocalScope and IteratorScope.

    authored
    There are no longer two dynamic variables :scope and :iterator_scope,
    instead there is only the dynamic :scope variable which serves as both.
    We traverse scopes towards the root to find the nearest LocalScope
    or IteratorScope.
Commits on Nov 25, 2008
  1. Fix a syntax error (result << yield elem). Parentize

    authored
    other "yields" as well.
Commits on Nov 23, 2008
  1. *

    authored
Commits on Nov 20, 2008
  1. Make module_scope "optional"

    authored
Commits on Nov 19, 2008
  1. Implement CodeGenerator

    authored
Commits on Nov 18, 2008
  1. WorldModel can now be used with a different namespace passed as

    authored
    argument to #initialize. Also don't register all entities by default.
    Do it explicitly!
  2. Fix bug introduced by SymbolLiteral

    authored
    (commit: e5a01ae)
  3. Add SymbolLiteral

    authored
  4. For some reason the UnifiedRuby sexp processor has problems with:

    authored
        attr_reader :message
        alias to_s message
    
    This is atm the simplest way to avoid the problem.
Commits on Nov 17, 2008
  1. Implement Javascript generation for Block node in case

    authored
    it appears as an expression.
    
    Dummy Javascript for Splat node.
Something went wrong with that request. Please try again.