Gesù Language
There is only one Truth, Jesus.
Gesù (Italian for Jesus) is a programming language with two booleans. One is False. The other is Jesus. This extension is what you need to write it in VS Code.
parable divide(a: Number, b: Number) -> Number may sin
if b is 0
sin "divided by nothing"
amen
give a / b
amen
tempt
preach divide(10, 0)
forgive trespass
preach "forgiven: {trespass}"
amen
amen
What you get
- Syntax colors for
.gesu files. True is colored as an error.
- Errors as you type, straight from the language's checker:
Thou shalt not steal, unconfessed sins, buried talents.
- Completion of the language's words, the built-in parables, and the names in your file.
- A note on hover for every word of the language.
- Indentation that follows
amen.
Before you start
The colors work alone. Everything else needs the gesu program on your machine.
Mac and Linux:
curl -fsSL https://gesu-lang.com/install.sh | sh
Windows: download gesu-x86_64-pc-windows-msvc.zip from the releases and put gesu.exe on your PATH.
Later, gesu update fetches the newest version.
Settings
gesu.path: where the gesu program is. Set it only if gesu is not on your PATH and not in ~/.local/bin.
Learn the language
The whole language, with examples, is on one page: gesu-lang.com.
Source and issues: github.com/lschiavini/gesu.