Closed EagleoutIce closed 2 months ago
Currently we have a block like this:
export const BuiltInMemory = new Map<Identifier, IdentifierDefinition[]>([ simpleBuiltInConstant('NULL', null), simpleBuiltInConstant('NA', null), simpleBuiltInConstant('TRUE', true), simpleBuiltInConstant('T', true), simpleBuiltInConstant('FALSE', false), simpleBuiltInConstant('F', false), // maybe map to a control flow function? simpleBuiltInConstant('break', 'break'), simpleBuiltInConstant('next', 'next'), ...builtInFunctions('~', '+', '-', '*', '/', '^', '!', '?', '**', '==', '!=', '>', '<', '>=', '<=', '%%', '%/%', '%*%', ':'), ...simpleBuiltInFunction(defaultBuiltInFunctionProcessor, { },'cat' /* returns null */), ...simpleBuiltInFunction(defaultBuiltInFunctionProcessor, { returnsNthArgument: 1 },'return', 'print', '('), ...simpleBuiltInFunction(defaultBuiltInFunctionProcessor, { returnsNthArgument: 'last' as const },'{'), ...simpleBuiltInFunction(processSourceCall, { }, 'source'), ...simpleBuiltInFunction(processAccess, { treatIndicesAsString: false },'[', '[['), ...simpleBuiltInFunction(processAccess, { treatIndicesAsString: true },'$', '@'), ...simpleBuiltInFunction(processIfThenElse, { },'if'), ...simpleBuiltInFunction(processAssignment, { },'<-', ':=', '=', 'assign', 'delayedAssign'), ...simpleBuiltInFunction(processAssignment, { superAssignment: true },'<<-'), ...simpleBuiltInFunction(processAssignment, { swapSourceAndTarget: true },'->'), ...simpleBuiltInFunction(processAssignment, { superAssignment: true , swapSourceAndTarget: true },'->>'), ...simpleBuiltInFunction(processSpecialBinOp, { lazy: true }, '&&', '||', '&', '|'), ...simpleBuiltInFunction(processPipe, { }, '|>'), ...simpleBuiltInFunction(processForLoop, { }, 'for'), ...simpleBuiltInFunction(processRepeatLoop, { }, 'repeat'), ...simpleBuiltInFunction(processWhileLoop, { }, 'while') ])
But i want a builder for this which allows a distributed configuration of the built-in environemnt!
This issue has been resolved in v2.0.0 (see Release v2.0.0 (Dataflow v2)).
Currently we have a block like this:
But i want a builder for this which allows a distributed configuration of the built-in environemnt!