OtterScript Overview
  • 11 Aug 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

OtterScript Overview

  • Dark
    Light
  • PDF

Article Summary

otterscript.png

OtterScript is a Domain-Specific Language that was designed in tandem with the execution engine to represent configuration plans and orchestration plans in Otter, and deployment plans in BuildMaster. Because a DSL is inherently limited in functionality, a key feature of OtterScript is the ability to "drop down" to a lower-level scripting language as needed.

While OtterScript is neither a general-purpose programming language (like Ruby), nor a general-purpose mark-up language (like YAML), it was inspired by both, and allows you to build declarative and imperative plans.

Language Design Goals

In addition to implementing the actual requirements for an advanced execution engine capable of running on thousands of servers, we considered these factors when developing OtterScript:

  • easy to learn for those with little to no programming experience
  • familiar and intuitive for those with intermediate programming experience
  • extensible and powerful for those with programming and technical expertise

By using the Visual Mode in the plan editor, many users won't even realize that they're creating plans with OtterScript.

otter-text.gif


Was this article helpful?