Overview of Jac language features
mainJac is a programming language designed for humans and AI to build together. It uses a Python-like syntax and compiles to Python bytecode, JavaScript, and native machine code. Key features include:
- Full-Stack Single Codebase: Frontend, backend, and data models are managed under one type checker.
- Reduced Boilerplate: The compiler automatically generates API endpoints, route tables, ORM models, validation, serializers, and migrations.
- Integrated AI: AI interactions are treated as typed function calls where the compiler builds prompts from function signatures and enforces return types.
- Built-in Persistence: Objects persist automatically without requiring manual database setup, ORMs, or migrations.
- Cloud Deployment: Use
jac start --scaleto build images and provision clusters (e.g., Kubernetes) without writing Dockerfiles or YAML.