Press Ctrl+Shift+R or use Command Palette: "Run SelerianScript File"
Output appears in the "SelerianScript" output channel
Compiling to Native Executable
Open a .sel file
Press Ctrl+Shift+B or use Command Palette: "Compile SelerianScript to Native"
Optimized executable is created in the same directory
Compilation uses: -O3 -march=native -flto -ffast-math for maximum performance
Requirements
Python 3.7+
GCC compiler (for native compilation)
SelerianScript interpreter and compiler in workspace root
Language Features
Python and C++ syntax compatibility
out, print, and cout all work for output
Native Python/C++ code blocks with py { } and cpp { }
Classes, functions, loops, conditionals
Type inference with optional typing
Example
out "Hello from SelerianScript!"
let x = 42
print(x) // Python-style also works
func add(a, b) {
return a + b
}
out add(10, 20)
py {
import numpy as np
data = np.array([1, 2, 3])
}
Known Issues
C++ compilation requires GCC to be in PATH
LLVM compilation is optional but recommended for best performance
Release Notes
1.0.0
Initial release
Syntax highlighting
Run and compile commands
Keyboard shortcuts
Contributing
Visit the SelerianScript repository to contribute!