Code dense. Run fast.
Vect is a minimalist low-level language: whole programs in a handful of lines, direct memory and hardware primitives, zero boilerplate.
# install with Scoop (Windows)
> scoop bucket add vect https://github.com/MerixCipher/scoop-bucket
> scoop install vect/vectc
> vect hello.vt
> scoop bucket add vect https://github.com/MerixCipher/scoop-bucket
> scoop install vect/vectc
> vect hello.vt
Ultra-compact
x10 declares x = 10. (c.a+b) is c = a + b. No semicolons, no braces.
Low-level
Arrays, pointers, port I/O, VGA pixel primitives and fixed-point math built in.
Real toolchain
vectc compiles .vt to bytecode and runs it on a stack VM. --dump shows the bytecode.
Scriptable I/O
echo, echow, in() plus file primitives fopen/fread/fwrite/fclose.
hello.vt
vt.init
mvga.vth
(main)
branch
vectfn main
echo "Hello, World!"
echo "Vect (.vt) System Initialized."
main()
math + functions
vectfn add.a, b
(sum.a+b)
rtn sum
vectfn main
a10
b20
(result.add 25, 75)
echo result cmt 100
main()
Next: more examples → · full reference →