Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

Yet Another Scripting Language

< >

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

#1258on PLDB 7Years Old
Download source code:
git clone https://github.com/yasl-lang/yasl
Source Code

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 Example Token
Comments
# A comment
Line Comments
# A comment
#
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll