Skip to content

Infinite-Networker/Cherry-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Cherry-101 Logo

πŸ’ Cherry-101

The First Program Ever Written in CherryScript


Created by Cherry Computer Ltd. CherryScript Version License

Status ML Pipeline H2O AutoML Python



"Cherry-101 was built by us at Cherry Computer Ltd. to prove that a domain-specific language could handle a full ML pipeline β€” cleanly, beautifully, and without compromise. This isn't just a demo; it's the beginning of something much bigger."

β€” Cherry Computer Ltd.



🌟 What Is Cherry-101?

Cherry-101 is the very first program ever written in CherryScript β€” a pioneering domain-specific language designed from the ground up at Cherry Computer Ltd. to simplify and supercharge AI & machine learning development.

In one clean, streamlined language, Cherry-101 demonstrates a complete ML pipeline β€” from raw data queries all the way through to model training, deployment, and live predictions. No boilerplate. No patchwork of frameworks. Just CherryScript.

This project proves that domain-specific languages aren't just a novelty β€” they are the future of AI development tooling.


✨ Highlights at a Glance

Feature Description
πŸ’ First-Ever CherryScript Program Cherry-101 holds the historic distinction of being the very first program written in the CherryScript language
πŸ€– End-to-End ML Pipeline Data β†’ Training β†’ Deployment β†’ Predictions β€” all in one coherent script
⚑ H2O AutoML Integration Leverages H2O's powerful AutoML for model selection and training
πŸ—„οΈ Database-First Design Native SQL querying baked directly into the language syntax
πŸš€ One-Command Deployment Deploy trained models to live REST API endpoints with a single deploy() call
πŸ“Š Built-in Evaluation Accuracy, precision, recall, F1, and confusion matrices out of the box
🏒 Enterprise Roots Conceived, designed, and built by Cherry Computer Ltd.

πŸ’ About Cherry Computer Ltd.

╔══════════════════════════════════════════════════════════════╗
β•‘                                                              β•‘
β•‘              πŸ’  Cherry Computer Ltd.  πŸ’                   β•‘
β•‘                                                              β•‘
β•‘    We build tools that make AI development feel natural.     β•‘
β•‘    Cherry-101 is our first public statement of intent β€”      β•‘
β•‘    proof that the right language can change everything.      β•‘
β•‘                                                              β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Cherry-101 was created by Cherry Computer Ltd. We are the team behind the CherryScript language, and Cherry-101 is our flagship demonstration that CherryScript is production-capable, expressive, and genuinely useful for real-world AI workflows.

We built this because we believe that ML engineers and data scientists deserve a language designed for them β€” one that speaks their vocabulary natively. CherryScript and Cherry-101 are our answer to that belief.


πŸš€ The CherryScript ML Pipeline

 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                    CHERRY-101 PIPELINE FLOW                         β”‚
 β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
 β”‚                                                                     β”‚
 β”‚   πŸ—„οΈ  DATABASE          πŸ”„  DATA PREP        πŸ€–  MODEL TRAIN        β”‚
 β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚
 β”‚  β”‚ MySQL / SQL  │─────▢│  H2O Frames  │─────▢│  H2O AutoML  β”‚      β”‚
 β”‚  β”‚ Queries via  β”‚      β”‚  Feature Eng β”‚      β”‚  Best Model  β”‚      β”‚
 β”‚  β”‚ CherryScript β”‚      β”‚  Validation  β”‚      β”‚  Selection   β”‚      β”‚
 β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
 β”‚                                                      β”‚              β”‚
 β”‚   πŸ“Š  EVALUATE          πŸ“ˆ  PREDICT          πŸš€  DEPLOY             β”‚
 β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”      β”‚
 β”‚  β”‚ Accuracy     │◀─────│ Batch Preds  │◀─────│  FastAPI     β”‚      β”‚
 β”‚  β”‚ Precision    β”‚      β”‚ Live Scoring β”‚      β”‚  REST API    β”‚      β”‚
 β”‚  β”‚ Recall / F1  β”‚      β”‚ Test Dataset β”‚      β”‚  Endpoint    β”‚      β”‚
 β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
 β”‚                                                                     β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“„ Quick-Start Example

Here's what a full ML pipeline looks like in CherryScript β€” the language Cherry-101 was written in:

// πŸ’ Cherry-101 β€” Your First CherryScript ML Pipeline

// 1️⃣  Connect to your database
var db = connect("mysql://localhost:3306/ecommerce_db", "admin", "password")

// 2️⃣  Pull your training & test data
var training_data = db.query("SELECT * FROM orders_train WHERE status = 'completed'")
var test_data     = db.query("SELECT * FROM orders_test")

// 3️⃣  Prepare H2O data frames
var training_frame = h2o.frame(training_data)
var test_frame     = h2o.frame(test_data)

// 4️⃣  Train with AutoML β€” CherryScript picks the best model for you
var ml_model = h2o.automl(training_frame, "is_return")

// 5️⃣  Deploy to a live REST endpoint β€” one line, zero fuss
var api = deploy(ml_model, "http://localhost:8080/predict")

// 6️⃣  Predict & evaluate
var predictions = predict(ml_model, test_frame)
var metrics     = evaluate(predictions, "is_return", "results.json")

print("βœ… Pipeline complete! Accuracy: ${metrics.accuracy * 100}%")

That's it. Database β†’ AutoML β†’ Deployment β†’ Evaluation. In one script. In one language.


πŸ—‚οΈ Repository Structure

πŸ’ Cherry-101/
β”‚
β”œβ”€β”€ πŸ“„ README.md                     ← You are here!
β”œβ”€β”€ πŸ“„ LICENSE                       ← Boost Software License 1.0
β”œβ”€β”€ πŸ“„ requirements.txt              ← Python dependencies
β”‚
β”œβ”€β”€ πŸ“ src/                          ← Core CherryScript runtime
β”‚   β”œβ”€β”€ Cherry-101-__init__.py       ← Package init & version
β”‚   β”œβ”€β”€ Cherry-101-interpreter.py   ← CherryScript interpreter engine
β”‚   β”œβ”€β”€ Cherry-101-parser.py        ← Language parser & AST builder
β”‚   β”œβ”€β”€ Cherry-101-adapters.py      ← DB & ML framework adapters
β”‚   β”œβ”€β”€ Cherry-101-cli.py           ← Command-line interface
β”‚   └── smoke_eval.json             ← Smoke test evaluation output
β”‚
β”œβ”€β”€ πŸ“ examples/                     ← CherryScript example programs
β”‚   └── test.cherry-101             ← Full pipeline demo script
β”‚
β”œβ”€β”€ πŸ“ docs/                         ← Project documentation
β”‚   └── ROADMAP.md                  ← Development timeline & milestones
β”‚
└── πŸ“ tests/                        ← Test suite
    └── __init__.py

πŸ› οΈ Installation & Setup

Prerequisites

  • Python 3.8+
  • A running MySQL instance (for database adapter)
  • H2O cluster (for AutoML features)

1. Clone the Repository

git clone https://github.com/Infinite-Networker/Cherry-101.git
cd Cherry-101

2. Install Dependencies

pip install -r requirements.txt

3. Run the Example Pipeline

python src/Cherry-101-cli.py examples/test.cherry-101

πŸ—ΊοΈ Roadmap

Phase Quarter Theme Status
🌱 v0.1.0 Q1 2024 Proof of Concept β€” Mock Implementations βœ… Complete
πŸ”Œ v0.5.0 Q2 2024 Real Integrations β€” MySQL, H2O, FastAPI πŸ”„ In Progress
🏭 v1.0.0 Q3 2024 Production Ready ⏳ Upcoming
πŸ€– v1.5.0 Q4 2024 Advanced ML β€” PyTorch, TensorFlow ⏳ Upcoming
🌐 v2.0.0 Q1 2025 Community Ecosystem β€” VS Code Extension ⏳ Upcoming
🏒 v2.5.0 Q2 2025 Enterprise Edition ⏳ Upcoming

πŸ“Œ See the full ROADMAP.md for detailed milestones and progress tracking.


🀝 Contributing

We'd love your involvement in making CherryScript and Cherry-101 even better! Here's how to get started:

  1. Fork this repository
  2. Create a feature branch: git checkout -b feature/your-idea
  3. Commit your changes: git commit -m "feat: add your feature"
  4. Push to your branch: git push origin feature/your-idea
  5. Open a Pull Request β€” we review promptly!

Please read our Contributing Guidelines and Code of Conduct before getting started.


πŸ“œ License

Cherry-101 is released under the Boost Software License 1.0.

Copyright (c) 2025 Cherry Computer Ltd.

See LICENSE for the full license text.


πŸ”— Related Projects

Project Description Link
πŸ’ CherryScript The language that powers Cherry-101 β†’ Visit
πŸ’ Cherry-101 The first CherryScript program β€” you're here! β†’ This Repo


πŸ’ Cherry-101 is a product of Cherry Computer Ltd.

Created by Cherry Computer Ltd. Built with CherryScript Copyright 2025


Made with ❀️ and a whole lot of πŸ’ by the team at Cherry Computer Ltd.

About

Cherry 101 β€” The first program ever written in CherryScript! This pioneering project demonstrates a complete ML pipelineβ€”from data queries to model deploymentβ€”in one streamlined language, proving how domain-specific languages simplify AI development. πŸ”— CherryScript: https://github.com/Infinite-Networker/CherryScript

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages