Sign inSign up

javanhut/carrionlanguage

By javanhut

Updated 8 months ago

Docker version of The Carrion Programming Language built using golang.

Image
Languages & frameworks
0

1.3K

javanhut/carrionlanguage repository overview

The Carrion Language

Note: This is not a Docker Official Image.

GitHub | Issues

Carrion is a dynamically typed programming language written in Go. Inspired by Python but sprinkled with a fun Norse crow theme, it features:

  • Functions named spell, classes called spellbook
  • Increment operators (++i, i++, or i += 1)
  • OOP support with constructors (init), instance variables, and more
  • Built-in library (Munin) for OS/file manipulation, basic math, a working REPL, etc.

This repository provides Docker images that package the Carrion Language interpreter, making it easy to experiment with or run Carrion scripts.


Quick reference


What is Carrion?

Carrion is an easy-to-learn, in-development language that draws inspiration from Python's syntax while bringing its own flair and crow-themed nomenclature. Highlights include:

  • Indentation-based syntax (similar to Python)
  • Dynamic typing with plans for optional type annotations
  • Readable code style with a fun theme
  • Interactive REPL for quick experimentation
  • Powerful built-in functions and standard library

How to use this image

  1. Pull the image

    docker pull javanhut/carrionlanguage:latest
    

Replace latest with a specific version (e.g. 0.1.1) if desired.

2. Run the REPL

 docker run -it --rm javanhut/carrionlanguage:latest
  • -it runs the container in interactive mode.

  • --rm cleans up the container after exit.

3. Run a Carrion script

If you have a local .crl file (e.g., my_script.crl), mount your directory:

docker run -it --rm \
  -v "$PWD":/app \
  -w /app \
  javanhut/carrionlanguage:latest \
  carrion my_script.crl
  • -v "$PWD":/app mounts your current working directory into /app in the container.

  • -w /app sets the working directory to /app.

  • carrion my_script.crl runs the script within the container.


Image Variants

javanhut/carrionlanguage primarily offers:

    1. latest

Contains the newest stable release of Carrion.

Recommended if you want the latest features.

  • 2.Versioned tags: (e.g. 0.1.1, 0.1.0)

Specific snapshots of the language.

Useful for pinning your environment to a particular release.

(No Alpine or slim variants yet, though these could appear in future updates.)


License

Carrion is distributed under its own license, which can be found in the GitHub repo. This Docker image may include additional software each under separate licensing.

As with any Docker image, it is the user’s responsibility to ensure that use of this image complies with all relevant licenses for the included software.


Further Reading

  • Carrion Language GitHub

  • Carrion Issues

  • Docker Docs: Using Docker Hub

  • Examples & Main README


Recent tags

  • latest

  • 0.1.1

  • 0.1.0

(See the Tags page for all available versions.)


All rights reserved. This is a community-maintained image, not an official Docker product.

Tag summary

Content type

Image

Digest

sha256:2923cbf82

Size

467.2 MB

Last updated

8 months ago

docker pull javanhut/carrionlanguage