Top 1K Features Creators Events Podcasts Books 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.

#1248on 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

- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v144.0.0