Measures Concepts
GitHub icon

Yet Another Scripting Language

Yet Another Scripting Language - Programming language

< >

Yet Another Scripting Language, aka Yet Another Scripting Language, is a programming language created in 2017.

Source code:
git clone https://github.com/yasl-lang/yasl
#1183on PLDB 7Years Old

Bytecode Interpreter for Yet Another Scripting Language (YASL).


Example from the web:
# simple program that iteratively calculates factorials fn range(a, b) { tmp := [] for i := a; i < b; i += 1 { tmp->push(i) } return tmp } fn fact(n) { tmp := 1 while n > 0 { tmp *= n n -= 1 } return tmp } for i <- range(0, 7) { echo "fact(#{i}): #{fact(i)}" }

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