A tiny Sanskrit-style joke language that compiles to JavaScript.
Made for fun. Built for learning. Not for production. Built for NASA (just kidding).
Output:
npm install -g @tarunjawla/sutrasutra run hello.sktSutra is a tiny Sanskrit-style joke language that compiles to JavaScript.
आरम्भ and समाप्त are optional program boundaries. If both exist, only code inside them is compiled. If neither exists, the whole file is compiled. Anything outside will be ignored.
This will be ignored
Variables can be declared using मान.
Numbers and strings are like other languages. शून्य denotes null values. सत्य and असत्य are the boolean values.
Use मुद्रय to print anything to console.
Sutra supports if-else construct. यदि block executes if condition is true, otherwise अन्यथा block executes.
Statements inside यावत् blocks are executed as long as a specified condition evaluates to true. Use विराम to break the loop and अग्रिम to continue within loop.
Created by Tarun Jawla