LichenScript
A quick and small language compiled to JavaScript/C. Easy to integrate with the Web ecosystem.
The origin of the name
A lichen is a composite organism that arises from algae or cyanobacteria living among filaments of multiple fungi species in a mutualistic relationship.
LichenScript is a thin layer of the existing ecosystem.
Features
- Modern syntaxes, close to TypeScript/JavaScript
- Static typing
- Pattern matching
Target C:
- AOT compilation
- Fast cold start
- Lightweight runtime
- Portable(WebAssembly/Mobile)
- Reference counting
- Use the library of C/C++/Rust through C-ABI
Target JavaScript:
- Readable
- Small overhead
- Isolate environment
Documents
Syntaxes
Check Examples.