Measures Concepts
GitHub icon

storyscript

storyscript - Programming language

< >

storyscript is a programming language created in 2017.

Source code:
git clone https://github.com/storyscript/welcome
#781on PLDB 7Years Old

Storyscript is a language, editor, database, infra and community all-in-one. Create holistic apps, tools and workflows blazing fast that power your business.


Example from the web:
### Storyscript is a language, editor, database, infra and community all-in-one. Create holistic apps, tools and workflows blazing fast that power your business. ### # 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

Language features

Feature Supported Token Example
Comments ✓
# A comment
Line Comments ✓ #
# A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout