Native Valuesregistry-listed

Native Operator

Apply a native operator without an implicit numeric conversion.

Registry listing does not certify support for every language or host environment. Check the selected target’s diagnostics and generated output.

Overview

Kind id
expr_native_operator
Semantics
expr.native
Source
CORE_NODE_REGISTRY

When to use

Choose the language and operator, then connect operands in order. Unknown evidence preserves native dispatch; Number requires numeric operand evidence.

Graph to code example

JavaScript == retains abstract equality. Python + retains overload dispatch, and is remains separate from ==.

Watch for

Calls used as operands need distinct visible execution ownership in operand order. Short-circuit forms require their own future mapping.

Ports

IdDirTypeLabel
operand-0indata_anyOperand 1
operand-1indata_anyOperand 2
resultoutdata_anyValue

Options

IdTypeDefaultNotes
nativeLanguageenumjavascript- · enum: javascript, python, go, csharp, cpp, rust, gdscript
nativeFormenumbinary- · enum: binary, unary, conversion, parentheses, overflow
operandCountnumber2-
operatorenum+- · enum: +, -, *, /, //, %, **, ==, !=, ===, !==, <, <=, >, >=, &, |, ^, <<, >>, >>>, in, not in, is, is not, instanceof, &^, !, &&, ||, ~
nativeDomainenumunknownNumber requires numeric input evidence; unknown retains native dynamic dispatch. · enum: unknown, number, go-integer, go-float, go-number, csharp-integer, csharp-bool, native-integer, native-bool
nativeTargetTypeenumExplicit native numeric conversion; preserves runtime conversion and checks constant representability. · enum: int, uint, uintptr, int8, int16, int32, int64, uint8, uint16, uint32, uint64, byte, rune, float32, float64, sbyte, short, ushort, long, ulong, char, bool, unsigned int, signed char, unsigned char, unsigned short, unsigned long, long long, unsigned long long, i8, u8, i16, u16, i32, u32, i64, u64, i128, u128, isize, usize
payloadenumcheckedVisible expression overflow context; nested contexts keep their own ownership. · enum: checked, unchecked