storyscript is an actively used programming language created in 2017.

2Years Old 412Users 0Jobs
  • storyscript does not currently rank in our top 50% of languages
  • the storyscript website
  • storyscript on github
  • storyscript first appeared in 2017
  • the storyscript team is on twitter
  • I have 21 facts about storyscript. what would you like to know? email me and let me know how I can help.

Example code from the web:

###
Meet Storyscript
###
# Pull data from a microservice
output = service action key:value
output = team/service action key:value
# Discover and create services in the Storyscript Hub
# Call a function
output = function_name(key:value)
# A Storyscript function
# or another programming language
# Call type methods
output = variable.mutation(key:value)
# Event streaming microservice
when service action event key:value as output
    ... # run this block for every event
# Types
string = "Hello"
integer = 1
number = 1.3
bool = true
list = ["a", "b", "c"]
map = {"apple": "red", "banana": "yellow"}
regexp = /^foobar/
empty = null
time = 1d35m
# Destructuring
{ apple, banana } = map
# apple = "red", banana = "yellow"
# Conditions
if one > 1
    # ...
else if one == 1
    # ...
else
    # ...
# Loops
foreach list as item
    # ...
while true
    # ...
# Functions
function name input:int returns int
    # ...
    return input
name(input:1)
# >>> 1

Last updated November 6th, 2019