Omniscript
October 28, 2025 ยท View on GitHub
A modern, production-ready programming language for full-stack development with advanced type safety, async/await, pattern matching, and built-in ORM capabilities.
โจ Features
Language Features
- ๐ Advanced Type System - Strong typing with inference, generics, and union/intersection types
- โก Async/Await - First-class asynchronous programming support
- ๐ฏ Pattern Matching - Powerful pattern matching and destructuring
- ๐จ Decorators - Component, state, effect, and computed decorators
- โ๏ธ Operator Overloading - Custom operator implementations
- ๐ Reactive Programming - Built-in reactive features for modern UIs
Developer Experience
- ๐ฆ Complete CLI Toolchain -
new,build,dev,run,replcommands - ๐ง VS Code Extension - Full IDE support with syntax highlighting and debugging
- ๐๏ธ Project Scaffolding - Professional project structure generation
- ๐ฅ Hot Reloading - Modern development workflow
- ๐ Comprehensive Documentation - Extensive guides and API references
Runtime & Performance
- โก JIT Compilation - Optimized execution with just-in-time compilation
- ๐ SIMD Operations - Hardware-accelerated mathematical computations
- ๐พ Memory Management - Efficient pooling and garbage collection
- ๐ Parallel Execution - Multi-threading and concurrent processing
Standard Library
- ๐๏ธ Database ORM - Type-safe database queries (PostgreSQL, SQLite)
- ๐ Networking & HTTP - Built-in HTTP client and server utilities
- ๐ Cryptography - Security and encryption functions
- ๐ฌ Media Processing - Audio, video, and graphics capabilities
- ๐งฌ AI & ML Utilities - Neural networks and genetic algorithms
- ๐ Collections - Rich data structures and algorithms
- โ Validation - Input validation and sanitization
๐ Quick Start
Installation
npm install -g omniscript
Create a New Project
omni new my-project
cd my-project
Run Your Project
# Development mode with hot reload
omni dev
# Build for production
omni build
# Run production build
omni run
Interactive REPL
omni repl
๐ Example
// Type-safe web server with ORM
@component
class UserService {
@state users: User[] = []
async getUser(id: number): User | null {
return await db.users.findOne({ id })
}
@computed
get activeUsers(): User[] {
return this.users.filter(u => u.active)
}
}
// Pattern matching
match response {
{ status: 200, data } => handleSuccess(data),
{ status: 404 } => handleNotFound(),
{ error } => handleError(error)
}
// Async/await with error handling
async function fetchData() {
try {
const result = await api.getData()
return result
} catch (error) {
logger.error("Failed to fetch data", error)
throw error
}
}
๐๏ธ Project Structure
omniscript/
โโโ src/ # Source code (40k+ lines)
โ โโโ compiler/ # Compiler and optimizer
โ โโโ parser/ # Language parser
โ โโโ runtime/ # Runtime engine
โ โโโ stdlib/ # Standard library
โ โโโ type-checker/ # Type system
โโโ tests/ # Test suite (782 tests)
โโโ docs/ # Documentation
โโโ examples/ # Example projects
โโโ demos/ # Demo applications
โโโ vscode-extension/ # VS Code integration
๐งช Testing
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Watch mode
npm run test:watch
Test Coverage: 782/782 tests passing (100%)
๐ ๏ธ Development
# Install dependencies
npm install
# Build the project
npm run build
# Run linter
npm run lint
# Format code
npm run format
๐ Documentation
- Language Guide - Complete language reference
- API Documentation - Standard library APIs
- Best Practices - Coding guidelines
- Migration Guide - Upgrading from v1.x
๐ Security
We take security seriously. See our Security Policy for reporting vulnerabilities.
๐ค Contributing
Contributions are welcome! Please see our Contributing Guide for details.
๐ Requirements
- Node.js: >= 16.0.0
- npm: >= 8.0.0
๐ License
MIT License - see LICENSE file for details
๐ฏ Roadmap
See ROADMAP.md for planned features and improvements.
๐ Changelog
See CHANGELOG.md for release history.
๐ Show Your Support
Give a โญ๏ธ if this project helped you!
๐ค Author
RyAnPr1Me
- GitHub: @RyAnPr1Me
- Project: Omniscript
๐ Acknowledgments
Built with TypeScript, ANTLR4, and modern web technologies.
Status: โ Production Ready | v2.1.0