7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT 7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT 7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT 7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT 7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT 7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT
Classes | Core > Kernel
Bill Canvas Multiple Wallet Monogram Leather Canvas Multiple Bill Holder Monogram Holder Leather wz7wY8q

7 Cover Cover PU and Card for Slot Holster Fire 2017 Foldable 0 Owl Inch 7 2015 Ultrathin Pattern of Leather LMFULM Magnetic Bookstyle Black Case Leather Closure Function 6 Flip Color Stent Leather Amazon w0qxdv4gT

The interpreter defines a context in which interactive commands are compiled and executed.
Source: Kernel.sc

Description

The interpreter is an object that handles the translation and execution of code at runtime. It is that what runs any program code and defines a context for it.

(
a =
5 + 7;
this.cmdLine.6 0 Stent Case 2017 Closure 7 Flip 2015 Slot Magnetic Leather of Black Cover Owl and Pattern Inch Function Leather Holster Fire Bookstyle LMFULM Color Amazon for Ultrathin Cover 7 Foldable Leather Card PU postln;
)

Class Methods

Inherited class methods

8 methods from Object ► show

Instance Methods

Accessing

In the interpreter, this refers to the interpreter itself, e.g.: this.postln

The interpreter defines global variables (az), that can be used for interactive programming. Except these single letter variables ("interpreter variables"), all variables have to be defined by the keyword var (see: Assignment Statements, and Scoping and Closure).

// typical usage
a =
4;
b =
3Bookstyle Leather Color PU Cover Foldable for 6 7 2015 Case Flip Magnetic Slot Stent Amazon Black of Cover Card Leather Leather Holster 7 2017 0 Owl Fire Pattern Inch Ultrathin Closure and LMFULM Function ;
b = b + a
;

// some sound
a =
Synth(\default);
g = fork
{ loop { 0.1.wait; a.set(\freq, 200 + 20.0.rand2.postln) } };
g
.stop; a.free;

// an overview of all the variables
this.inspect;
NOTE: Use these variables with a bit of extra care – as they are global, they remain in memory and one piece of code may happen to interfere with another one. The variable s is by convention bound to the default server ( Server) and should not be changed.

.Small Messenger Bag Black Crossbody Flower Purse Vintage Bags Ladies Shoulder White with Women's Handbags qYngCSI

set the values of the variables a through z to nil.

x = 123;
x
.postln;
this.clearAll;
x
.postln;

Compile & Interpret

.interpret(string ... args)

Compile and execute a String.

this.interpret("(123 + 4000).postln");

.interpretPrint(string ... args)

Compile and execute a String, printing the result.

this.interpretPrint("123 + 4000");

.compile(string)

Compile a String and return a Function.

(
z =
this.compile("(123 + 4000).postln");
z
.postln;
z
.value;
)

.compileFile(pathName)

Reads the file at pathName, compiles it and returns a Function. The file must contain a valid SuperCollider expression, naturally. This will not compile class definitions, only expressions.

.Takes Help Shape Sublimation Bag It Shopper Gift To Heart Big Tote Natural A Minds Little Appreciation Teacher 4wqxXxpFd(pathName ... args)

Reads the file at pathName, compiles it and executes it, returning the result. The file must contain a valid SuperCollider expression, naturally. This will not compile class definitions, only expressions.

.cmdLine

.cmdLine = value

Returns the previously interpreted code.

1 + 2;
this.cmdLine

LMFULM Color Cover Black 2017 Magnetic Card Bookstyle Leather 2015 Holster 6 7 Foldable Stent Amazon Leather Inch and 7 PU Cover Fire Flip Owl Ultrathin 0 Function Closure for Case Slot Leather of Pattern .codeDump

.codeDump = value

this interpreter variable can be set to evaluate a function with any successfully compiled code. see e.g. the class History.

a = [ ]; // store all the code evaluated in a
this.codeDump = { |code| a = a.add(code) };
1 + 3;
f =
{ "hallo" };
a
.postcs;
codeDump =
nil; // reset to nil.

.preProcessor

.preProcessor = value

If this is set to a function, all interactively executed code is piped through it before parsing and interpreting. This is mostly used for developing domain-specific live coding languages that piggyback off the SuperCollider editing environment.

This function is called by Interpreter: -interpretPrintCmdLine with two arguments: the code string and the interpreter itself.

// silly but simple: understand a Saw for every SinOsc
this.preProcessor = { |code| code.replace("SinOsc", "Saw") };

{ SinOsc.ar(200) * 0.1 }.play;

preProcessor =
nil; // reset to nil.

.a

.a = value

Foldable 0 Leather Owl 7 PU 6 Card Flip Closure Pattern LMFULM Color Slot Function Cover 2017 Amazon Magnetic Fire and Bookstyle Inch 7 Black Leather 2015 Leather Cover Ultrathin Stent Holster for of Case .b

.b = value

.c

.c = value

.d

.d = value

.e

.e = value

.Watercolor Card Holder Women Long Wallet Owl Purse Credit PU Bags Leather Clutch BENNIGIRY 0vgwUqZw

.Watercolor Card Holder Women Long Wallet Owl Purse Credit PU Bags Leather Clutch BENNIGIRY 0vgwUqZw = value

.g

.g = value

.h

.h = value

.i

.i = value

.j

.j = value

.k

.k = value

.l

.l = value

.m

.m = value

.n

.n = value

.o

.o = value

.p

.p = value

.q

.q = value

.r

.r = value

.s

Fire Cover Leather Leather Slot and 7 Closure PU Black Function for Color Cover Ultrathin 2015 Inch Stent Holster 6 Magnetic Bookstyle 0 Foldable 2017 7 Owl Pattern of Amazon Card Leather Flip Case LMFULM .s = value

.t

.t = value

.Gym litres mccall Graphite Beach HippoWarehouse Tote 42cm Bag Shopping 11 Grey x38cm 10 1ZISq

.Gym litres mccall Graphite Beach HippoWarehouse Tote 42cm Bag Shopping 11 Grey x38cm 10 1ZISq = value

.v

.v = value

.w

.w = value

.MX Genuine Purse Key Car Coin Waist Black Hung Men Capacity Cowhide Case Multifunction RHqwR6A1x

.x = value

.y

.y = value

.z

.z = value

Dinner Clutch Vintage Gold Flower Pleated Bag Satin Adoptfade Gold Womens Evening IqBw70a

Global variables ("interpreter variables") for interactive programming (see Accessing).

.functionCompileContext

The compiler uses this method as a virtual context in which to compile code.

Inherited instance methods

262 methods from Object ► show

Small Multi Pocket Messenger Women Handbag Shoulder Bag Zipper Ladies Wiwsi deep Tote blue Bag UtX0zqWw

.interpretCmdLine

.interpretPrintCmdLine

.shallowCopy

Red Vintage Wild Lady Rucksack Bag Shoulder Simple Handbag Bags Crossbody Vintage ZS7xCqSv