LUXBIN to EVM Compiler

Write smart contracts in LUXBIN Light Language and compile them to Solidity for the Ethereum Virtual Machine. The world's first photonic programming language for blockchain.

LUXBIN Source

22 lines

Solidity Output

Click "Compile to Solidity" to see the output...

LUXBIN Types

photon_intint256
photon_stringstring
photon_boolbool
photon_floatint256 *
qubitVRF *

* = approximate mapping

LUXBIN Keywords

letconstfuncreturnifthenelseendwhiledoforinbreakcontinueandornottruefalsenil

Operator Mapping

+ - * / %+ - * / %
^** (power)
and or not&& || !
== != < >== != < >
photon_print()emit Log()
measure(q)VRF random