Risor
Fast and flexible scripting for Go developers and DevOps.
Cloud Ready
Database Queries
Friendly Syntax
Pipelines
Powerful CLI
Great Builtins
Single Binary
JSON & HTTP
Risor offers a new way to write scripts, integrate systems, and interact with the cloud. Enjoy a modern and familiar language with a huge amount of built-in functionality for interacting with databases, HTTP, and more.
You might want to check out the builtins list or examples of AWS SDK usage and querying Postgres.
Quick Example
array := ["gophers", "are", "burrowing", "rodents"]
sentence := array | strings.join(" ") | strings.to_upper
print(sentence)
Output:
GOPHERS ARE BURROWING RODENTS
Why Choose Risor?
Risor may be a great fit for your project if any of this is valuable to you:
- General purpose: Work with JSON, HTTP, database connections, and more.
- Fast: The fastest pure-Go scripting language (as of June 2023)
- Familiar: Friendly syntax for Go and Python developers.
- Expressive: Easily express lists, maps, sets and transformations on them.
- Pipe expressions: Quickly create processing pipelines.
- Single binary: The Risor binary includes built-in libraries and packages.
Editor
Try running Risor from your browser! The code is evaluated in a cloud region close to you. Note that the final value in the script is what is shown below. Stdout is not yet shown. If you want to know the value of a variable, just add the variable name as the last line of the script.
Community
Feel free to join the discussions on GitHub (opens in a new tab)!