Spectral IDE — WavelengthScript Integrated Development Environment
The Spectral IDE is the full development environment for writing physics-native programs on NexusOS. It combines the CE→SE transpilation pipeline, the WavelengthScript compiler, the WNSP VM bytecode interpreter, and on-chain contract deployment into a single browser-based workflow.
IDE Features
- Multi-language import: paste Python, JavaScript, TypeScript, Rust, Go, Solidity, Java, C++, Swift, or Kotlin — the transpiler converts it to WavelengthScript
- Physics annotations: each statement is annotated with its Ψ channel (wavelength, OAM mode, polarisation) and authority band
- Bytecode compiler: compile WavelengthScript to WNSP VM opcodes; inspect the instruction stream before execution
- Step execution: run the bytecode instruction-by-instruction and watch Ψ channel register state update in real time
- Contract deployment: deploy compiled bytecode as an on-chain NexusOS smart contract with an auto-generated public URL at
/app/:slug
Authority Bands in the IDE
The IDE displays the authority band for every instruction: SYSTEM (ultraviolet), KERNEL, USER, GUEST (infrared). Higher bands require higher spectral energy and larger fees. Programs can be designed to operate within a specific band budget.