SAI is a whitespace-sensitive, object-oriented programming language that transpiles in-place to JavaScript for the Node.js environment. Current version 0.2.8 (released sporadically, last update 2021). It emphasizes code readability, maintainability, and asynchronous constructs (Promises, finite state machines). Unlike CoffeeScript, SAI is an independent language with rigid parsing, collection manipulators, and compile-time sanity checks. It can be used in dynamic mode (runtime compilation via `sai-language` package) or build-time mode (`sai-build` + `sai-library` runtime). Suitable for Node.js only; not yet browser-ready.
npm install sai-languageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a minimal SAI object with a main task that prints 'Hello world!', then runs it with the CLI.
Use only spaces (2 or 4) and ensure consistent indentation per file.
Edit only .sai source files; run sai-build to regenerate .js files.
Use sai-build to pre-compile, then require the generated .js files directly.
Use line comments `//` exclusively.
npm install sai-language --save-dev (or global install with -g).
Ensure first line matches: object ObjectName main MAJOR.MINOR.PATCH (e.g., object HelloWorld main 1.0.0).
const sai = require('sai-language');sai-build does not take --output; it transpiles in-place. Use --help for available options.