Releases: JistScript/Base
Releases · JistScript/Base
🚀 v1.1.6 - Comprehensive Documentation & Stable Release
🚀 JistScript v1.1.6 - Stable Release
📝 What's New in v1.1.6
This release focuses on comprehensive documentation improvements to help developers get started with JistScript quickly and effectively.
Documentation Enhancements:
- ✨ Added feature comparison table (JistScript vs TypeScript vs JavaScript)
- 📚 Comprehensive installation guides for npm and Deno
- 🔌 Build tool integration examples (Vite & Webpack)
- 💡 Enhanced code examples and usage patterns
- 🎯 Complete CLI commands reference
- ⚙️ Configuration file documentation
✨ Key Features
- Inline Type Annotations:
useState:String("hello")- no separate type files needed - Runtime Type Validation: Automatic type checking with helpful warnings
- Built-in State Management: State handling with subscribe patterns built-in
- Full Type System: String, Number, Boolean, Object, Array support
- Vite & Webpack Integration: Seamless integration with popular build tools
- CLI Compiler: Watch mode, custom output directories, and more
📦 Installation
Basic Installation
npm install jistscript★ Installation for Node.js Projects (as a Dev Dependency)
npm install --save-dev jistscript🎯 Quick Start
// Inline types - no separate files needed! //
const [count, setCount] = useState:Number(0);
const [name, setName] = useState:String("John Doe");
const [tags, setTags] = useState:Array(String, ["javascript", "typescript"]);🔗 Links
- NPM Package: https://www.npmjs.com/package/jistscript
- GitHub Repository: https://github.com/JistScript/Base
- Documentation: See README.md for a complete guide
- Issues & Feedback: https://github.com/JistScript/Base/issues
📊 Status
Version: 1.1.6 (Stable)
License: MIT
Node.js: Compatible with modern Node.js versions
🚀 v1.1.0 - Type Annotations and Parser Improvements
🎉 What's New
This release introduces comprehensive type annotation support and significant parser enhancements, improving the robustness and type safety of JistScript.
✨ Key Features
Type Annotations in Parser
- Implemented full type annotation support in parser methods
- Added proper return type definitions for all parser functions
- Enhanced AST generation with type information
Enhanced useState with Type Support
The useState hook now supports explicit type annotations:
- String type:
useState:String("initial value") - Number type:
useState:Number(0) - Array type:
useState:Array(String, ["item1", "item2"]) - Object type:
useState:Object({ key: value }) - Boolean type:
useState:Boolean(true)
Transpiler Improvements
- Runtime injection support for generated Typescript code
- Better handling of useState declarations with type information
- Improved code generation with proper type preservation
🧪 Testing
All tests passing (8/8):
- ✅ Object literal test (7ms)
- ✅ useState with String type
- ✅ useState with Number type
- ✅ useState with Array type
- ✅ useState with Object type
- ✅ useState with Boolean type
- ✅ Transpiler - basic code
- ✅ Transpiler - useState code
🔧 Technical Details
Parser Method Enhancements
proTypeAsst()now returns properly typed AST structures- Enhanced type checking for variable declarations
- Improved error handling and validation throughout the parsing pipeline
Code Quality
- Added comprehensive type annotations across the parser module
- Improved code documentation and clarity
- Better separation of concerns in type handling
🚀 Usage Example
// Using typed useState
const [count, setCount] = useState:Number(0);
const [name, setName] = useState:String("John");
const [items, setItems] = useState:Array(String, ["a", "b"]);
// All types are validated at parse timeFull Changelog: v1.0.0...v1.1.0
🚀 v1.0.0 – First Full Release of JistScript
🚀 First Full Release
Initial public release of JistScript - A TypeScript-based scripting language engineered for data-centric applications.
✨ Features
- 🎯 Core parser and interpreter
- 💻 Interactive REPL environment
- 🔌 Plugin support (Vite, Webpack, Rollup, esbuild)
- ⚡ CLI tools (
jistc,jist) - 📝 MIT Licensed
📦 Installation
npm install jistscript🚀 Quick Start
npx jistc