Prism is a domain-specific language designed for medical and healthcare applications with built-in LLM integration capabilities. It features confidence tracking, context management, and robust error handling.
The language is currently in late beta, with core features implemented and stabilizing for v1.0 release. See ROADMAP.md for detailed timeline and DEVELOPMENT.md for current progress.
prism/
├── compiler/ # Core compiler implementation
│ ├── src/ # Source code
│ ├── examples/ # Example programs
│ └── tests/ # Test suite
├── docs/ # Documentation
├── tools/ # Development tools
└── std/ # Standard library
├── core/ # Core functionality
├── utils/ # Utility functions
├── llm/ # LLM integration
└── medical/ # Medical types and tools
- Core language features (90%)
- Variables, functions, and closures
- Async/await support
- Error handling with confidence tracking
- Module system
- Context management
- Basic LLM integration
-
LLM Integration (60%)
- Basic provider interfaces
- Completion API
- Embeddings (WIP)
- Fine-tuning (Planned)
-
Medical Module (20%)
- Basic health record types
- Simple diagnosis tools
- FHIR integration (Planned)
- REPL (80%)
- LSP Support (40%)
- Testing Framework (85%)
- Error Reporting (90%)
- Installation
git clone https://github.com/oneirocom/prism.git
cd prism
cargo build --release- Running the REPL
cargo run --bin prism-repl- Running Tests
cargo testCheck the compiler/examples/ directory for sample programs demonstrating various language features:
- Basic syntax and control flow
- Async operations
- LLM integration
- Medical data processing
- Error handling with confidence
See CONTRIBUTING.md for guidelines on how to contribute to Prism.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to all contributors and the medical informatics community for their valuable input and support.