Last updated
Last updated
pimp embeds a scripting language (conveniently named PimpScript). This language is actually just the Go template languages without delimiters ({{
and }}
), significant whitespaces nor tabs; but with added support for newlines and ;
as end of expressions. You can use pimp --transpile
to see how a piece of PimpScript would be evaluated:
This produces the following output:
You can execute:
Which produces the following output:
pimp comes with an REPL with history, autocompletion, etc. It's a good way to experiment short scripts: