package org.ojlang.runtime;

import lombok.Getter;
import lombok.experimental.Accessors;
import org.eclipse.collections.impl.list.mutable.FastList;
import org.ojlang.models.contracts.SystemWord;

import java.io.Serializable;

/**
 * Registry of Oj system words.
 *
 * @author Bahman Movaqar [Bahman AT BahmanM.com]
 */
public class SystemWordsRegistry implements Serializable {

  final static private long serialVersionUID = 4672296437456620599L;

  @Accessors(fluent=true) @Getter
  final private static FastList<SystemWord> words = FastList.newListWith();

  static public int size() {
    return words.size();
  }

}

@@ -187,16 +187,107 @@
 temWord;
+%0Aimport org.ojlang.models.syswords.Executor;%0Aimport org.ojlang.models.syswords.Interpreter;
 %0A%0Aimport
@@ -640,16 +640,61 @@
 istWith(
+%0A    new Interpreter(),%0A    new Executor()%0A  
 );%0A%0A  st

remove default impl of name()