Class BasicRuntimeFunctionRegisterer

java.lang.Object
com.scriptbasic.utility.functions.BasicRuntimeFunctionRegisterer

public class BasicRuntimeFunctionRegisterer extends Object
Utility class to register the functions implemented in Java and that are available to BASIC programs.
Author:
Peter Verhas
  • Method Details

    • registerBasicRuntimeFunctions

      public static void registerBasicRuntimeFunctions(Interpreter interpreter)
      Registers the functions that are implemented in Java into the interpreter passed as argument.

      Register all the functions that are provided on the classpath and the ServiceLoader can find via ClassSetProvider interface.

      Parameters:
      interpreter - the interpreter to register the functions into.