The Q Programming Language
9 months ago
- #programming
- #compiler
- #minimal
- Q is a minimal, dependency-free programming language and compiler targeting x86-64 and arm64.
- Features include high performance, fast compilation (<1 ms for simple programs), tiny executables (~600 bytes for 'Hello World'), multiple platform support (Linux, Mac, Windows), and zero dependencies.
- Installation can be done by building from source or via symlink.
- Usage includes running examples, building executables for different architectures and operating systems, and enabling verbose output.
- Source code structure overview provided for contributors, detailing various packages like arm, asm, ast, cli, etc.
- FAQ covers topics like the size of 'Hello World' binaries, supported platforms, assembly code quality, security features, scripting, test suite, benchmarks, IRC channel, pronunciation, and license.