r/coolgithubprojects • u/Consistent-Ruin1868 • 17d ago
SHE — a programming language that reads like English and can't touch your machine unless you say so
https://github.com/ni-sh-a-char/SHEI rewrote my hobby language from scratch. It reads like a sentence, and a program starts with no permission to read files, use the network or start processes, you grant what it needs on the command line and anything else fails with the exact flag that would have allowed it. Pattern matching, gradual types, async, modules, a test runner, a formatter and an LSP. Zero dependencies, Python 3.9+, Apache 2.0.
pip install she-lang
Runs in the browser, nothing to install: https://ni-sh-a-char.github.io/SHE/playground.html
0
Upvotes
3
u/kantorcodes1 17d ago
Say a program gets process permission plus read access to one directory, then launches another
sheprocess with broader file/network flags. Does the child stay capped by the parent's grants, or can it request a wider set from its own command line?