🌟 Littlestar Language Support
Official VS Code extension for Littlestar — a beautiful, beginner-friendly scripting language for education, math, and creative coding.
✨ Features
- 🎨 Full Syntax Highlighting for
.lstar files
- ▶️ One-Click Run button in the status bar
- 💻 Interactive Terminal Runner with input/choose support
- 🌐 Webview Engine with beautiful modals and HTML previews
- 🧮 100+ Built-in Functions — math, arrays, strings, geometry, sets, and more
- 📚 Zero Configuration — works out of the box
🚀 Getting Started
Install this extension
Create a new file with .lstar extension
Write your code:
module littlestar:
spark main(1):
display("Hello, World! 🌟")
spark print:
main(1)
Click ▶️ Run Littlestar at the bottom right, or press Ctrl+Shift+P → Run Littlestar File
Choose between Terminal or Webview runner
📖 Language Features
- Variables:
declare, make, set, fix
- Data:
letarr, letset, letobj
- Control Flow:
when / elif / otherwise, while, as ... till, repeat this(N)
- Functions:
func, lion, private, export
- I/O:
input, readNum, choose, chooseMany, confirm, alert
- Math:
solve, quadratic, mathset, area, volume, factorial, fibonacci
- Web: Full
web: HTML block support
👨💻 Author
Godspower Kenneth U. — Creator of Littlestar
📄 License
MIT
| |