11Language designv1.2.1
B#
A human-centric programming language written in plain English.
use mathuse string let msg be "hello world"say call string.upper with msgsay call math.sqrt with 25 $ bsharp build hello.bsharp --disasmThe problem
First-time programmers fight syntax before they get to think about logic. B# reads like a sentence: let x be 5, say "Hello", for each n from 1 to 10.
B# compiles plain-English source to bytecode and runs it on its own virtual machine, with a CLI for running, tracing, linting, testing and disassembling programs, plus VS Code tooling.
What it does
- Compiler from .bsharp source to .bsc bytecode, cached next to the source and reused when unchanged.
- Virtual machine with step-by-step --trace and --disasm output.
- Typed variables, conditionals, loops, functions and standard libraries such as math, string and window.
- Linter for errors and bad patterns, and a built-in test runner.
- VS Code extension.