Sign inSign up

basemax/salam

By basemax

•Updated 4 days ago

Official Docker image for Salam Language, the first Persian/Arabic-based programming language.

Image
Languages & frameworks
Developer tools
0

6.9K

basemax/salam repository overview

⁠Salam Language Docker Image

The official Docker image for Salam, the first Persian/Arabic-based programming language. Simplify coding for Persian and Arabic-speaking communities with localized syntax, easy scripting, and robust tools.

⁠Features

  • Intuitive and beginner-friendly.
  • Support for Persian and English (Arabic in progress).
  • Execute, lint, and update scripts seamlessly.

⁠Quick Start

Run Salam in an isolated environment with ease:

docker run --rm -it basemax/salam

⁠🐳 Using Salam with Docker

Run Salam in an isolated and consistent Docker environment.

⁠Step 1: Pull the Image

Download the Salam Docker image:

docker pull basemax/salam:latest
⁠Step 2: Run the Image

Start an interactive session:

docker run --rm -it basemax/salam
⁠Build Locally (Optional)
  1. Clone the Salam repository:

    git clone https://github.com/SalamLang/Salam
    cd Salam
    
  2. Build the Docker image:

    docker build -f docker/Dockerfile -t salam .
    
  3. Verify the image:

    docker images salam
    
⁠Running Scripts
⁠Mount a Local Script
docker run --rm -it -v $(pwd):/scripts salam ./salam /scripts/your_script.salam
⁠Inline Code Execution
docker run --rm -it salam ./salam code "صفحه: محتوا = «سلام دنیا از سلام» تمام"
⁠Explore Salam Commands
  • Check Version:

    docker run --rm -it salam ./salam version
    
  • Update Salam:

    docker run --rm -it salam ./salam update
    
  • Lint Scripts:
    Lint a File:

    docker run --rm -it -v $(pwd):/scripts salam ./salam lint /scripts/your_script.salam /output
    

    Lint Inline Code:

    docker run --rm -it salam ./salam lint code "some salam code"
    

For more details, visit Salam Language or the GitHub Repository.

https://github.com/SalamLang/Salam⁠

Tag summary

Content type

Image

Digest

sha256:bceb50c0e…

Size

109.7 MB

Last updated

4 days ago

docker pull basemax/salam