Git Product home page Git Product logo

docker-hylang's Introduction

Project

Docker image for Hy (Hylang) based on Alpine Linux.

Hy (Hylang)

A dialect of Lisp that's embedded in Python http://hylang.org/. Hy source code is available on GitHub at https://github.com/hylang/hy. It is distributed under the MIT license.

Pull the Hylang image

$ docker pull andreburgaud/hylang

Start the Hy REPL

$ docker run -it --rm andreburgaud/hylang
hy 1.0a3 using CPython(default) 3.10.0b3 on Linux
=> (print "Hy")
Hy
=> (exit)
$

Start the Python REPL

$ docker run -it --rm andreburgaud/hylang python
Python 3.10.0b3 (default, Jun 29 2021, 01:21:25) [GCC 10.3.1 20210424] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print('Python')
Python
>>> import sys
>>> print(sys.version)
3.10.0b3 (default, Jun 29 2021, 01:21:25) [GCC 10.3.1 20210424]
>>> exit()
$

Start the default shell

$ docker run -it --rm andreburgaud/hylang sh
/ # python
Python 3.10.0b3 (default, Jun 29 2021, 01:21:25) [GCC 10.3.1 20210424] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
/ # hy
hy 1.0a3 using CPython(default) 3.10.0b3 on Linux
=> (exit)
/ # exit
$

Hylang Interpretor Coloring

The file hyrc.hy that provides coloring for the Hylang REPL was created from a file shared by Allie Joe Casey in the following Gist: https://gist.github.com/allison-casey/924912d86826f9b7b2e97f8bcff5e548

License

MIT License

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.