Skip to main content

A beginner-friendly programming language focused on AI.

Project description

Ai Snake Programming Language

Ai Snake is a beginner-friendly programming language for creating AI models easily.

Installation

To install Ai Snake, simply run:

pip install AiSnake

Usage

After installation, you can run Ai Snake scripts or start an interactive REPL:

Create and train an AI model:

ai_model m1 linear_regression
ai_train m1 [1, 2, 3, 4, 5] [2, 4, 6, 8, 10]
ai_predict m1 [6]

Start REPL (Interactive Mode):

python -m ai_snake.interpreter

Save and Load Models:

ai_save m1 "model1.joblib"
ai_load m2 "model1.joblib"

Features

  • Simple print statement support
  • Easy project structure to extend further

Project Structure

AiSnakeLanguage/
├── ai_snake/
├── examples/
└── tests/

Run Example

python -m ai_snake.interpreter examples/hello_world.aisnake

Output

Hello, Ai Snake!

License

Ai Snake is open-source, released under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AiSnake-0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AiSnake-0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file AiSnake-0.1.tar.gz.

File metadata

  • Download URL: AiSnake-0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for AiSnake-0.1.tar.gz
Algorithm Hash digest
SHA256 60b3c91ef993e100866ab417aff98199748935d92fd681233f06ea106afa6a75
MD5 c12256620f32335cb007c8cca14afb1c
BLAKE2b-256 e4993869d96822fcfc253c59845dcacbbed9c25ff246f75a4dc0c6dad817d0e9

See more details on using hashes here.

File details

Details for the file AiSnake-0.1-py3-none-any.whl.

File metadata

  • Download URL: AiSnake-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for AiSnake-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aef180cc16058812dcd0535306e5f6b9ad58ff1638902a23a80e0d65eba24de5
MD5 4c9194e28e4633aea8168f4f81fdaf4a
BLAKE2b-256 7903b2272ee39078ae29c402ac4b4f6413ce01f1d8080fc1e0667c5539af6191

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page