Questions Columns Rows
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
#1180on PLDB 6Years 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 · Stats · Sponsor · Traffic · Traffic Today · Day 277 · feedback@pldb.com · Logout